|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidValueService
Method Summary | |
---|---|
ValidValue |
find(java.lang.Class subclass,
java.lang.Long id)
Returns the ValidValue object for the given subclass and id. |
java.util.Collection<ValidValue> |
findAll(java.lang.Class subclass)
Returns a collection of all the ValidValues for the given ValidValue subclass. |
java.util.Collection<ValidValue> |
findEnabled(java.lang.Class subclass)
Returns a collection of all enabled ValidValues for the given ValidValue subclass. |
java.util.Collection<java.lang.String> |
getValueListTypes()
Returns a collection of existing value list types. |
void |
remove(ValidValue validValue)
Removes the given valid value from the database. |
ValidValue |
save(ValidValue validValue)
Creates or updates the given ValidValue object to the database. |
Method Detail |
---|
@Transactional(rollbackFor=ConveloException.class) ValidValue save(ValidValue validValue) throws ConveloException
validValue
-
ConveloException
ValidValue find(java.lang.Class subclass, java.lang.Long id) throws ConveloException
id
-
ConveloException
java.util.Collection<ValidValue> findAll(java.lang.Class subclass) throws ConveloException
validValueClass
-
ConveloException
- Exception generated if subclass is not mapped in the validValueDAOs mapjava.util.Collection<ValidValue> findEnabled(java.lang.Class subclass) throws ConveloException
subclass
-
ConveloException
java.util.Collection<java.lang.String> getValueListTypes()
void remove(ValidValue validValue) throws ConveloException
validValue
-
ConveloException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |