|
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 IBehaviorLogDAO
Interface for BehaviorLogDAO.
Method Summary | |
---|---|
void |
delete(BehaviorLog entity)
Delete a persistent BehaviorLog entity. |
java.util.List<BehaviorLog> |
findAll(int... rowStartIdxAndCount)
Find all BehaviorLog entities. |
java.util.List<BehaviorLog> |
findByBehaviorType(java.lang.Object behaviorType,
int... rowStartIdxAndCount)
find all behavior entities with behaviorType |
BehaviorLog |
findById(java.lang.String id)
find the BehaviorLog entities by id |
java.util.List<BehaviorLog> |
findByProperty(java.lang.String propertyName,
java.lang.Object value,
int... rowStartIdxAndCount)
Find all BehaviorLog entities with a specific property value. |
java.util.List<BehaviorLog> |
findByUserId(java.lang.Object userId,
int... rowStartIdxAndCount)
find all behavior entities with userId |
void |
save(BehaviorLog entity)
Perform an initial save of a previously unsaved BehaviorLog entity. |
BehaviorLog |
update(BehaviorLog entity)
Persist a previously saved BehaviorLog entity and return it or a copy of it to the sender. |
Method Detail |
---|
void save(BehaviorLog entity)
EntityManager#persist
operation.
EntityManagerHelper.beginTransaction(); IBehaviorLogDAO.save(entity); EntityManagerHelper.commit();
entity
- BehaviorLog entity to persist
java.lang.RuntimeException
- when the operation failsvoid delete(BehaviorLog entity)
EntityManager#delete
operation.
EntityManagerHelper.beginTransaction(); IBehaviorLogDAO.delete(entity); EntityManagerHelper.commit(); entity = null;
entity
- BehaviorLog entity to delete
java.lang.RuntimeException
- when the operation failsBehaviorLog update(BehaviorLog entity)
EntityManager#merge
operation.
EntityManagerHelper.beginTransaction(); entity = IBehaviorLogDAO.update(entity); EntityManagerHelper.commit();
entity
- BehaviorLog entity to update
java.lang.RuntimeException
- if the operation failsBehaviorLog findById(java.lang.String id)
String
- id
java.util.List<BehaviorLog> findByProperty(java.lang.String propertyName, java.lang.Object value, int... rowStartIdxAndCount)
propertyName
- the name of the BehaviorLog 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<BehaviorLog> findByUserId(java.lang.Object userId, int... rowStartIdxAndCount)
Object
- userIdint...
- rowStartIdxAndCount
java.util.List<BehaviorLog> findByBehaviorType(java.lang.Object behaviorType, int... rowStartIdxAndCount)
Object
- userIdint...
- rowStartIdxAndCount
java.util.List<BehaviorLog> 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 |