|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ShoppingItemPersistence
| 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)
|
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 |
fetchByLargeImageId(long largeImageId)
|
ShoppingItem |
fetchByMediumImageId(long mediumImageId)
|
ShoppingItem |
fetchByPrimaryKey(long itemId)
|
ShoppingItem |
fetchBySmallImageId(long smallImageId)
|
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 |
findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingItem |
findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingItem[] |
findByCategoryId_PrevAndNext(long itemId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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 obc)
|
ShoppingItem |
findByLargeImageId(long largeImageId)
|
ShoppingItem |
findByMediumImageId(long mediumImageId)
|
ShoppingItem |
findByPrimaryKey(long itemId)
|
ShoppingItem |
findBySmallImageId(long smallImageId)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
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)
|
void |
registerListener(ModelListener listener)
|
ShoppingItem |
remove(long itemId)
|
ShoppingItem |
remove(ShoppingItem shoppingItem)
|
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)
|
void |
unregisterListener(ModelListener listener)
|
ShoppingItem |
update(ShoppingItem shoppingItem)
Deprecated. Use update(ShoppingItem shoppingItem, boolean merge). |
ShoppingItem |
update(ShoppingItem shoppingItem,
boolean merge)
Add, update, or merge, the entity. |
ShoppingItem |
updateImpl(ShoppingItem shoppingItem,
boolean merge)
|
| Method Detail |
|---|
ShoppingItem create(long itemId)
ShoppingItem remove(long itemId)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
ShoppingItem remove(ShoppingItem shoppingItem)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ShoppingItem update(ShoppingItem shoppingItem)
throws com.liferay.portal.SystemException
update(ShoppingItem shoppingItem, boolean merge).
com.liferay.portal.SystemException
ShoppingItem update(ShoppingItem shoppingItem,
boolean merge)
throws com.liferay.portal.SystemException
shoppingItem - the entity to add, update, or mergemerge - boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when shoppingItem is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
ShoppingItem updateImpl(ShoppingItem shoppingItem,
boolean merge)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingItem findByPrimaryKey(long itemId)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
ShoppingItem fetchByPrimaryKey(long itemId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingItem> findByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingItem> findByCategoryId(long categoryId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingItem> findByCategoryId(long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingItem findByCategoryId_First(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingItem findByCategoryId_Last(long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingItem[] findByCategoryId_PrevAndNext(long itemId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingItem findBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
ShoppingItem fetchBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingItem findByMediumImageId(long mediumImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
ShoppingItem fetchByMediumImageId(long mediumImageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingItem findByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
ShoppingItem fetchByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingItem findByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
ShoppingItem fetchByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingItem> findAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingItem> findAll(int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingItem> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
void removeByMediumImageId(long mediumImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
void removeByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
void removeByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException,
NoSuchItemException
com.liferay.portal.SystemException
NoSuchItemException
void removeAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByMediumImageId(long mediumImageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getShoppingItemPricesSize(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean containsShoppingItemPrice(long pk,
long shoppingItemPricePK)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean containsShoppingItemPrices(long pk)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemExceptionvoid registerListener(ModelListener listener)
void unregisterListener(ModelListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||