|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rapidtransform.core.service.impl.ServiceImpl
com.rapidtransform.core.service.impl.ValidValueServiceImpl
public class ValidValueServiceImpl
Constructor Summary | |
---|---|
ValidValueServiceImpl()
|
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 list of all the valid values 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.HashMap<java.lang.String,ValidValueDAO> |
getValidValueDAOs()
|
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. |
void |
setValidValueDAOs(java.util.HashMap<java.lang.String,ValidValueDAO> validValueDAOs)
|
Methods inherited from class com.rapidtransform.core.service.impl.ServiceImpl |
---|
getMessageSource, getSecurityService, setMessageSource, setSecurityService |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidValueServiceImpl()
Method Detail |
---|
public java.util.HashMap<java.lang.String,ValidValueDAO> getValidValueDAOs()
public void setValidValueDAOs(java.util.HashMap<java.lang.String,ValidValueDAO> validValueDAOs)
public ValidValue save(ValidValue validValue) throws ConveloException
ValidValueService
save
in interface ValidValueService
ConveloException
public ValidValue find(java.lang.Class subclass, java.lang.Long id) throws ConveloException
find
in interface ValidValueService
id
-
ConveloException
public java.util.Collection<ValidValue> findAll(java.lang.Class subclass) throws ConveloException
findAll
in interface ValidValueService
subclass
-
ConveloException
- Exception generated if subclass is not mapped in the validValueDAOs mappublic java.util.Collection<ValidValue> findEnabled(java.lang.Class subclass) throws ConveloException
findEnabled
in interface ValidValueService
subclass
-
ConveloException
public java.util.Collection<java.lang.String> getValueListTypes()
getValueListTypes
in interface ValidValueService
public void remove(ValidValue validValue) throws ConveloException
remove
in interface ValidValueService
validValue
-
ConveloException
- Thrown if ValidValue type is not mapped in the validValueDAOs map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |