com.liferay.portlet.shopping.service.persistence
Class ShoppingOrderItemUtil
java.lang.Object
com.liferay.portlet.shopping.service.persistence.ShoppingOrderItemUtil
- public class ShoppingOrderItemUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByOrderId(long orderId)
|
static com.liferay.portlet.shopping.model.ShoppingOrderItem |
create(long orderItemId)
|
static com.liferay.portlet.shopping.model.ShoppingOrderItem |
fetchByPrimaryKey(long orderItemId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.shopping.model.ShoppingOrderItem |
findByOrderId_First(long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.shopping.model.ShoppingOrderItem |
findByOrderId_Last(long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.shopping.model.ShoppingOrderItem[] |
findByOrderId_PrevAndNext(long orderItemId,
long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByOrderId(long orderId)
|
static java.util.List |
findByOrderId(long orderId,
int begin,
int end)
|
static java.util.List |
findByOrderId(long orderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.shopping.model.ShoppingOrderItem |
findByPrimaryKey(long orderItemId)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static ShoppingOrderItemPersistence |
getPersistence()
|
static com.liferay.portlet.shopping.model.ShoppingOrderItem |
remove(long orderItemId)
|
static com.liferay.portlet.shopping.model.ShoppingOrderItem |
remove(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
|
static void |
removeAll()
|
static void |
removeByOrderId(long orderId)
|
void |
setPersistence(ShoppingOrderItemPersistence persistence)
|
static com.liferay.portlet.shopping.model.ShoppingOrderItem |
update(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
|
static com.liferay.portlet.shopping.model.ShoppingOrderItem |
update(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingOrderItemUtil
public ShoppingOrderItemUtil()
create
public static com.liferay.portlet.shopping.model.ShoppingOrderItem create(long orderItemId)
remove
public static com.liferay.portlet.shopping.model.ShoppingOrderItem remove(long orderItemId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchOrderItemException
remove
public static com.liferay.portlet.shopping.model.ShoppingOrderItem remove(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.shopping.model.ShoppingOrderItem update(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.shopping.model.ShoppingOrderItem update(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portlet.shopping.model.ShoppingOrderItem findByPrimaryKey(long orderItemId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchOrderItemException
fetchByPrimaryKey
public static com.liferay.portlet.shopping.model.ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByOrderId
public static java.util.List findByOrderId(long orderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByOrderId
public static java.util.List findByOrderId(long orderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByOrderId
public static java.util.List findByOrderId(long orderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByOrderId_First
public static com.liferay.portlet.shopping.model.ShoppingOrderItem findByOrderId_First(long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchOrderItemException
findByOrderId_Last
public static com.liferay.portlet.shopping.model.ShoppingOrderItem findByOrderId_Last(long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchOrderItemException
findByOrderId_PrevAndNext
public static com.liferay.portlet.shopping.model.ShoppingOrderItem[] findByOrderId_PrevAndNext(long orderItemId,
long orderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchOrderItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchOrderItemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByOrderId
public static void removeByOrderId(long orderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByOrderId
public static int countByOrderId(long orderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static ShoppingOrderItemPersistence getPersistence()
setPersistence
public void setPersistence(ShoppingOrderItemPersistence persistence)