|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBehaviorExtDAO
Interface for BehaviorExtDAO.
Method Summary | |
---|---|
void |
delete(BehaviorExt entity)
Delete a persistent BehaviorExt entity. |
java.util.List<BehaviorExt> |
findAll(int... rowStartIdxAndCount)
Find all BehaviorExt entities. |
BehaviorExt |
findById(java.lang.String id)
find the BehaviorExt entities by id |
java.util.List<BehaviorExt> |
findByName(java.lang.Object name,
int... rowStartIdxAndCount)
find the BehaviorExt entities by name |
java.util.List<BehaviorExt> |
findByProperty(java.lang.String propertyName,
java.lang.Object value,
int... rowStartIdxAndCount)
Find all BehaviorExt entities with a specific property value. |
java.util.List<BehaviorExt> |
findByValue(java.lang.Object value,
int... rowStartIdxAndCount)
find the BehaviorExt entities by value |
void |
save(BehaviorExt entity)
Perform an initial save of a previously unsaved BehaviorExt entity. |
BehaviorExt |
update(BehaviorExt entity)
Persist a previously saved BehaviorExt entity and return it or a copy of it to the sender. |
Method Detail |
---|
void save(BehaviorExt entity)
EntityManager#persist
operation.
EntityManagerHelper.beginTransaction(); IBehaviorExtDAO.save(entity); EntityManagerHelper.commit();
entity
- BehaviorExt entity to persist
java.lang.RuntimeException
- when the operation failsvoid delete(BehaviorExt entity)
EntityManager#delete
operation.
EntityManagerHelper.beginTransaction(); IBehaviorExtDAO.delete(entity); EntityManagerHelper.commit(); entity = null;
entity
- BehaviorExt entity to delete
java.lang.RuntimeException
- when the operation failsBehaviorExt update(BehaviorExt entity)
EntityManager#merge
operation.
EntityManagerHelper.beginTransaction(); entity = IBehaviorExtDAO.update(entity); EntityManagerHelper.commit();
entity
- BehaviorExt entity to update
java.lang.RuntimeException
- if the operation failsBehaviorExt findById(java.lang.String id)
String
- id
java.util.List<BehaviorExt> findByProperty(java.lang.String propertyName, java.lang.Object value, int... rowStartIdxAndCount)
propertyName
- the name of the BehaviorExt property to queryvalue
- the property value to matchrowStartIdxAndCount
- Optional int varargs. rowStartIdxAndCount[0] specifies the the
row index in the query result-set to begin collecting the
results. rowStartIdxAndCount[1] specifies the the maximum
count of results to return.
java.util.List<BehaviorExt> findByName(java.lang.Object name, int... rowStartIdxAndCount)
Object
- nameint...
- rowStartIdxAndCount
java.util.List<BehaviorExt> findByValue(java.lang.Object value, int... rowStartIdxAndCount)
Object
- valueint...
- rowStartIdxAndCount
java.util.List<BehaviorExt> findAll(int... rowStartIdxAndCount)
int...
- rowStartIdxAndCount
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |