com.liferay.portlet.shopping.service.persistence
Interface ShoppingOrderItemPersistence
- All Superinterfaces:
- BasePersistence<ShoppingOrderItem>
public interface ShoppingOrderItemPersistence
- extends BasePersistence<ShoppingOrderItem>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingOrderItemPersistenceImpl
,
ShoppingOrderItemUtil
- Generated:
Method Summary |
void |
cacheResult(java.util.List<ShoppingOrderItem> shoppingOrderItems)
|
void |
cacheResult(ShoppingOrderItem shoppingOrderItem)
|
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 orderByComparator)
|
ShoppingOrderItem |
findByOrderId_First(long orderId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingOrderItem |
findByOrderId_Last(long orderId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingOrderItem[] |
findByOrderId_PrevAndNext(long orderItemId,
long orderId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
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 orderByComparator)
|
ShoppingOrderItem |
findByPrimaryKey(long orderItemId)
|
ShoppingOrderItem |
remove(long orderItemId)
|
void |
removeAll()
|
void |
removeByOrderId(long orderId)
|
ShoppingOrderItem |
update(ShoppingOrderItem shoppingOrderItem)
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean) . |
ShoppingOrderItem |
updateImpl(ShoppingOrderItem shoppingOrderItem,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update |
cacheResult
void cacheResult(ShoppingOrderItem shoppingOrderItem)
cacheResult
void cacheResult(java.util.List<ShoppingOrderItem> shoppingOrderItems)
create
ShoppingOrderItem create(long orderItemId)
remove
ShoppingOrderItem remove(long orderItemId)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException
update
ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- 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 orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByOrderId_First
ShoppingOrderItem findByOrderId_First(long orderId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
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 orderByComparator)
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 orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException
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 orderByComparator)
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