Liferay 6.0.3

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<ShoppingItem>
      extended by com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<ShoppingItem>, ShoppingItemPersistence

public class ShoppingItemPersistenceImpl
extends BasePersistenceImpl<ShoppingItem>
implements ShoppingItemPersistence

See Also:
ShoppingItemPersistence, ShoppingItemUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Nested Class Summary
protected  class ShoppingItemPersistenceImpl.ContainsShoppingItemPrice
           
 
Field Summary
protected  ShoppingItemPersistenceImpl.ContainsShoppingItemPrice containsShoppingItemPrice
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_CONTAINS_SHOPPINGITEMPRICE
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_C
           
static FinderPath FINDER_PATH_COUNT_BY_LARGEIMAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_MEDIUMIMAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_FETCH_BY_C_S
           
static FinderPath FINDER_PATH_FETCH_BY_LARGEIMAGEID
           
static FinderPath FINDER_PATH_FETCH_BY_MEDIUMIMAGEID
           
static FinderPath FINDER_PATH_FETCH_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_G_C
           
static FinderPath FINDER_PATH_GET_SHOPPINGITEMPRICES
           
static FinderPath FINDER_PATH_GET_SHOPPINGITEMPRICES_SIZE
           
protected  ImagePersistence imagePersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  ShoppingCartPersistence shoppingCartPersistence
           
protected  ShoppingCategoryPersistence shoppingCategoryPersistence
           
protected  ShoppingCouponPersistence shoppingCouponPersistence
           
protected  ShoppingItemFieldPersistence shoppingItemFieldPersistence
           
protected  ShoppingItemPersistence shoppingItemPersistence
           
protected  ShoppingItemPricePersistence shoppingItemPricePersistence
           
protected  ShoppingOrderItemPersistence shoppingOrderItemPersistence
           
protected  ShoppingOrderPersistence shoppingOrderPersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
ShoppingItemPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cacheResult(List<ShoppingItem> shoppingItems)
           
 void cacheResult(ShoppingItem shoppingItem)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(ShoppingItem shoppingItem)
          Clears the cache for one instance of this model.
 boolean containsShoppingItemPrice(long pk, long shoppingItemPricePK)
           
 boolean containsShoppingItemPrices(long pk)
           
 int countAll()
           
 int countByC_S(long companyId, 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, String sku)
           
 ShoppingItem fetchByC_S(long companyId, 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 fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 ShoppingItem fetchBySmallImageId(long smallImageId)
           
 ShoppingItem fetchBySmallImageId(long smallImageId, boolean retrieveFromCache)
           
 int filterCountByG_C(long groupId, long categoryId)
           
 List<ShoppingItem> filterFindByG_C(long groupId, long categoryId)
           
 List<ShoppingItem> filterFindByG_C(long groupId, long categoryId, int start, int end)
           
 List<ShoppingItem> filterFindByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
           
 List<ShoppingItem> findAll()
           
 List<ShoppingItem> findAll(int start, int end)
           
 List<ShoppingItem> findAll(int start, int end, OrderByComparator orderByComparator)
           
 ShoppingItem findByC_S(long companyId, 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)
           
 List<ShoppingItem> findByG_C(long groupId, long categoryId)
           
 List<ShoppingItem> findByG_C(long groupId, long categoryId, int start, int end)
           
 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 findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
 ShoppingItem findBySmallImageId(long smallImageId)
           
protected  ShoppingItem getByG_C_PrevAndNext(Session session, ShoppingItem shoppingItem, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
           
 List<ShoppingItemPrice> getShoppingItemPrices(long pk)
           
 List<ShoppingItemPrice> getShoppingItemPrices(long pk, int start, int end)
           
 List<ShoppingItemPrice> getShoppingItemPrices(long pk, int start, int end, OrderByComparator orderByComparator)
           
 int getShoppingItemPricesSize(long pk)
           
 ShoppingItem remove(long itemId)
           
 ShoppingItem remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 void removeAll()
           
 void removeByC_S(long companyId, String sku)
           
 void removeByG_C(long groupId, long categoryId)
           
 void removeByLargeImageId(long largeImageId)
           
 void removeByMediumImageId(long mediumImageId)
           
 void removeBySmallImageId(long smallImageId)
           
protected  ShoppingItem removeImpl(ShoppingItem shoppingItem)
          Removes the model instance from the database.
protected  ShoppingItem toUnwrappedModel(ShoppingItem shoppingItem)
           
 ShoppingItem updateImpl(ShoppingItem shoppingItem, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FETCH_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_FETCH_BY_SMALLIMAGEID

FINDER_PATH_COUNT_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID

FINDER_PATH_FETCH_BY_MEDIUMIMAGEID

public static final FinderPath FINDER_PATH_FETCH_BY_MEDIUMIMAGEID

FINDER_PATH_COUNT_BY_MEDIUMIMAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_MEDIUMIMAGEID

FINDER_PATH_FETCH_BY_LARGEIMAGEID

public static final FinderPath FINDER_PATH_FETCH_BY_LARGEIMAGEID

FINDER_PATH_COUNT_BY_LARGEIMAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_LARGEIMAGEID

FINDER_PATH_FIND_BY_G_C

public static final FinderPath FINDER_PATH_FIND_BY_G_C

FINDER_PATH_COUNT_BY_G_C

public static final FinderPath FINDER_PATH_COUNT_BY_G_C

FINDER_PATH_FETCH_BY_C_S

public static final FinderPath FINDER_PATH_FETCH_BY_C_S

FINDER_PATH_COUNT_BY_C_S

public static final FinderPath FINDER_PATH_COUNT_BY_C_S

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_GET_SHOPPINGITEMPRICES

public static final FinderPath FINDER_PATH_GET_SHOPPINGITEMPRICES

FINDER_PATH_GET_SHOPPINGITEMPRICES_SIZE

public static final FinderPath FINDER_PATH_GET_SHOPPINGITEMPRICES_SIZE

FINDER_PATH_CONTAINS_SHOPPINGITEMPRICE

public static final FinderPath FINDER_PATH_CONTAINS_SHOPPINGITEMPRICE

shoppingCartPersistence

@BeanReference(type=ShoppingCartPersistence.class)
protected ShoppingCartPersistence shoppingCartPersistence

shoppingCategoryPersistence

@BeanReference(type=ShoppingCategoryPersistence.class)
protected ShoppingCategoryPersistence shoppingCategoryPersistence

shoppingCouponPersistence

@BeanReference(type=ShoppingCouponPersistence.class)
protected ShoppingCouponPersistence shoppingCouponPersistence

shoppingItemPersistence

@BeanReference(type=ShoppingItemPersistence.class)
protected ShoppingItemPersistence shoppingItemPersistence

shoppingItemFieldPersistence

@BeanReference(type=ShoppingItemFieldPersistence.class)
protected ShoppingItemFieldPersistence shoppingItemFieldPersistence

shoppingItemPricePersistence

@BeanReference(type=ShoppingItemPricePersistence.class)
protected ShoppingItemPricePersistence shoppingItemPricePersistence

shoppingOrderPersistence

@BeanReference(type=ShoppingOrderPersistence.class)
protected ShoppingOrderPersistence shoppingOrderPersistence

shoppingOrderItemPersistence

@BeanReference(type=ShoppingOrderItemPersistence.class)
protected ShoppingOrderItemPersistence shoppingOrderItemPersistence

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

containsShoppingItemPrice

protected ShoppingItemPersistenceImpl.ContainsShoppingItemPrice containsShoppingItemPrice
Constructor Detail

ShoppingItemPersistenceImpl

public ShoppingItemPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(ShoppingItem shoppingItem)
Specified by:
cacheResult in interface ShoppingItemPersistence

cacheResult

public void cacheResult(List<ShoppingItem> shoppingItems)
Specified by:
cacheResult in interface ShoppingItemPersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

Specified by:
clearCache in interface BasePersistence<ShoppingItem>
Overrides:
clearCache in class BasePersistenceImpl<ShoppingItem>

clearCache

public void clearCache(ShoppingItem shoppingItem)
Description copied from interface: BasePersistence
Clears the cache for one instance of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<ShoppingItem>
Overrides:
clearCache in class BasePersistenceImpl<ShoppingItem>
Parameters:
shoppingItem - the instance of this model to clear the cache for

create

public ShoppingItem create(long itemId)
Specified by:
create in interface ShoppingItemPersistence

remove

public ShoppingItem remove(Serializable primaryKey)
                    throws NoSuchModelException,
                           SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<ShoppingItem>
Overrides:
remove in class BasePersistenceImpl<ShoppingItem>
Parameters:
primaryKey - the primary key of the model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public ShoppingItem remove(long itemId)
                    throws NoSuchItemException,
                           SystemException
Specified by:
remove in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

removeImpl

protected ShoppingItem removeImpl(ShoppingItem shoppingItem)
                           throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<ShoppingItem>
Parameters:
shoppingItem - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public ShoppingItem updateImpl(ShoppingItem shoppingItem,
                               boolean merge)
                        throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface ShoppingItemPersistence
Overrides:
updateImpl in class BasePersistenceImpl<ShoppingItem>
Parameters:
shoppingItem - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected ShoppingItem toUnwrappedModel(ShoppingItem shoppingItem)

findByPrimaryKey

public ShoppingItem findByPrimaryKey(Serializable primaryKey)
                              throws NoSuchModelException,
                                     SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<ShoppingItem>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<ShoppingItem>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if the primary key is null, or if a system exception occurred

findByPrimaryKey

public ShoppingItem findByPrimaryKey(long itemId)
                              throws NoSuchItemException,
                                     SystemException
Specified by:
findByPrimaryKey in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

fetchByPrimaryKey

public ShoppingItem fetchByPrimaryKey(Serializable primaryKey)
                               throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<ShoppingItem>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<ShoppingItem>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public ShoppingItem fetchByPrimaryKey(long itemId)
                               throws SystemException
Specified by:
fetchByPrimaryKey in interface ShoppingItemPersistence
Throws:
SystemException

findBySmallImageId

public ShoppingItem findBySmallImageId(long smallImageId)
                                throws NoSuchItemException,
                                       SystemException
Specified by:
findBySmallImageId in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

fetchBySmallImageId

public ShoppingItem fetchBySmallImageId(long smallImageId)
                                 throws SystemException
Specified by:
fetchBySmallImageId in interface ShoppingItemPersistence
Throws:
SystemException

fetchBySmallImageId

public ShoppingItem fetchBySmallImageId(long smallImageId,
                                        boolean retrieveFromCache)
                                 throws SystemException
Specified by:
fetchBySmallImageId in interface ShoppingItemPersistence
Throws:
SystemException

findByMediumImageId

public ShoppingItem findByMediumImageId(long mediumImageId)
                                 throws NoSuchItemException,
                                        SystemException
Specified by:
findByMediumImageId in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

fetchByMediumImageId

public ShoppingItem fetchByMediumImageId(long mediumImageId)
                                  throws SystemException
Specified by:
fetchByMediumImageId in interface ShoppingItemPersistence
Throws:
SystemException

fetchByMediumImageId

public ShoppingItem fetchByMediumImageId(long mediumImageId,
                                         boolean retrieveFromCache)
                                  throws SystemException
Specified by:
fetchByMediumImageId in interface ShoppingItemPersistence
Throws:
SystemException

findByLargeImageId

public ShoppingItem findByLargeImageId(long largeImageId)
                                throws NoSuchItemException,
                                       SystemException
Specified by:
findByLargeImageId in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

fetchByLargeImageId

public ShoppingItem fetchByLargeImageId(long largeImageId)
                                 throws SystemException
Specified by:
fetchByLargeImageId in interface ShoppingItemPersistence
Throws:
SystemException

fetchByLargeImageId

public ShoppingItem fetchByLargeImageId(long largeImageId,
                                        boolean retrieveFromCache)
                                 throws SystemException
Specified by:
fetchByLargeImageId in interface ShoppingItemPersistence
Throws:
SystemException

findByG_C

public List<ShoppingItem> findByG_C(long groupId,
                                    long categoryId)
                             throws SystemException
Specified by:
findByG_C in interface ShoppingItemPersistence
Throws:
SystemException

findByG_C

public List<ShoppingItem> findByG_C(long groupId,
                                    long categoryId,
                                    int start,
                                    int end)
                             throws SystemException
Specified by:
findByG_C in interface ShoppingItemPersistence
Throws:
SystemException

findByG_C

public List<ShoppingItem> findByG_C(long groupId,
                                    long categoryId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Specified by:
findByG_C in interface ShoppingItemPersistence
Throws:
SystemException

findByG_C_First

public ShoppingItem findByG_C_First(long groupId,
                                    long categoryId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchItemException,
                                    SystemException
Specified by:
findByG_C_First in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

findByG_C_Last

public ShoppingItem findByG_C_Last(long groupId,
                                   long categoryId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchItemException,
                                   SystemException
Specified by:
findByG_C_Last in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

findByG_C_PrevAndNext

public ShoppingItem[] findByG_C_PrevAndNext(long itemId,
                                            long groupId,
                                            long categoryId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchItemException,
                                            SystemException
Specified by:
findByG_C_PrevAndNext in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

getByG_C_PrevAndNext

protected ShoppingItem getByG_C_PrevAndNext(Session session,
                                            ShoppingItem shoppingItem,
                                            long groupId,
                                            long categoryId,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

filterFindByG_C

public List<ShoppingItem> filterFindByG_C(long groupId,
                                          long categoryId)
                                   throws SystemException
Specified by:
filterFindByG_C in interface ShoppingItemPersistence
Throws:
SystemException

filterFindByG_C

public List<ShoppingItem> filterFindByG_C(long groupId,
                                          long categoryId,
                                          int start,
                                          int end)
                                   throws SystemException
Specified by:
filterFindByG_C in interface ShoppingItemPersistence
Throws:
SystemException

filterFindByG_C

public List<ShoppingItem> filterFindByG_C(long groupId,
                                          long categoryId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Specified by:
filterFindByG_C in interface ShoppingItemPersistence
Throws:
SystemException

findByC_S

public ShoppingItem findByC_S(long companyId,
                              String sku)
                       throws NoSuchItemException,
                              SystemException
Specified by:
findByC_S in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

fetchByC_S

public ShoppingItem fetchByC_S(long companyId,
                               String sku)
                        throws SystemException
Specified by:
fetchByC_S in interface ShoppingItemPersistence
Throws:
SystemException

fetchByC_S

public ShoppingItem fetchByC_S(long companyId,
                               String sku,
                               boolean retrieveFromCache)
                        throws SystemException
Specified by:
fetchByC_S in interface ShoppingItemPersistence
Throws:
SystemException

findAll

public List<ShoppingItem> findAll()
                           throws SystemException
Specified by:
findAll in interface ShoppingItemPersistence
Throws:
SystemException

findAll

public List<ShoppingItem> findAll(int start,
                                  int end)
                           throws SystemException
Specified by:
findAll in interface ShoppingItemPersistence
Throws:
SystemException

findAll

public List<ShoppingItem> findAll(int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Specified by:
findAll in interface ShoppingItemPersistence
Throws:
SystemException

removeBySmallImageId

public void removeBySmallImageId(long smallImageId)
                          throws NoSuchItemException,
                                 SystemException
Specified by:
removeBySmallImageId in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

removeByMediumImageId

public void removeByMediumImageId(long mediumImageId)
                           throws NoSuchItemException,
                                  SystemException
Specified by:
removeByMediumImageId in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

removeByLargeImageId

public void removeByLargeImageId(long largeImageId)
                          throws NoSuchItemException,
                                 SystemException
Specified by:
removeByLargeImageId in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

removeByG_C

public void removeByG_C(long groupId,
                        long categoryId)
                 throws SystemException
Specified by:
removeByG_C in interface ShoppingItemPersistence
Throws:
SystemException

removeByC_S

public void removeByC_S(long companyId,
                        String sku)
                 throws NoSuchItemException,
                        SystemException
Specified by:
removeByC_S in interface ShoppingItemPersistence
Throws:
NoSuchItemException
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface ShoppingItemPersistence
Throws:
SystemException

countBySmallImageId

public int countBySmallImageId(long smallImageId)
                        throws SystemException
Specified by:
countBySmallImageId in interface ShoppingItemPersistence
Throws:
SystemException

countByMediumImageId

public int countByMediumImageId(long mediumImageId)
                         throws SystemException
Specified by:
countByMediumImageId in interface ShoppingItemPersistence
Throws:
SystemException

countByLargeImageId

public int countByLargeImageId(long largeImageId)
                        throws SystemException
Specified by:
countByLargeImageId in interface ShoppingItemPersistence
Throws:
SystemException

countByG_C

public int countByG_C(long groupId,
                      long categoryId)
               throws SystemException
Specified by:
countByG_C in interface ShoppingItemPersistence
Throws:
SystemException

filterCountByG_C

public int filterCountByG_C(long groupId,
                            long categoryId)
                     throws SystemException
Specified by:
filterCountByG_C in interface ShoppingItemPersistence
Throws:
SystemException

countByC_S

public int countByC_S(long companyId,
                      String sku)
               throws SystemException
Specified by:
countByC_S in interface ShoppingItemPersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface ShoppingItemPersistence
Throws:
SystemException

getShoppingItemPrices

public List<ShoppingItemPrice> getShoppingItemPrices(long pk)
                                              throws SystemException
Specified by:
getShoppingItemPrices in interface ShoppingItemPersistence
Throws:
SystemException

getShoppingItemPrices

public List<ShoppingItemPrice> getShoppingItemPrices(long pk,
                                                     int start,
                                                     int end)
                                              throws SystemException
Specified by:
getShoppingItemPrices in interface ShoppingItemPersistence
Throws:
SystemException

getShoppingItemPrices

public List<ShoppingItemPrice> getShoppingItemPrices(long pk,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Specified by:
getShoppingItemPrices in interface ShoppingItemPersistence
Throws:
SystemException

getShoppingItemPricesSize

public int getShoppingItemPricesSize(long pk)
                              throws SystemException
Specified by:
getShoppingItemPricesSize in interface ShoppingItemPersistence
Throws:
SystemException

containsShoppingItemPrice

public boolean containsShoppingItemPrice(long pk,
                                         long shoppingItemPricePK)
                                  throws SystemException
Specified by:
containsShoppingItemPrice in interface ShoppingItemPersistence
Throws:
SystemException

containsShoppingItemPrices

public boolean containsShoppingItemPrices(long pk)
                                   throws SystemException
Specified by:
containsShoppingItemPrices in interface ShoppingItemPersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3