|
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 IItemListDAO
Interface for ItemListDAO.
Method Summary | |
---|---|
void |
delete(ItemList entity)
Delete a persistent ItemList entity. |
java.util.List<ItemList> |
findAll(int... rowStartIdxAndCount)
Find all ItemList entities. |
java.util.List<ItemList> |
findByDescription(java.lang.Object description,
int... rowStartIdxAndCount)
find all ItemList entities with description |
ItemList |
findById(java.lang.String id)
find ItemList entities with id |
java.util.List<ItemList> |
findByItemName(java.lang.Object itemName,
int... rowStartIdxAndCount)
find all ItemList entities with item name |
java.util.List<ItemList> |
findByProperty(java.lang.String propertyName,
java.lang.Object value,
int... rowStartIdxAndCount)
Find all ItemList entities with a specific property value. |
java.util.List<ItemList> |
findByType(java.lang.Object type,
int... rowStartIdxAndCount)
find all ItemList entities with type |
void |
save(ItemList entity)
Perform an initial save of a previously unsaved ItemList entity. |
ItemList |
update(ItemList entity)
Persist a previously saved ItemList entity and return it or a copy of it to the sender. |
Method Detail |
---|
void save(ItemList entity)
EntityManager#persist
operation.
EntityManagerHelper.beginTransaction(); IItemListDAO.save(entity); EntityManagerHelper.commit();
entity
- ItemList entity to persist
java.lang.RuntimeException
- when the operation failsvoid delete(ItemList entity)
EntityManager#delete
operation.
EntityManagerHelper.beginTransaction(); IItemListDAO.delete(entity); EntityManagerHelper.commit(); entity = null;
entity
- ItemList entity to delete
java.lang.RuntimeException
- when the operation failsItemList update(ItemList entity)
EntityManager#merge
operation.
EntityManagerHelper.beginTransaction(); entity = IItemListDAO.update(entity); EntityManagerHelper.commit();
entity
- ItemList entity to update
java.lang.RuntimeException
- if the operation failsItemList findById(java.lang.String id)
String
- id
java.util.List<ItemList> findByProperty(java.lang.String propertyName, java.lang.Object value, int... rowStartIdxAndCount)
propertyName
- the name of the ItemList 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<ItemList> findByItemName(java.lang.Object itemName, int... rowStartIdxAndCount)
ObjectitemName
- int...
- rowStartIdxAndCount
java.util.List<ItemList> findByType(java.lang.Object type, int... rowStartIdxAndCount)
Object
- typeint...
- rowStartIdxAndCount
java.util.List<ItemList> findByDescription(java.lang.Object description, int... rowStartIdxAndCount)
Object
- descriptionint...
- rowStartIdxAndCount
java.util.List<ItemList> 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 |