com.liferay.portlet.shopping.service.persistence
Interface ShoppingItemPersistence
- All Known Implementing Classes:
- ShoppingItemPersistenceImpl
- public interface ShoppingItemPersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
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)
|
com.liferay.portlet.shopping.model.ShoppingItem |
create(long itemId)
|
com.liferay.portlet.shopping.model.ShoppingItem |
fetchByC_S(long companyId,
java.lang.String sku)
|
com.liferay.portlet.shopping.model.ShoppingItem |
fetchByPrimaryKey(long itemId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.shopping.model.ShoppingItem |
findByC_S(long companyId,
java.lang.String sku)
|
com.liferay.portlet.shopping.model.ShoppingItem |
findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.shopping.model.ShoppingItem |
findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.shopping.model.ShoppingItem[] |
findByCategoryId_PrevAndNext(long itemId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByCategoryId(long categoryId)
|
java.util.List |
findByCategoryId(long categoryId,
int begin,
int end)
|
java.util.List |
findByCategoryId(long categoryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.shopping.model.ShoppingItem |
findByPrimaryKey(long itemId)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List |
getShoppingItemPrices(long pk)
|
java.util.List |
getShoppingItemPrices(long pk,
int begin,
int end)
|
java.util.List |
getShoppingItemPrices(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getShoppingItemPricesSize(long pk)
|
com.liferay.portlet.shopping.model.ShoppingItem |
remove(long itemId)
|
com.liferay.portlet.shopping.model.ShoppingItem |
remove(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
|
void |
removeAll()
|
void |
removeByC_S(long companyId,
java.lang.String sku)
|
void |
removeByCategoryId(long categoryId)
|
com.liferay.portlet.shopping.model.ShoppingItem |
update(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
|
com.liferay.portlet.shopping.model.ShoppingItem |
update(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
boolean merge)
|
create
public com.liferay.portlet.shopping.model.ShoppingItem create(long itemId)
remove
public com.liferay.portlet.shopping.model.ShoppingItem remove(long itemId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemException
remove
public com.liferay.portlet.shopping.model.ShoppingItem remove(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.shopping.model.ShoppingItem update(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.shopping.model.ShoppingItem update(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.shopping.model.ShoppingItem findByPrimaryKey(long itemId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemException
fetchByPrimaryKey
public com.liferay.portlet.shopping.model.ShoppingItem fetchByPrimaryKey(long itemId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId
public java.util.List findByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId
public java.util.List findByCategoryId(long categoryId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId
public java.util.List findByCategoryId(long categoryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId_First
public com.liferay.portlet.shopping.model.ShoppingItem findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemException
findByCategoryId_Last
public com.liferay.portlet.shopping.model.ShoppingItem findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemException
findByCategoryId_PrevAndNext
public com.liferay.portlet.shopping.model.ShoppingItem[] findByCategoryId_PrevAndNext(long itemId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemException
findByC_S
public com.liferay.portlet.shopping.model.ShoppingItem findByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemException
fetchByC_S
public com.liferay.portlet.shopping.model.ShoppingItem fetchByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCategoryId
public void removeByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_S
public void removeByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCategoryId
public int countByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_S
public int countByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getShoppingItemPrices
public java.util.List getShoppingItemPrices(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemException
getShoppingItemPrices
public java.util.List getShoppingItemPrices(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemException
getShoppingItemPrices
public java.util.List getShoppingItemPrices(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.shopping.NoSuchItemException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchItemException
getShoppingItemPricesSize
public int getShoppingItemPricesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsShoppingItemPrice
public boolean containsShoppingItemPrice(long pk,
long shoppingItemPricePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsShoppingItemPrices
public boolean containsShoppingItemPrices(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException