|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3StemSetDAO
public class Hib3StemSetDAO
Data Access Object for stem set
Field Summary |
---|
Fields inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO |
---|
hibernateInitted |
Constructor Summary | |
---|---|
Hib3StemSetDAO()
|
Method Summary | |
---|---|
void |
delete(StemSet stemSet)
delete a stemSet |
void |
deleteByIfHasStemId(java.lang.String id)
delete all stem sets with the given if has stem id |
java.util.Set<StemSet> |
findAllChildren(java.util.Collection<StemSet> stemSets,
QueryOptions queryOptions)
|
StemSet |
findById(java.lang.String id,
boolean exceptionIfNotFound)
|
java.util.Set<StemSet> |
findByIfHasStemId(java.lang.String id)
find by if has stem id |
java.util.Set<StemSet> |
findByIfHasStemIds(java.util.Collection ids)
find by if has stem ids |
java.util.Set<StemSet> |
findByIfHasStemOfStemChildrenAndMinDepth(java.lang.String stemId,
int minDepth,
QueryOptions queryOptions)
|
StemSet |
findByIfThenImmediate(java.lang.String stemIdIf,
java.lang.String stemIdThen,
boolean exceptionIfNotFound)
find by if and then (not same) with depth of 1 (immediate) |
java.util.Set<StemSet> |
findByThenHasStemId(java.lang.String id)
find by then has stem id |
java.util.Set<java.lang.Object[]> |
findMissingSelfStemSets()
|
java.util.Set<StemSet> |
findNonSelfByIfHasStemId(java.lang.String id)
find by if has stem id (exclude self stem) |
void |
saveBatch(java.util.Collection<StemSet> stemSets)
insert in batch |
void |
saveOrUpdate(StemSet stemSet)
insert or update a stemSet |
Methods inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO |
---|
evict, evictEntity, evictQueries, getConfiguration, getSessionFactory, initHibernateIfNotInitted, resourceNameFromClassName, session |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Hib3StemSetDAO()
Method Detail |
---|
public StemSet findById(java.lang.String id, boolean exceptionIfNotFound) throws StemSetNotFoundException
findById
in interface StemSetDAO
StemSetNotFoundException
StemSetDAO.findById(java.lang.String, boolean)
public void saveOrUpdate(StemSet stemSet)
StemSetDAO
saveOrUpdate
in interface StemSetDAO
StemSetDAO.saveOrUpdate(edu.internet2.middleware.grouper.stem.StemSet)
public void saveBatch(java.util.Collection<StemSet> stemSets)
StemSetDAO
saveBatch
in interface StemSetDAO
StemSetDAO.saveBatch(java.util.Collection)
public java.util.Set<StemSet> findByIfHasStemId(java.lang.String id)
StemSetDAO
findByIfHasStemId
in interface StemSetDAO
StemSetDAO.findByIfHasStemId(java.lang.String)
public java.util.Set<StemSet> findByIfHasStemIds(java.util.Collection ids)
StemSetDAO
findByIfHasStemIds
in interface StemSetDAO
StemSetDAO.findByIfHasStemIds(java.util.Collection)
public java.util.Set<StemSet> findByThenHasStemId(java.lang.String id)
StemSetDAO
findByThenHasStemId
in interface StemSetDAO
StemSetDAO.findByThenHasStemId(java.lang.String)
public java.util.Set<StemSet> findNonSelfByIfHasStemId(java.lang.String id)
StemSetDAO
findNonSelfByIfHasStemId
in interface StemSetDAO
StemSetDAO.findNonSelfByIfHasStemId(java.lang.String)
public void delete(StemSet stemSet)
StemSetDAO
delete
in interface StemSetDAO
StemSetDAO.delete(edu.internet2.middleware.grouper.stem.StemSet)
public StemSet findByIfThenImmediate(java.lang.String stemIdIf, java.lang.String stemIdThen, boolean exceptionIfNotFound) throws StemSetNotFoundException
StemSetDAO
findByIfThenImmediate
in interface StemSetDAO
StemSetNotFoundException
StemSetDAO.findByIfThenImmediate(java.lang.String, java.lang.String, boolean)
public java.util.Set<StemSet> findAllChildren(java.util.Collection<StemSet> stemSets, QueryOptions queryOptions)
findAllChildren
in interface StemSetDAO
StemSetDAO.findAllChildren(java.util.Collection, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public java.util.Set<StemSet> findByIfHasStemOfStemChildrenAndMinDepth(java.lang.String stemId, int minDepth, QueryOptions queryOptions)
findByIfHasStemOfStemChildrenAndMinDepth
in interface StemSetDAO
StemSetDAO.findByIfHasStemOfStemChildrenAndMinDepth(java.lang.String, int, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public void deleteByIfHasStemId(java.lang.String id)
StemSetDAO
deleteByIfHasStemId
in interface StemSetDAO
StemSetDAO.deleteByIfHasStemId(java.lang.String)
public java.util.Set<java.lang.Object[]> findMissingSelfStemSets()
findMissingSelfStemSets
in interface StemSetDAO
StemSetDAO.findMissingSelfStemSets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |