com.liferay.portlet.shopping.service.persistence
Interface ShoppingItemPricePersistence

All Superinterfaces:
BasePersistence<ShoppingItemPrice>

public interface ShoppingItemPricePersistence
extends BasePersistence<ShoppingItemPrice>

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

Method Summary
 void cacheResult(java.util.List<ShoppingItemPrice> shoppingItemPrices)
           
 void cacheResult(ShoppingItemPrice shoppingItemPrice)
           
 int countAll()
           
 int countByItemId(long itemId)
           
 ShoppingItemPrice create(long itemPriceId)
           
 ShoppingItemPrice fetchByPrimaryKey(long itemPriceId)
           
 java.util.List<ShoppingItemPrice> findAll()
           
 java.util.List<ShoppingItemPrice> findAll(int start, int end)
           
 java.util.List<ShoppingItemPrice> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ShoppingItemPrice findByItemId_First(long itemId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ShoppingItemPrice findByItemId_Last(long itemId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ShoppingItemPrice[] findByItemId_PrevAndNext(long itemPriceId, long itemId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<ShoppingItemPrice> findByItemId(long itemId)
           
 java.util.List<ShoppingItemPrice> findByItemId(long itemId, int start, int end)
           
 java.util.List<ShoppingItemPrice> findByItemId(long itemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ShoppingItemPrice findByPrimaryKey(long itemPriceId)
           
 ShoppingItemPrice remove(long itemPriceId)
           
 void removeAll()
           
 void removeByItemId(long itemId)
           
 ShoppingItemPrice update(ShoppingItemPrice shoppingItemPrice)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 ShoppingItemPrice updateImpl(ShoppingItemPrice shoppingItemPrice, 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
 

Method Detail

cacheResult

void cacheResult(ShoppingItemPrice shoppingItemPrice)

cacheResult

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

create

ShoppingItemPrice create(long itemPriceId)

remove

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

update

ShoppingItemPrice update(ShoppingItemPrice shoppingItemPrice)
                         throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByItemId

java.util.List<ShoppingItemPrice> findByItemId(long itemId)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByItemId

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

findByItemId

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

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

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

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

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

findAll

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

findAll

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

void removeByItemId(long itemId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByItemId

int countByItemId(long itemId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException