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 com.liferay.portlet.shopping.model.ShoppingItemPrice create(long itemPriceId)
           
static com.liferay.portlet.shopping.model.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 com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_First(long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_Last(long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.shopping.model.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 com.liferay.portlet.shopping.model.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 com.liferay.portlet.shopping.model.ShoppingItemPrice remove(long itemPriceId)
           
static com.liferay.portlet.shopping.model.ShoppingItemPrice remove(com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
           
static void removeAll()
           
static void removeByItemId(long itemId)
           
 void setPersistence(ShoppingItemPricePersistence persistence)
           
static com.liferay.portlet.shopping.model.ShoppingItemPrice update(com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
           
static com.liferay.portlet.shopping.model.ShoppingItemPrice update(com.liferay.portlet.shopping.model.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 com.liferay.portlet.shopping.model.ShoppingItemPrice create(long itemPriceId)

remove

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

remove

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

update

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

update

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

findByPrimaryKey

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

fetchByPrimaryKey

public static com.liferay.portlet.shopping.model.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 com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_First(long itemId,
                                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                               throws com.liferay.portal.SystemException,
                                                                                      com.liferay.portlet.shopping.NoSuchItemPriceException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemPriceException

findByItemId_Last

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

findByItemId_PrevAndNext

public static com.liferay.portlet.shopping.model.ShoppingItemPrice[] findByItemId_PrevAndNext(long itemPriceId,
                                                                                              long itemId,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                       throws com.liferay.portal.SystemException,
                                                                                              com.liferay.portlet.shopping.NoSuchItemPriceException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.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)