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 |
countByCategoryId(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 orderByComparator)
|
ShoppingItem |
findByC_S(long companyId,
java.lang.String sku)
|
ShoppingItem |
findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingItem |
findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ShoppingItem[] |
findByCategoryId_PrevAndNext(long itemId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<ShoppingItem> |
findByCategoryId(long categoryId)
|
java.util.List<ShoppingItem> |
findByCategoryId(long categoryId,
int start,
int end)
|
java.util.List<ShoppingItem> |
findByCategoryId(long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.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,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
int |
getShoppingItemPricesSize(long pk)
|
ShoppingItem |
remove(long itemId)
|
void |
removeAll()
|
void |
removeByC_S(long companyId,
java.lang.String sku)
|
void |
removeByCategoryId(long categoryId)
|
void |
removeByLargeImageId(long largeImageId)
|
void |
removeByMediumImageId(long mediumImageId)
|
void |
removeBySmallImageId(long smallImageId)
|
ShoppingItem |
update(ShoppingItem shoppingItem)
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean) . |
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 |
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.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
update
ShoppingItem update(ShoppingItem shoppingItem)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
ShoppingItem updateImpl(ShoppingItem shoppingItem,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
ShoppingItem findByPrimaryKey(long itemId)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
fetchByPrimaryKey
ShoppingItem fetchByPrimaryKey(long itemId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId
java.util.List<ShoppingItem> findByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId
java.util.List<ShoppingItem> findByCategoryId(long categoryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId
java.util.List<ShoppingItem> findByCategoryId(long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId_First
ShoppingItem findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
findByCategoryId_Last
ShoppingItem findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
findByCategoryId_PrevAndNext
ShoppingItem[] findByCategoryId_PrevAndNext(long itemId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
findBySmallImageId
ShoppingItem findBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
fetchBySmallImageId
ShoppingItem fetchBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchBySmallImageId
ShoppingItem fetchBySmallImageId(long smallImageId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByMediumImageId
ShoppingItem findByMediumImageId(long mediumImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
fetchByMediumImageId
ShoppingItem fetchByMediumImageId(long mediumImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByMediumImageId
ShoppingItem fetchByMediumImageId(long mediumImageId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLargeImageId
ShoppingItem findByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
fetchByLargeImageId
ShoppingItem fetchByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByLargeImageId
ShoppingItem fetchByLargeImageId(long largeImageId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_S
ShoppingItem findByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
fetchByC_S
ShoppingItem fetchByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_S
ShoppingItem fetchByC_S(long companyId,
java.lang.String sku,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingItem> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingItem> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingItem> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCategoryId
void removeByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeBySmallImageId
void removeBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
removeByMediumImageId
void removeByMediumImageId(long mediumImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
removeByLargeImageId
void removeByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
removeByC_S
void removeByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.SystemException
NoSuchItemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCategoryId
int countByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countBySmallImageId
int countBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByMediumImageId
int countByMediumImageId(long mediumImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByLargeImageId
int countByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_S
int countByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getShoppingItemPrices
java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getShoppingItemPrices
java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getShoppingItemPrices
java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getShoppingItemPricesSize
int getShoppingItemPricesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsShoppingItemPrice
boolean containsShoppingItemPrice(long pk,
long shoppingItemPricePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsShoppingItemPrices
boolean containsShoppingItemPrices(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException