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