|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShoppingCartPersistence
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
ShoppingCartPersistenceImpl
,
ShoppingCartUtil
Method Summary | |
---|---|
void |
cacheResult(java.util.List<ShoppingCart> shoppingCarts)
|
void |
cacheResult(ShoppingCart shoppingCart)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByG_U(long groupId,
long userId)
|
int |
countByGroupId(long groupId)
|
int |
countByUserId(long userId)
|
ShoppingCart |
create(long cartId)
|
ShoppingCart |
fetchByG_U(long groupId,
long userId)
|
ShoppingCart |
fetchByG_U(long groupId,
long userId,
boolean retrieveFromCache)
|
ShoppingCart |
fetchByPrimaryKey(long cartId)
|
java.util.List<ShoppingCart> |
findAll()
|
java.util.List<ShoppingCart> |
findAll(int start,
int end)
|
java.util.List<ShoppingCart> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingCart |
findByG_U(long groupId,
long userId)
|
ShoppingCart |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingCart |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingCart[] |
findByGroupId_PrevAndNext(long cartId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<ShoppingCart> |
findByGroupId(long groupId)
|
java.util.List<ShoppingCart> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<ShoppingCart> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingCart |
findByPrimaryKey(long cartId)
|
ShoppingCart |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingCart |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingCart[] |
findByUserId_PrevAndNext(long cartId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<ShoppingCart> |
findByUserId(long userId)
|
java.util.List<ShoppingCart> |
findByUserId(long userId,
int start,
int end)
|
java.util.List<ShoppingCart> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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)
|
ShoppingCart |
remove(long cartId)
|
ShoppingCart |
remove(ShoppingCart shoppingCart)
|
void |
removeAll()
|
void |
removeByG_U(long groupId,
long userId)
|
void |
removeByGroupId(long groupId)
|
void |
removeByUserId(long userId)
|
ShoppingCart |
update(ShoppingCart shoppingCart)
Deprecated. Use update(ShoppingCart, boolean merge) . |
ShoppingCart |
update(ShoppingCart shoppingCart,
boolean merge)
Add, update, or merge, the entity. |
ShoppingCart |
updateImpl(ShoppingCart shoppingCart,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
getListeners, registerListener, unregisterListener |
Method Detail |
---|
void cacheResult(ShoppingCart shoppingCart)
void cacheResult(java.util.List<ShoppingCart> shoppingCarts)
void clearCache()
clearCache
in interface BasePersistence
ShoppingCart create(long cartId)
ShoppingCart remove(long cartId) throws com.liferay.portal.SystemException, NoSuchCartException
com.liferay.portal.SystemException
NoSuchCartException
ShoppingCart remove(ShoppingCart shoppingCart) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ShoppingCart update(ShoppingCart shoppingCart) throws com.liferay.portal.SystemException
update(ShoppingCart, boolean merge)
.
com.liferay.portal.SystemException
ShoppingCart update(ShoppingCart shoppingCart, boolean merge) throws com.liferay.portal.SystemException
shoppingCart
- 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 shoppingCart is transient. See
LEP-5473 for a detailed discussion of this method.
com.liferay.portal.SystemException
ShoppingCart updateImpl(ShoppingCart shoppingCart, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ShoppingCart findByPrimaryKey(long cartId) throws com.liferay.portal.SystemException, NoSuchCartException
com.liferay.portal.SystemException
NoSuchCartException
ShoppingCart fetchByPrimaryKey(long cartId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ShoppingCart> findByGroupId(long groupId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ShoppingCart> findByGroupId(long groupId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ShoppingCart> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ShoppingCart findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchCartException
com.liferay.portal.SystemException
NoSuchCartException
ShoppingCart findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchCartException
com.liferay.portal.SystemException
NoSuchCartException
ShoppingCart[] findByGroupId_PrevAndNext(long cartId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchCartException
com.liferay.portal.SystemException
NoSuchCartException
java.util.List<ShoppingCart> findByUserId(long userId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ShoppingCart> findByUserId(long userId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ShoppingCart> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ShoppingCart findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchCartException
com.liferay.portal.SystemException
NoSuchCartException
ShoppingCart findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchCartException
com.liferay.portal.SystemException
NoSuchCartException
ShoppingCart[] findByUserId_PrevAndNext(long cartId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchCartException
com.liferay.portal.SystemException
NoSuchCartException
ShoppingCart findByG_U(long groupId, long userId) throws com.liferay.portal.SystemException, NoSuchCartException
com.liferay.portal.SystemException
NoSuchCartException
ShoppingCart fetchByG_U(long groupId, long userId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ShoppingCart fetchByG_U(long groupId, long userId, boolean retrieveFromCache) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
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
java.util.List<ShoppingCart> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ShoppingCart> findAll(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ShoppingCart> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByGroupId(long groupId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByUserId(long userId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByG_U(long groupId, long userId) throws com.liferay.portal.SystemException, NoSuchCartException
com.liferay.portal.SystemException
NoSuchCartException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByGroupId(long groupId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByUserId(long userId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByG_U(long groupId, long userId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |