|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Persister interface
Method Summary | |
void |
amend(Persisted obj)
Gets the parameter value from the given Persisted obj then amends the persisted objects |
Persisted |
create(Persisted obj)
Gets the parameter value from the given Persisted obj then creates it and returns the persisted objects |
Persisted |
createAmend(Persisted obj)
Gets the pk attributes from the given Persisted obj then finds the object by primary key , if there is finder exception then creates the object otherwise amend the object and return the persisted object |
java.util.Collection |
findBy(java.util.Map params,
java.lang.Class persistedClass)
Returns the Collection of persisted objects |
java.util.Collection |
findBy(java.util.Map params,
java.lang.Class persistedClass,
java.lang.String[][] orderBy)
Returns the Collection of persisted objects |
java.lang.Object |
findByPrimaryKey(java.util.Map params,
java.lang.Class persistedClass)
Returns the persisted objects |
java.util.Collection |
findDistinct(java.util.Collection params,
java.lang.Class persistedClass)
Returns the Collection of distinct persisted objects |
void |
purgeProcessedData(java.util.Map params,
java.lang.Class persistedClass)
Purges the processed data |
void |
remove(Persisted obj)
Gets the parameter value from the given Persisted obj then removes the persisted object |
void |
removeAll(Persisted obj)
Removes all from persisted object from the given Persisted obj |
Method Detail |
public java.util.Collection findBy(java.util.Map params, java.lang.Class persistedClass)
params
- MappersistedClass
- Classpublic java.util.Collection findBy(java.util.Map params, java.lang.Class persistedClass, java.lang.String[][] orderBy)
params
- MappersistedClass
- ClassorderBy
- String[][]public java.util.Collection findDistinct(java.util.Collection params, java.lang.Class persistedClass)
params
- MapClass
- persistedClasspublic java.lang.Object findByPrimaryKey(java.util.Map params, java.lang.Class persistedClass) throws FinderException
params
- MappersistedClass
- ClassFinderException
- This exception is thrown if persisted object not foundpublic Persisted create(Persisted obj)
obj
- Persistedpublic void amend(Persisted obj)
obj
- Persistedpublic void remove(Persisted obj)
obj
- Persistedpublic Persisted createAmend(Persisted obj)
obj
- Persistedpublic void removeAll(Persisted obj)
obj
- Persistedpublic void purgeProcessedData(java.util.Map params, java.lang.Class persistedClass)
params
- MapClass
- persistedClass
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |