|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ShoppingOrderItemPersistence
| Method Summary | |
|---|---|
int |
countAll()
|
int |
countByOrderId(long orderId)
|
ShoppingOrderItem |
create(long orderItemId)
|
ShoppingOrderItem |
fetchByPrimaryKey(long orderItemId)
|
java.util.List<ShoppingOrderItem> |
findAll()
|
java.util.List<ShoppingOrderItem> |
findAll(int start,
int end)
|
java.util.List<ShoppingOrderItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingOrderItem |
findByOrderId_First(long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingOrderItem |
findByOrderId_Last(long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingOrderItem[] |
findByOrderId_PrevAndNext(long orderItemId,
long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<ShoppingOrderItem> |
findByOrderId(long orderId)
|
java.util.List<ShoppingOrderItem> |
findByOrderId(long orderId,
int start,
int end)
|
java.util.List<ShoppingOrderItem> |
findByOrderId(long orderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingOrderItem |
findByPrimaryKey(long orderItemId)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
void |
registerListener(ModelListener listener)
|
ShoppingOrderItem |
remove(long orderItemId)
|
ShoppingOrderItem |
remove(ShoppingOrderItem shoppingOrderItem)
|
void |
removeAll()
|
void |
removeByOrderId(long orderId)
|
void |
unregisterListener(ModelListener listener)
|
ShoppingOrderItem |
update(ShoppingOrderItem shoppingOrderItem)
Deprecated. Use update(ShoppingOrderItem shoppingOrderItem, boolean merge). |
ShoppingOrderItem |
update(ShoppingOrderItem shoppingOrderItem,
boolean merge)
Add, update, or merge, the entity. |
ShoppingOrderItem |
updateImpl(ShoppingOrderItem shoppingOrderItem,
boolean merge)
|
| Method Detail |
|---|
ShoppingOrderItem create(long orderItemId)
ShoppingOrderItem remove(long orderItemId)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
com.liferay.portal.SystemException
NoSuchOrderItemException
ShoppingOrderItem remove(ShoppingOrderItem shoppingOrderItem)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem)
throws com.liferay.portal.SystemException
update(ShoppingOrderItem shoppingOrderItem, boolean merge).
com.liferay.portal.SystemException
ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem,
boolean merge)
throws com.liferay.portal.SystemException
shoppingOrderItem - the entity to add, update, or mergemerge - boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when shoppingOrderItem is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
ShoppingOrderItem updateImpl(ShoppingOrderItem shoppingOrderItem,
boolean merge)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingOrderItem findByPrimaryKey(long orderItemId)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
com.liferay.portal.SystemException
NoSuchOrderItemException
ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingOrderItem> findByOrderId(long orderId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingOrderItem> findByOrderId(long orderId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingOrderItem> findByOrderId(long orderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingOrderItem findByOrderId_First(long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
com.liferay.portal.SystemException
NoSuchOrderItemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingOrderItem findByOrderId_Last(long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
com.liferay.portal.SystemException
NoSuchOrderItemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingOrderItem[] findByOrderId_PrevAndNext(long orderItemId,
long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
com.liferay.portal.SystemException
NoSuchOrderItemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingOrderItem> findAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingOrderItem> findAll(int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingOrderItem> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByOrderId(long orderId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByOrderId(long orderId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemExceptionvoid registerListener(ModelListener listener)
void unregisterListener(ModelListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||