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

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

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

Constructor Summary
ShoppingItemUtil()
           
 
Method Summary
static void cacheResult(java.util.List<ShoppingItem> shoppingItems)
           
static void cacheResult(ShoppingItem shoppingItem)
           
static void clearCache()
           
static void clearCache(ShoppingItem shoppingItem)
           
static boolean containsShoppingItemPrice(long pk, long shoppingItemPricePK)
           
static boolean containsShoppingItemPrices(long pk)
           
static int countAll()
           
static int countByC_S(long companyId, java.lang.String sku)
           
static int countByG_C(long groupId, long categoryId)
           
static int countByLargeImageId(long largeImageId)
           
static int countByMediumImageId(long mediumImageId)
           
static int countBySmallImageId(long smallImageId)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static ShoppingItem create(long itemId)
           
static ShoppingItem fetchByC_S(long companyId, java.lang.String sku)
           
static ShoppingItem fetchByC_S(long companyId, java.lang.String sku, boolean retrieveFromCache)
           
static ShoppingItem fetchByLargeImageId(long largeImageId)
           
static ShoppingItem fetchByLargeImageId(long largeImageId, boolean retrieveFromCache)
           
static ShoppingItem fetchByMediumImageId(long mediumImageId)
           
static ShoppingItem fetchByMediumImageId(long mediumImageId, boolean retrieveFromCache)
           
static ShoppingItem fetchByPrimaryKey(long itemId)
           
static ShoppingItem fetchBySmallImageId(long smallImageId)
           
static ShoppingItem fetchBySmallImageId(long smallImageId, boolean retrieveFromCache)
           
static int filterCountByG_C(long groupId, long categoryId)
           
static java.util.List<ShoppingItem> filterFindByG_C(long groupId, long categoryId)
           
static java.util.List<ShoppingItem> filterFindByG_C(long groupId, long categoryId, int start, int end)
           
static java.util.List<ShoppingItem> filterFindByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
           
static java.util.List<ShoppingItem> findAll()
           
static java.util.List<ShoppingItem> findAll(int start, int end)
           
static java.util.List<ShoppingItem> findAll(int start, int end, OrderByComparator orderByComparator)
           
static ShoppingItem findByC_S(long companyId, java.lang.String sku)
           
static ShoppingItem findByG_C_First(long groupId, long categoryId, OrderByComparator orderByComparator)
           
static ShoppingItem findByG_C_Last(long groupId, long categoryId, OrderByComparator orderByComparator)
           
static ShoppingItem[] findByG_C_PrevAndNext(long itemId, long groupId, long categoryId, OrderByComparator orderByComparator)
           
static java.util.List<ShoppingItem> findByG_C(long groupId, long categoryId)
           
static java.util.List<ShoppingItem> findByG_C(long groupId, long categoryId, int start, int end)
           
static java.util.List<ShoppingItem> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
           
static ShoppingItem findByLargeImageId(long largeImageId)
           
static ShoppingItem findByMediumImageId(long mediumImageId)
           
static ShoppingItem findByPrimaryKey(long itemId)
           
static ShoppingItem findBySmallImageId(long smallImageId)
           
static java.util.List<ShoppingItem> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List<ShoppingItem> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static ShoppingItemPersistence getPersistence()
           
static java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk)
           
static java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk, int start, int end)
           
static java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk, int start, int end, OrderByComparator orderByComparator)
           
static int getShoppingItemPricesSize(long pk)
           
static ShoppingItem remove(long itemId)
           
static ShoppingItem remove(ShoppingItem shoppingItem)
           
static void removeAll()
           
static void removeByC_S(long companyId, java.lang.String sku)
           
static void removeByG_C(long groupId, long categoryId)
           
static void removeByLargeImageId(long largeImageId)
           
static void removeByMediumImageId(long mediumImageId)
           
static void removeBySmallImageId(long smallImageId)
           
 void setPersistence(ShoppingItemPersistence persistence)
           
static ShoppingItem update(ShoppingItem shoppingItem, boolean merge)
           
static ShoppingItem updateImpl(ShoppingItem shoppingItem, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingItemUtil

public ShoppingItemUtil()
Method Detail

clearCache

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

clearCache

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

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<ShoppingItem> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                         throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<ShoppingItem> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                                int start,
                                                                int end)
                                                         throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

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

update

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

cacheResult

public static void cacheResult(ShoppingItem shoppingItem)

cacheResult

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

create

public static ShoppingItem create(long itemId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public static ShoppingItem fetchByPrimaryKey(long itemId)
                                      throws SystemException
Throws:
SystemException

findBySmallImageId

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

fetchBySmallImageId

public static ShoppingItem fetchBySmallImageId(long smallImageId)
                                        throws SystemException
Throws:
SystemException

fetchBySmallImageId

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

findByMediumImageId

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

fetchByMediumImageId

public static ShoppingItem fetchByMediumImageId(long mediumImageId)
                                         throws SystemException
Throws:
SystemException

fetchByMediumImageId

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

findByLargeImageId

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

fetchByLargeImageId

public static ShoppingItem fetchByLargeImageId(long largeImageId)
                                        throws SystemException
Throws:
SystemException

fetchByLargeImageId

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

findByG_C

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

findByG_C

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

findByG_C

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

findByG_C_First

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

findByG_C_Last

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

findByG_C_PrevAndNext

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

filterFindByG_C

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

filterFindByG_C

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

filterFindByG_C

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

findByC_S

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

fetchByC_S

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

fetchByC_S

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

findAll

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

findAll

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

findAll

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

removeBySmallImageId

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

removeByMediumImageId

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

removeByLargeImageId

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

removeByG_C

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

removeByC_S

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

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countBySmallImageId

public static int countBySmallImageId(long smallImageId)
                               throws SystemException
Throws:
SystemException

countByMediumImageId

public static int countByMediumImageId(long mediumImageId)
                                throws SystemException
Throws:
SystemException

countByLargeImageId

public static int countByLargeImageId(long largeImageId)
                               throws SystemException
Throws:
SystemException

countByG_C

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

filterCountByG_C

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

countByC_S

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

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getShoppingItemPrices

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

getShoppingItemPrices

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

getShoppingItemPrices

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

getShoppingItemPricesSize

public static int getShoppingItemPricesSize(long pk)
                                     throws SystemException
Throws:
SystemException

containsShoppingItemPrice

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

containsShoppingItemPrices

public static boolean containsShoppingItemPrices(long pk)
                                          throws SystemException
Throws:
SystemException

getPersistence

public static ShoppingItemPersistence getPersistence()

setPersistence

public void setPersistence(ShoppingItemPersistence persistence)