|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StemSetDAO
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 |
Method Detail |
---|
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
Set<Object[]> findMissingSelfStemSets()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |