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

java.lang.Object
  extended by com.liferay.portlet.shopping.service.persistence.ShoppingItemPriceUtil

public class ShoppingItemPriceUtil
extends java.lang.Object

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:
ShoppingItemPricePersistence, ShoppingItemPricePersistenceImpl
Generated:

Constructor Summary
ShoppingItemPriceUtil()
           
 
Method Summary
static void cacheResult(java.util.List<ShoppingItemPrice> shoppingItemPrices)
           
static void cacheResult(ShoppingItemPrice shoppingItemPrice)
           
static void clearCache()
           
static void clearCache(ShoppingItemPrice shoppingItemPrice)
           
static int countAll()
           
static int countByItemId(long itemId)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static ShoppingItemPrice create(long itemPriceId)
           
static ShoppingItemPrice fetchByPrimaryKey(long itemPriceId)
           
static java.util.List<ShoppingItemPrice> findAll()
           
static java.util.List<ShoppingItemPrice> findAll(int start, int end)
           
static java.util.List<ShoppingItemPrice> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ShoppingItemPrice findByItemId_First(long itemId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ShoppingItemPrice findByItemId_Last(long itemId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ShoppingItemPrice[] findByItemId_PrevAndNext(long itemPriceId, long itemId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<ShoppingItemPrice> findByItemId(long itemId)
           
static java.util.List<ShoppingItemPrice> findByItemId(long itemId, int start, int end)
           
static java.util.List<ShoppingItemPrice> findByItemId(long itemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ShoppingItemPrice findByPrimaryKey(long itemPriceId)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, 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)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
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

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(ShoppingItemPrice shoppingItemPrice)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(ShoppingItemPrice)

countWithDynamicQuery

public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static 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
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static 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
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static ShoppingItemPrice remove(ShoppingItemPrice shoppingItemPrice)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static ShoppingItemPrice update(ShoppingItemPrice shoppingItemPrice,
                                       boolean merge)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(ShoppingItemPrice shoppingItemPrice)

cacheResult

public static void cacheResult(java.util.List<ShoppingItemPrice> shoppingItemPrices)

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

update

public static ShoppingItemPrice update(ShoppingItemPrice shoppingItemPrice)
                                throws com.liferay.portal.SystemException
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).

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<ShoppingItemPrice> findByItemId(long itemId)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByItemId

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

findByItemId

public static java.util.List<ShoppingItemPrice> findByItemId(long itemId,
                                                             int start,
                                                             int end,
                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                      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 orderByComparator)
                                            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 orderByComparator)
                                           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 orderByComparator)
                                                    throws com.liferay.portal.SystemException,
                                                           NoSuchItemPriceException
Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException

findAll

public static java.util.List<ShoppingItemPrice> findAll()
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<ShoppingItemPrice> findAll(int start,
                                                        int end)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<ShoppingItemPrice> findAll(int start,
                                                        int end,
                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                 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)