com.liferay.portlet.shopping.service.persistence
Interface ShoppingCouponPersistence
- public interface ShoppingCouponPersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByCode(java.lang.String code)
|
int |
countByGroupId(long groupId)
|
ShoppingCoupon |
create(long couponId)
|
ShoppingCoupon |
fetchByCode(java.lang.String code)
|
ShoppingCoupon |
fetchByPrimaryKey(long couponId)
|
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)
|
ShoppingCoupon |
findByCode(java.lang.String code)
|
ShoppingCoupon |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingCoupon |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingCoupon[] |
findByGroupId_PrevAndNext(long couponId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByGroupId(long groupId)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ShoppingCoupon |
findByPrimaryKey(long couponId)
|
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)
|
ShoppingCoupon |
remove(long couponId)
|
ShoppingCoupon |
remove(ShoppingCoupon shoppingCoupon)
|
void |
removeAll()
|
void |
removeByCode(java.lang.String code)
|
void |
removeByGroupId(long groupId)
|
ShoppingCoupon |
update(ShoppingCoupon shoppingCoupon)
|
ShoppingCoupon |
update(ShoppingCoupon shoppingCoupon,
boolean merge)
|
ShoppingCoupon |
updateImpl(ShoppingCoupon shoppingCoupon,
boolean merge)
|
create
public ShoppingCoupon create(long couponId)
remove
public ShoppingCoupon remove(long couponId)
throws com.liferay.portal.SystemException,
NoSuchCouponException
- Throws:
com.liferay.portal.SystemException
NoSuchCouponException
remove
public ShoppingCoupon remove(ShoppingCoupon shoppingCoupon)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public ShoppingCoupon update(ShoppingCoupon shoppingCoupon)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public ShoppingCoupon update(ShoppingCoupon shoppingCoupon,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public ShoppingCoupon updateImpl(ShoppingCoupon shoppingCoupon,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public ShoppingCoupon findByPrimaryKey(long couponId)
throws com.liferay.portal.SystemException,
NoSuchCouponException
- Throws:
com.liferay.portal.SystemException
NoSuchCouponException
fetchByPrimaryKey
public ShoppingCoupon fetchByPrimaryKey(long couponId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public ShoppingCoupon findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCouponException
- Throws:
com.liferay.portal.SystemException
NoSuchCouponException
findByGroupId_Last
public ShoppingCoupon findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCouponException
- Throws:
com.liferay.portal.SystemException
NoSuchCouponException
findByGroupId_PrevAndNext
public ShoppingCoupon[] findByGroupId_PrevAndNext(long couponId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchCouponException
- Throws:
com.liferay.portal.SystemException
NoSuchCouponException
findByCode
public ShoppingCoupon findByCode(java.lang.String code)
throws com.liferay.portal.SystemException,
NoSuchCouponException
- Throws:
com.liferay.portal.SystemException
NoSuchCouponException
fetchByCode
public ShoppingCoupon fetchByCode(java.lang.String code)
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
removeByGroupId
public void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCode
public void removeByCode(java.lang.String code)
throws com.liferay.portal.SystemException,
NoSuchCouponException
- Throws:
com.liferay.portal.SystemException
NoSuchCouponException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCode
public int countByCode(java.lang.String code)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException