|
||||||||||
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(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 |
Method Detail |
---|
void saveOrUpdate(StemSet stemSet)
stemSet
- void saveBatch(java.util.Collection<StemSet> stemSets)
stemSets
- void delete(StemSet stemSet)
stemSet
- StemSet findById(java.lang.String id, boolean exceptionIfNotFound) throws StemSetNotFoundException
id
- exceptionIfNotFound
-
StemSetNotFoundException
java.util.Set<StemSet> findByIfHasStemId(java.lang.String id)
id
-
java.util.Set<StemSet> findByIfHasStemIds(java.util.Collection ids)
ids
-
java.util.Set<StemSet> findByThenHasStemId(java.lang.String id)
id
-
java.util.Set<StemSet> findNonSelfByIfHasStemId(java.lang.String id)
id
-
void deleteByIfHasStemId(java.lang.String id)
id
- java.util.Set<StemSet> findAllChildren(java.util.Collection<StemSet> stemSets, QueryOptions queryOptions)
stemSets
- queryOptions
-
java.util.Set<StemSet> findByIfHasStemOfStemChildrenAndMinDepth(java.lang.String stemId, int minDepth, QueryOptions queryOptions)
stemId
- minDepth
- queryOptions
-
StemSet findByIfThenImmediate(java.lang.String stemIdIf, java.lang.String stemIdThen, boolean exceptionIfNotFound) throws StemSetNotFoundException
stemIdIf
- stemIdThen
- exceptionIfNotFound
-
StemSetNotFoundException
java.util.Set<java.lang.Object[]> findMissingSelfStemSets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |