com.liferay.portlet.shopping.service
Class ShoppingCouponLocalServiceWrapper
java.lang.Object
com.liferay.portlet.shopping.service.ShoppingCouponLocalServiceWrapper
- All Implemented Interfaces:
- ShoppingCouponLocalService
public class ShoppingCouponLocalServiceWrapper
- extends java.lang.Object
- implements ShoppingCouponLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for ShoppingCouponLocalService
.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingCouponLocalService
- Generated:
Method Summary |
ShoppingCoupon |
addCoupon(long userId,
java.lang.String code,
boolean autoCode,
java.lang.String name,
java.lang.String description,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int endDateHour,
int endDateMinute,
boolean neverExpire,
boolean active,
java.lang.String limitCategories,
java.lang.String limitSkus,
double minOrder,
double discount,
java.lang.String discountType,
ServiceContext serviceContext)
|
ShoppingCoupon |
addShoppingCoupon(ShoppingCoupon shoppingCoupon)
|
ShoppingCoupon |
createShoppingCoupon(long couponId)
|
void |
deleteCoupon(long couponId)
|
void |
deleteCoupons(long groupId)
|
void |
deleteShoppingCoupon(long couponId)
|
void |
deleteShoppingCoupon(ShoppingCoupon shoppingCoupon)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
ShoppingCoupon |
getCoupon(long couponId)
|
ShoppingCoupon |
getCoupon(java.lang.String code)
|
ShoppingCoupon |
getShoppingCoupon(long couponId)
|
java.util.List<ShoppingCoupon> |
getShoppingCoupons(int start,
int end)
|
int |
getShoppingCouponsCount()
|
ShoppingCouponLocalService |
getWrappedShoppingCouponLocalService()
|
java.util.List<ShoppingCoupon> |
search(long groupId,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator,
int start,
int end)
|
int |
searchCount(long groupId,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator)
|
ShoppingCoupon |
updateCoupon(long userId,
long couponId,
java.lang.String name,
java.lang.String description,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int endDateHour,
int endDateMinute,
boolean neverExpire,
boolean active,
java.lang.String limitCategories,
java.lang.String limitSkus,
double minOrder,
double discount,
java.lang.String discountType,
ServiceContext serviceContext)
|
ShoppingCoupon |
updateShoppingCoupon(ShoppingCoupon shoppingCoupon)
|
ShoppingCoupon |
updateShoppingCoupon(ShoppingCoupon shoppingCoupon,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingCouponLocalServiceWrapper
public ShoppingCouponLocalServiceWrapper(ShoppingCouponLocalService shoppingCouponLocalService)
addShoppingCoupon
public ShoppingCoupon addShoppingCoupon(ShoppingCoupon shoppingCoupon)
throws com.liferay.portal.SystemException
- Specified by:
addShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
createShoppingCoupon
public ShoppingCoupon createShoppingCoupon(long couponId)
- Specified by:
createShoppingCoupon
in interface ShoppingCouponLocalService
deleteShoppingCoupon
public void deleteShoppingCoupon(long couponId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteShoppingCoupon
public void deleteShoppingCoupon(ShoppingCoupon shoppingCoupon)
throws com.liferay.portal.SystemException
- Specified by:
deleteShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQueryCount
public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQueryCount
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
getShoppingCoupon
public ShoppingCoupon getShoppingCoupon(long couponId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getShoppingCoupons
public java.util.List<ShoppingCoupon> getShoppingCoupons(int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
getShoppingCoupons
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
getShoppingCouponsCount
public int getShoppingCouponsCount()
throws com.liferay.portal.SystemException
- Specified by:
getShoppingCouponsCount
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
updateShoppingCoupon
public ShoppingCoupon updateShoppingCoupon(ShoppingCoupon shoppingCoupon)
throws com.liferay.portal.SystemException
- Specified by:
updateShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
updateShoppingCoupon
public ShoppingCoupon updateShoppingCoupon(ShoppingCoupon shoppingCoupon,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
updateShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
addCoupon
public ShoppingCoupon addCoupon(long userId,
java.lang.String code,
boolean autoCode,
java.lang.String name,
java.lang.String description,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int endDateHour,
int endDateMinute,
boolean neverExpire,
boolean active,
java.lang.String limitCategories,
java.lang.String limitSkus,
double minOrder,
double discount,
java.lang.String discountType,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteCoupon
public void deleteCoupon(long couponId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteCoupons
public void deleteCoupons(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
deleteCoupons
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
getCoupon
public ShoppingCoupon getCoupon(long couponId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCoupon
public ShoppingCoupon getCoupon(java.lang.String code)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
search
public java.util.List<ShoppingCoupon> search(long groupId,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
search
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
searchCount
public int searchCount(long groupId,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator)
throws com.liferay.portal.SystemException
- Specified by:
searchCount
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.SystemException
updateCoupon
public ShoppingCoupon updateCoupon(long userId,
long couponId,
java.lang.String name,
java.lang.String description,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute,
int endDateMonth,
int endDateDay,
int endDateYear,
int endDateHour,
int endDateMinute,
boolean neverExpire,
boolean active,
java.lang.String limitCategories,
java.lang.String limitSkus,
double minOrder,
double discount,
java.lang.String discountType,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateCoupon
in interface ShoppingCouponLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWrappedShoppingCouponLocalService
public ShoppingCouponLocalService getWrappedShoppingCouponLocalService()