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)
|
java.util.List<ShoppingItem> |
findAll()
|
java.util.List<ShoppingItem> |
findAll(int start,
int end)
|
java.util.List<ShoppingItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingItem |
findByC_S(long companyId,
java.lang.String sku)
|
ShoppingItem |
findByG_C_First(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingItem |
findByG_C_Last(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingItem[] |
findByG_C_PrevAndNext(long itemId,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update |
cacheResult
void cacheResult(ShoppingItem shoppingItem)
cacheResult
void cacheResult(java.util.List<ShoppingItem> shoppingItems)
create
ShoppingItem create(long itemId)
remove
ShoppingItem remove(long itemId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
updateImpl
ShoppingItem updateImpl(ShoppingItem shoppingItem,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
ShoppingItem findByPrimaryKey(long itemId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
fetchByPrimaryKey
ShoppingItem fetchByPrimaryKey(long itemId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findBySmallImageId
ShoppingItem findBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
fetchBySmallImageId
ShoppingItem fetchBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchBySmallImageId
ShoppingItem fetchBySmallImageId(long smallImageId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByMediumImageId
ShoppingItem findByMediumImageId(long mediumImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
fetchByMediumImageId
ShoppingItem fetchByMediumImageId(long mediumImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByMediumImageId
ShoppingItem fetchByMediumImageId(long mediumImageId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByLargeImageId
ShoppingItem findByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
fetchByLargeImageId
ShoppingItem fetchByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByLargeImageId
ShoppingItem fetchByLargeImageId(long largeImageId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_C
java.util.List<ShoppingItem> findByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_C
java.util.List<ShoppingItem> findByG_C(long groupId,
long categoryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_C
java.util.List<ShoppingItem> findByG_C(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_C_First
ShoppingItem findByG_C_First(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
findByG_C_Last
ShoppingItem findByG_C_Last(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
findByG_C_PrevAndNext
ShoppingItem[] findByG_C_PrevAndNext(long itemId,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
findByC_S
ShoppingItem findByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
fetchByC_S
ShoppingItem fetchByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByC_S
ShoppingItem fetchByC_S(long companyId,
java.lang.String sku,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<ShoppingItem> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<ShoppingItem> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<ShoppingItem> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeBySmallImageId
void removeBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
removeByMediumImageId
void removeByMediumImageId(long mediumImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
removeByLargeImageId
void removeByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
removeByG_C
void removeByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_S
void removeByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
removeAll
void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countBySmallImageId
int countBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByMediumImageId
int countByMediumImageId(long mediumImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByLargeImageId
int countByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_C
int countByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_S
int countByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getShoppingItemPrices
java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getShoppingItemPrices
java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getShoppingItemPrices
java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getShoppingItemPricesSize
int getShoppingItemPricesSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsShoppingItemPrice
boolean containsShoppingItemPrice(long pk,
long shoppingItemPricePK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsShoppingItemPrices
boolean containsShoppingItemPrices(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException