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