public interface StemSetDAO extends GrouperDAO
Modifier and Type | Method and Description |
---|---|
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
|
void saveOrUpdate(StemSet stemSet)
stemSet
- void saveBatch(Collection<StemSet> stemSets)
stemSets
- void delete(StemSet stemSet)
stemSet
- StemSet findById(String id, boolean exceptionIfNotFound) throws StemSetNotFoundException
id
- exceptionIfNotFound
- StemSetNotFoundException
Set<StemSet> findByIfHasStemId(String id)
id
- Set<StemSet> findByIfHasStemIds(Collection ids)
ids
- Set<StemSet> findByThenHasStemId(String id)
id
- Set<StemSet> findNonSelfByIfHasStemId(String id)
id
- void deleteByIfHasStemId(String id)
id
- Set<StemSet> findAllChildren(Collection<StemSet> stemSets, QueryOptions queryOptions)
stemSets
- queryOptions
- Set<StemSet> findByIfHasStemOfStemChildrenAndMinDepth(String stemId, int minDepth, QueryOptions queryOptions)
stemId
- minDepth
- queryOptions
- StemSet findByIfThenImmediate(String stemIdIf, String stemIdThen, boolean exceptionIfNotFound) throws StemSetNotFoundException
stemIdIf
- stemIdThen
- exceptionIfNotFound
- StemSetNotFoundException
Copyright © 2016 Internet2. All rights reserved.