|
||||||||||
| 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 StemSetDAOStemSetNotFoundExceptionStemSetDAO.findById(java.lang.String, boolean)public void saveOrUpdate(StemSet stemSet)
StemSetDAO
saveOrUpdate in interface StemSetDAOStemSetDAO.saveOrUpdate(edu.internet2.middleware.grouper.stem.StemSet)public void saveBatch(java.util.Collection<StemSet> stemSets)
StemSetDAO
saveBatch in interface StemSetDAOStemSetDAO.saveBatch(java.util.Collection)public java.util.Set<StemSet> findByIfHasStemId(java.lang.String id)
StemSetDAO
findByIfHasStemId in interface StemSetDAOStemSetDAO.findByIfHasStemId(java.lang.String)public java.util.Set<StemSet> findByIfHasStemIds(java.util.Collection ids)
StemSetDAO
findByIfHasStemIds in interface StemSetDAOStemSetDAO.findByIfHasStemIds(java.util.Collection)public java.util.Set<StemSet> findByThenHasStemId(java.lang.String id)
StemSetDAO
findByThenHasStemId in interface StemSetDAOStemSetDAO.findByThenHasStemId(java.lang.String)public java.util.Set<StemSet> findNonSelfByIfHasStemId(java.lang.String id)
StemSetDAO
findNonSelfByIfHasStemId in interface StemSetDAOStemSetDAO.findNonSelfByIfHasStemId(java.lang.String)public void delete(StemSet stemSet)
StemSetDAO
delete in interface StemSetDAOStemSetDAO.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 StemSetDAOStemSetNotFoundExceptionStemSetDAO.findByIfThenImmediate(java.lang.String, java.lang.String, boolean)
public java.util.Set<StemSet> findAllChildren(java.util.Collection<StemSet> stemSets,
QueryOptions queryOptions)
findAllChildren in interface StemSetDAOStemSetDAO.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 StemSetDAOStemSetDAO.findByIfHasStemOfStemChildrenAndMinDepth(java.lang.String, int, edu.internet2.middleware.grouper.internal.dao.QueryOptions)public void deleteByIfHasStemId(java.lang.String id)
StemSetDAO
deleteByIfHasStemId in interface StemSetDAOStemSetDAO.deleteByIfHasStemId(java.lang.String)public java.util.Set<java.lang.Object[]> findMissingSelfStemSets()
findMissingSelfStemSets in interface StemSetDAOStemSetDAO.findMissingSelfStemSets()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||