|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The ActiveObject classU
- The business object mapped by the ActiveObject classpublic interface AOListMapper<T extends Entity,U>
To be implemented by mappers that map a list of values onto ActiveObjects. AO's that implement Positionable will in addition get their position inside the List persisted
Method Summary | |
---|---|
void |
addCreateValues(U u,
java.util.Map<java.lang.String,java.lang.Object> params)
Provide the db parameter for T to be created. |
T |
findExisting(T[] ts,
U u)
Get an existing T for given u. |
java.util.List<U> |
fromAO(T[] ts)
|
java.lang.Class<T> |
getActiveObjectClass()
Get the class of T |
T[] |
getExisting()
Provides all existing T. |
void |
postCreateUpdate(T t,
U u)
Called on the updated AO object (either once created or updated/saved). |
void |
preDelete(T t)
Called before the element is deleted, gives the mapper a chance to clean up child objects |
void |
setValues(T t,
U u)
Updates an AO. |
Method Detail |
---|
void addCreateValues(U u, java.util.Map<java.lang.String,java.lang.Object> params)
void setValues(T t, U u)
void postCreateUpdate(T t, U u)
void preDelete(T t)
T[] getExisting()
T findExisting(T[] ts, U u)
java.lang.Class<T> getActiveObjectClass()
java.util.List<U> fromAO(T[] ts)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |