com.liferay.portlet.shopping.service.persistence
Interface ShoppingItemPricePersistence
- All Superinterfaces:
- BasePersistence
public interface ShoppingItemPricePersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(java.util.List<ShoppingItemPrice> shoppingItemPrices)
|
void |
cacheResult(ShoppingItemPrice shoppingItemPrice)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByItemId(long itemId)
|
ShoppingItemPrice |
create(long itemPriceId)
|
ShoppingItemPrice |
fetchByPrimaryKey(long itemPriceId)
|
java.util.List<ShoppingItemPrice> |
findAll()
|
java.util.List<ShoppingItemPrice> |
findAll(int start,
int end)
|
java.util.List<ShoppingItemPrice> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingItemPrice |
findByItemId_First(long itemId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingItemPrice |
findByItemId_Last(long itemId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingItemPrice[] |
findByItemId_PrevAndNext(long itemPriceId,
long itemId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<ShoppingItemPrice> |
findByItemId(long itemId)
|
java.util.List<ShoppingItemPrice> |
findByItemId(long itemId,
int start,
int end)
|
java.util.List<ShoppingItemPrice> |
findByItemId(long itemId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingItemPrice |
findByPrimaryKey(long itemPriceId)
|
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)
|
ShoppingItemPrice |
remove(long itemPriceId)
|
ShoppingItemPrice |
remove(ShoppingItemPrice shoppingItemPrice)
|
void |
removeAll()
|
void |
removeByItemId(long itemId)
|
ShoppingItemPrice |
update(ShoppingItemPrice shoppingItemPrice)
Deprecated. Use update(ShoppingItemPrice shoppingItemPrice, boolean merge) . |
ShoppingItemPrice |
update(ShoppingItemPrice shoppingItemPrice,
boolean merge)
Add, update, or merge, the entity. |
ShoppingItemPrice |
updateImpl(ShoppingItemPrice shoppingItemPrice,
boolean merge)
|
cacheResult
void cacheResult(ShoppingItemPrice shoppingItemPrice)
cacheResult
void cacheResult(java.util.List<ShoppingItemPrice> shoppingItemPrices)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
ShoppingItemPrice create(long itemPriceId)
remove
ShoppingItemPrice remove(long itemPriceId)
throws com.liferay.portal.SystemException,
NoSuchItemPriceException
- Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException
remove
ShoppingItemPrice remove(ShoppingItemPrice shoppingItemPrice)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
ShoppingItemPrice update(ShoppingItemPrice shoppingItemPrice)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(ShoppingItemPrice shoppingItemPrice, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
ShoppingItemPrice update(ShoppingItemPrice shoppingItemPrice,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
shoppingItemPrice
- 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 shoppingItemPrice is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
ShoppingItemPrice updateImpl(ShoppingItemPrice shoppingItemPrice,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
ShoppingItemPrice findByPrimaryKey(long itemPriceId)
throws com.liferay.portal.SystemException,
NoSuchItemPriceException
- Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException
fetchByPrimaryKey
ShoppingItemPrice fetchByPrimaryKey(long itemPriceId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByItemId
java.util.List<ShoppingItemPrice> findByItemId(long itemId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByItemId
java.util.List<ShoppingItemPrice> findByItemId(long itemId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByItemId
java.util.List<ShoppingItemPrice> findByItemId(long itemId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByItemId_First
ShoppingItemPrice findByItemId_First(long itemId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchItemPriceException
- Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException
findByItemId_Last
ShoppingItemPrice findByItemId_Last(long itemId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchItemPriceException
- Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException
findByItemId_PrevAndNext
ShoppingItemPrice[] findByItemId_PrevAndNext(long itemPriceId,
long itemId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchItemPriceException
- Throws:
com.liferay.portal.SystemException
NoSuchItemPriceException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingItemPrice> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingItemPrice> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ShoppingItemPrice> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByItemId
void removeByItemId(long itemId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByItemId
int countByItemId(long itemId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException