|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.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(String id)
delete all stem sets with the given if has stem id |
Set<StemSet> |
findAllChildren(Collection<StemSet> stemSets,
QueryOptions queryOptions)
|
StemSet |
findById(String id,
boolean exceptionIfNotFound)
|
Set<StemSet> |
findByIfHasStemId(String id)
find by if has stem id |
Set<StemSet> |
findByIfHasStemIds(Collection ids)
find by if has stem ids |
Set<StemSet> |
findByIfHasStemOfStemChildrenAndMinDepth(String stemId,
int minDepth,
QueryOptions queryOptions)
|
StemSet |
findByIfThenImmediate(String stemIdIf,
String stemIdThen,
boolean exceptionIfNotFound)
find by if and then (not same) with depth of 1 (immediate) |
Set<StemSet> |
findByThenHasStemId(String id)
find by then has stem id |
Set<Object[]> |
findMissingSelfStemSets()
|
Set<StemSet> |
findNonSelfByIfHasStemId(String id)
find by if has stem id (exclude self stem) |
void |
saveBatch(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(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(Collection<StemSet> stemSets)
StemSetDAO
saveBatch
in interface StemSetDAO
StemSetDAO.saveBatch(java.util.Collection)
public Set<StemSet> findByIfHasStemId(String id)
StemSetDAO
findByIfHasStemId
in interface StemSetDAO
StemSetDAO.findByIfHasStemId(java.lang.String)
public Set<StemSet> findByIfHasStemIds(Collection ids)
StemSetDAO
findByIfHasStemIds
in interface StemSetDAO
StemSetDAO.findByIfHasStemIds(java.util.Collection)
public Set<StemSet> findByThenHasStemId(String id)
StemSetDAO
findByThenHasStemId
in interface StemSetDAO
StemSetDAO.findByThenHasStemId(java.lang.String)
public Set<StemSet> findNonSelfByIfHasStemId(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(String stemIdIf, String stemIdThen, boolean exceptionIfNotFound) throws StemSetNotFoundException
StemSetDAO
findByIfThenImmediate
in interface StemSetDAO
StemSetNotFoundException
StemSetDAO.findByIfThenImmediate(java.lang.String, java.lang.String, boolean)
public Set<StemSet> findAllChildren(Collection<StemSet> stemSets, QueryOptions queryOptions)
findAllChildren
in interface StemSetDAO
StemSetDAO.findAllChildren(java.util.Collection, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public Set<StemSet> findByIfHasStemOfStemChildrenAndMinDepth(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(String id)
StemSetDAO
deleteByIfHasStemId
in interface StemSetDAO
StemSetDAO.deleteByIfHasStemId(java.lang.String)
public Set<Object[]> findMissingSelfStemSets()
findMissingSelfStemSets
in interface StemSetDAO
StemSetDAO.findMissingSelfStemSets()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |