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

All Superinterfaces:
BasePersistence<ShoppingItem>

public interface ShoppingItemPersistence
extends BasePersistence<ShoppingItem>

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:
ShoppingItemPersistenceImpl, ShoppingItemUtil
Generated:

Method Summary
 void cacheResult(java.util.List<ShoppingItem> shoppingItems)
           
 void cacheResult(ShoppingItem shoppingItem)
           
 boolean containsShoppingItemPrice(long pk, long shoppingItemPricePK)
           
 boolean containsShoppingItemPrices(long pk)
           
 int countAll()
           
 int countByC_S(long companyId, java.lang.String sku)
           
 int countByG_C(long groupId, long categoryId)
           
 int countByLargeImageId(long largeImageId)
           
 int countByMediumImageId(long mediumImageId)
           
 int countBySmallImageId(long smallImageId)
           
 ShoppingItem create(long itemId)
           
 ShoppingItem fetchByC_S(long companyId, java.lang.String sku)
           
 ShoppingItem fetchByC_S(long companyId, java.lang.String sku, boolean retrieveFromCache)
           
 ShoppingItem fetchByLargeImageId(long largeImageId)
           
 ShoppingItem fetchByLargeImageId(long largeImageId, boolean retrieveFromCache)
           
 ShoppingItem fetchByMediumImageId(long mediumImageId)
           
 ShoppingItem fetchByMediumImageId(long mediumImageId, boolean retrieveFromCache)
           
 ShoppingItem fetchByPrimaryKey(long itemId)
           
 ShoppingItem fetchBySmallImageId(long smallImageId)
           
 ShoppingItem fetchBySmallImageId(long smallImageId, boolean retrieveFromCache)
           
 int filterCountByG_C(long groupId, long categoryId)
           
 java.util.List<ShoppingItem> filterFindByG_C(long groupId, long categoryId)
           
 java.util.List<ShoppingItem> filterFindByG_C(long groupId, long categoryId, int start, int end)
           
 java.util.List<ShoppingItem> filterFindByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<ShoppingItem> findAll()
           
 java.util.List<ShoppingItem> findAll(int start, int end)
           
 java.util.List<ShoppingItem> findAll(int start, int end, OrderByComparator orderByComparator)
           
 ShoppingItem findByC_S(long companyId, java.lang.String sku)
           
 ShoppingItem findByG_C_First(long groupId, long categoryId, OrderByComparator orderByComparator)
           
 ShoppingItem findByG_C_Last(long groupId, long categoryId, OrderByComparator orderByComparator)
           
 ShoppingItem[] findByG_C_PrevAndNext(long itemId, long groupId, long categoryId, OrderByComparator orderByComparator)
           
 java.util.List<ShoppingItem> findByG_C(long groupId, long categoryId)
           
 java.util.List<ShoppingItem> findByG_C(long groupId, long categoryId, int start, int end)
           
 java.util.List<ShoppingItem> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
           
 ShoppingItem findByLargeImageId(long largeImageId)
           
 ShoppingItem findByMediumImageId(long mediumImageId)
           
 ShoppingItem findByPrimaryKey(long itemId)
           
 ShoppingItem findBySmallImageId(long smallImageId)
           
 java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk)
           
 java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk, int start, int end)
           
 java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk, int start, int end, OrderByComparator orderByComparator)
           
 int getShoppingItemPricesSize(long pk)
           
 ShoppingItem remove(long itemId)
           
 void removeAll()
           
 void removeByC_S(long companyId, java.lang.String sku)
           
 void removeByG_C(long groupId, long categoryId)
           
 void removeByLargeImageId(long largeImageId)
           
 void removeByMediumImageId(long mediumImageId)
           
 void removeBySmallImageId(long smallImageId)
           
 ShoppingItem updateImpl(ShoppingItem shoppingItem, 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(ShoppingItem shoppingItem)

cacheResult

void cacheResult(java.util.List<ShoppingItem> shoppingItems)

create

ShoppingItem create(long itemId)

remove

ShoppingItem remove(long itemId)
                    throws SystemException,
                           NoSuchItemException
Throws:
SystemException
NoSuchItemException

updateImpl

ShoppingItem updateImpl(ShoppingItem shoppingItem,
                        boolean merge)
                        throws SystemException
Throws:
SystemException

findByPrimaryKey

ShoppingItem findByPrimaryKey(long itemId)
                              throws SystemException,
                                     NoSuchItemException
Throws:
SystemException
NoSuchItemException

fetchByPrimaryKey

ShoppingItem fetchByPrimaryKey(long itemId)
                               throws SystemException
Throws:
SystemException

findBySmallImageId

ShoppingItem findBySmallImageId(long smallImageId)
                                throws SystemException,
                                       NoSuchItemException
Throws:
SystemException
NoSuchItemException

fetchBySmallImageId

ShoppingItem fetchBySmallImageId(long smallImageId)
                                 throws SystemException
Throws:
SystemException

fetchBySmallImageId

ShoppingItem fetchBySmallImageId(long smallImageId,
                                 boolean retrieveFromCache)
                                 throws SystemException
Throws:
SystemException

findByMediumImageId

ShoppingItem findByMediumImageId(long mediumImageId)
                                 throws SystemException,
                                        NoSuchItemException
Throws:
SystemException
NoSuchItemException

fetchByMediumImageId

ShoppingItem fetchByMediumImageId(long mediumImageId)
                                  throws SystemException
Throws:
SystemException

fetchByMediumImageId

ShoppingItem fetchByMediumImageId(long mediumImageId,
                                  boolean retrieveFromCache)
                                  throws SystemException
Throws:
SystemException

findByLargeImageId

ShoppingItem findByLargeImageId(long largeImageId)
                                throws SystemException,
                                       NoSuchItemException
Throws:
SystemException
NoSuchItemException

fetchByLargeImageId

ShoppingItem fetchByLargeImageId(long largeImageId)
                                 throws SystemException
Throws:
SystemException

fetchByLargeImageId

ShoppingItem fetchByLargeImageId(long largeImageId,
                                 boolean retrieveFromCache)
                                 throws SystemException
Throws:
SystemException

findByG_C

java.util.List<ShoppingItem> findByG_C(long groupId,
                                       long categoryId)
                                       throws SystemException
Throws:
SystemException

findByG_C

java.util.List<ShoppingItem> findByG_C(long groupId,
                                       long categoryId,
                                       int start,
                                       int end)
                                       throws SystemException
Throws:
SystemException

findByG_C

java.util.List<ShoppingItem> findByG_C(long groupId,
                                       long categoryId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Throws:
SystemException

findByG_C_First

ShoppingItem findByG_C_First(long groupId,
                             long categoryId,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchItemException
Throws:
SystemException
NoSuchItemException

findByG_C_Last

ShoppingItem findByG_C_Last(long groupId,
                            long categoryId,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchItemException
Throws:
SystemException
NoSuchItemException

findByG_C_PrevAndNext

ShoppingItem[] findByG_C_PrevAndNext(long itemId,
                                     long groupId,
                                     long categoryId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchItemException
Throws:
SystemException
NoSuchItemException

filterFindByG_C

java.util.List<ShoppingItem> filterFindByG_C(long groupId,
                                             long categoryId)
                                             throws SystemException
Throws:
SystemException

filterFindByG_C

java.util.List<ShoppingItem> filterFindByG_C(long groupId,
                                             long categoryId,
                                             int start,
                                             int end)
                                             throws SystemException
Throws:
SystemException

filterFindByG_C

java.util.List<ShoppingItem> filterFindByG_C(long groupId,
                                             long categoryId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
Throws:
SystemException

findByC_S

ShoppingItem findByC_S(long companyId,
                       java.lang.String sku)
                       throws SystemException,
                              NoSuchItemException
Throws:
SystemException
NoSuchItemException

fetchByC_S

ShoppingItem fetchByC_S(long companyId,
                        java.lang.String sku)
                        throws SystemException
Throws:
SystemException

fetchByC_S

ShoppingItem fetchByC_S(long companyId,
                        java.lang.String sku,
                        boolean retrieveFromCache)
                        throws SystemException
Throws:
SystemException

findAll

java.util.List<ShoppingItem> findAll()
                                     throws SystemException
Throws:
SystemException

findAll

java.util.List<ShoppingItem> findAll(int start,
                                     int end)
                                     throws SystemException
Throws:
SystemException

findAll

java.util.List<ShoppingItem> findAll(int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Throws:
SystemException

removeBySmallImageId

void removeBySmallImageId(long smallImageId)
                          throws SystemException,
                                 NoSuchItemException
Throws:
SystemException
NoSuchItemException

removeByMediumImageId

void removeByMediumImageId(long mediumImageId)
                           throws SystemException,
                                  NoSuchItemException
Throws:
SystemException
NoSuchItemException

removeByLargeImageId

void removeByLargeImageId(long largeImageId)
                          throws SystemException,
                                 NoSuchItemException
Throws:
SystemException
NoSuchItemException

removeByG_C

void removeByG_C(long groupId,
                 long categoryId)
                 throws SystemException
Throws:
SystemException

removeByC_S

void removeByC_S(long companyId,
                 java.lang.String sku)
                 throws SystemException,
                        NoSuchItemException
Throws:
SystemException
NoSuchItemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countBySmallImageId

int countBySmallImageId(long smallImageId)
                        throws SystemException
Throws:
SystemException

countByMediumImageId

int countByMediumImageId(long mediumImageId)
                         throws SystemException
Throws:
SystemException

countByLargeImageId

int countByLargeImageId(long largeImageId)
                        throws SystemException
Throws:
SystemException

countByG_C

int countByG_C(long groupId,
               long categoryId)
               throws SystemException
Throws:
SystemException

filterCountByG_C

int filterCountByG_C(long groupId,
                     long categoryId)
                     throws SystemException
Throws:
SystemException

countByC_S

int countByC_S(long companyId,
               java.lang.String sku)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

getShoppingItemPrices

java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk)
                                                        throws SystemException
Throws:
SystemException

getShoppingItemPrices

java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk,
                                                        int start,
                                                        int end)
                                                        throws SystemException
Throws:
SystemException

getShoppingItemPrices

java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk,
                                                        int start,
                                                        int end,
                                                        OrderByComparator orderByComparator)
                                                        throws SystemException
Throws:
SystemException

getShoppingItemPricesSize

int getShoppingItemPricesSize(long pk)
                              throws SystemException
Throws:
SystemException

containsShoppingItemPrice

boolean containsShoppingItemPrice(long pk,
                                  long shoppingItemPricePK)
                                  throws SystemException
Throws:
SystemException

containsShoppingItemPrices

boolean containsShoppingItemPrices(long pk)
                                   throws SystemException
Throws:
SystemException