com.liferay.portlet.shopping.service.persistence
Interface ShoppingOrderItemPersistence
- All Superinterfaces:
- BasePersistence
public interface ShoppingOrderItemPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(java.util.List<ShoppingOrderItem> shoppingOrderItems)
|
void |
cacheResult(ShoppingOrderItem shoppingOrderItem)
|
void |
clearCache()
|
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)
|
ShoppingOrderItem |
remove(long orderItemId)
|
ShoppingOrderItem |
remove(ShoppingOrderItem shoppingOrderItem)
|
void |
removeAll()
|
void |
removeByOrderId(long orderId)
|
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)
|
cacheResult
void cacheResult(ShoppingOrderItem shoppingOrderItem)
cacheResult
void cacheResult(java.util.List<ShoppingOrderItem> shoppingOrderItems)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
ShoppingOrderItem create(long orderItemId)
remove
ShoppingOrderItem remove(long orderItemId)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException
remove
ShoppingOrderItem remove(ShoppingOrderItem shoppingOrderItem)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(ShoppingOrderItem shoppingOrderItem, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
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.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
ShoppingOrderItem updateImpl(ShoppingOrderItem shoppingOrderItem,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
ShoppingOrderItem findByPrimaryKey(long orderItemId)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException
fetchByPrimaryKey
ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByOrderId
java.util.List<ShoppingOrderItem> findByOrderId(long orderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByOrderId
java.util.List<ShoppingOrderItem> findByOrderId(long orderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByOrderId
java.util.List<ShoppingOrderItem> findByOrderId(long orderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByOrderId_First
ShoppingOrderItem findByOrderId_First(long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException
findByOrderId_Last
ShoppingOrderItem findByOrderId_Last(long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException
findByOrderId_PrevAndNext
ShoppingOrderItem[] findByOrderId_PrevAndNext(long orderItemId,
long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingOrderItem> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingOrderItem> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingOrderItem> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByOrderId
void removeByOrderId(long orderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByOrderId
int countByOrderId(long orderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException