com.liferay.portlet.shopping.service.persistence
Class ShoppingItemPriceUtil

java.lang.Object
  extended bycom.liferay.portlet.shopping.service.persistence.ShoppingItemPriceUtil

public class ShoppingItemPriceUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
ShoppingItemPriceUtil()
           
 
Method Summary
static int countAll()
           
static int countByItemId(long itemId)
           
static ShoppingItemPrice create(long itemPriceId)
           
static ShoppingItemPrice fetchByPrimaryKey(long itemPriceId)
           
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 ShoppingItemPrice findByItemId_First(long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingItemPrice findByItemId_Last(long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingItemPrice[] findByItemId_PrevAndNext(long itemPriceId, long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByItemId(long itemId)
           
static java.util.List findByItemId(long itemId, int begin, int end)
           
static java.util.List findByItemId(long itemId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingItemPrice findByPrimaryKey(long itemPriceId)
           
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 ShoppingItemPricePersistence getPersistence()
           
static ShoppingItemPrice remove(long itemPriceId)
           
static ShoppingItemPrice remove(ShoppingItemPrice shoppingItemPrice)
           
static void removeAll()
           
static void removeByItemId(long itemId)
           
 void setPersistence(ShoppingItemPricePersistence persistence)
           
static ShoppingItemPrice update(ShoppingItemPrice shoppingItemPrice)
           
static ShoppingItemPrice update(ShoppingItemPrice shoppingItemPrice, boolean merge)
           
static ShoppingItemPrice updateImpl(ShoppingItemPrice shoppingItemPrice, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingItemPriceUtil

public ShoppingItemPriceUtil()
Method Detail

create

public static ShoppingItemPrice create(long itemPriceId)

remove

public static ShoppingItemPrice remove(long itemPriceId)
                                throws com.liferay.portal.SystemException,
                                       NoSuchItemPriceException
Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException

remove

public static ShoppingItemPrice remove(ShoppingItemPrice shoppingItemPrice)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static ShoppingItemPrice update(ShoppingItemPrice shoppingItemPrice)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static ShoppingItemPrice update(ShoppingItemPrice shoppingItemPrice,
                                       boolean merge)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public static ShoppingItemPrice updateImpl(ShoppingItemPrice shoppingItemPrice,
                                           boolean merge)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static ShoppingItemPrice findByPrimaryKey(long itemPriceId)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchItemPriceException
Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException

fetchByPrimaryKey

public static ShoppingItemPrice fetchByPrimaryKey(long itemPriceId)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByItemId

public static java.util.List findByItemId(long itemId)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByItemId

public static java.util.List findByItemId(long itemId,
                                          int begin,
                                          int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByItemId

public static java.util.List findByItemId(long itemId,
                                          int begin,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByItemId_First

public static ShoppingItemPrice findByItemId_First(long itemId,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException,
                                                   NoSuchItemPriceException
Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException

findByItemId_Last

public static ShoppingItemPrice findByItemId_Last(long itemId,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchItemPriceException
Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException

findByItemId_PrevAndNext

public static ShoppingItemPrice[] findByItemId_PrevAndNext(long itemPriceId,
                                                           long itemId,
                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                    throws com.liferay.portal.SystemException,
                                                           NoSuchItemPriceException
Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException

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

removeByItemId

public static void removeByItemId(long itemId)
                           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

countByItemId

public static int countByItemId(long itemId)
                         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 ShoppingItemPricePersistence getPersistence()

setPersistence

public void setPersistence(ShoppingItemPricePersistence persistence)