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(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(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 SystemException
- Specified by:
addShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
SystemException
createShoppingCoupon
public ShoppingCoupon createShoppingCoupon(long couponId)
- Specified by:
createShoppingCoupon
in interface ShoppingCouponLocalService
deleteShoppingCoupon
public void deleteShoppingCoupon(long couponId)
throws PortalException,
SystemException
- Specified by:
deleteShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
PortalException
SystemException
deleteShoppingCoupon
public void deleteShoppingCoupon(ShoppingCoupon shoppingCoupon)
throws SystemException
- Specified by:
deleteShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
SystemException
dynamicQuery
public java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQuery
in interface ShoppingCouponLocalService
- Throws:
SystemException
dynamicQuery
public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Specified by:
dynamicQuery
in interface ShoppingCouponLocalService
- Throws:
SystemException
dynamicQuery
public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Specified by:
dynamicQuery
in interface ShoppingCouponLocalService
- Throws:
SystemException
dynamicQueryCount
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQueryCount
in interface ShoppingCouponLocalService
- Throws:
SystemException
getShoppingCoupon
public ShoppingCoupon getShoppingCoupon(long couponId)
throws PortalException,
SystemException
- Specified by:
getShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
PortalException
SystemException
getShoppingCoupons
public java.util.List<ShoppingCoupon> getShoppingCoupons(int start,
int end)
throws SystemException
- Specified by:
getShoppingCoupons
in interface ShoppingCouponLocalService
- Throws:
SystemException
getShoppingCouponsCount
public int getShoppingCouponsCount()
throws SystemException
- Specified by:
getShoppingCouponsCount
in interface ShoppingCouponLocalService
- Throws:
SystemException
updateShoppingCoupon
public ShoppingCoupon updateShoppingCoupon(ShoppingCoupon shoppingCoupon)
throws SystemException
- Specified by:
updateShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
SystemException
updateShoppingCoupon
public ShoppingCoupon updateShoppingCoupon(ShoppingCoupon shoppingCoupon,
boolean merge)
throws SystemException
- Specified by:
updateShoppingCoupon
in interface ShoppingCouponLocalService
- Throws:
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 PortalException,
SystemException
- Specified by:
addCoupon
in interface ShoppingCouponLocalService
- Throws:
PortalException
SystemException
deleteCoupon
public void deleteCoupon(long couponId)
throws PortalException,
SystemException
- Specified by:
deleteCoupon
in interface ShoppingCouponLocalService
- Throws:
PortalException
SystemException
deleteCoupons
public void deleteCoupons(long groupId)
throws SystemException
- Specified by:
deleteCoupons
in interface ShoppingCouponLocalService
- Throws:
SystemException
getCoupon
public ShoppingCoupon getCoupon(long couponId)
throws PortalException,
SystemException
- Specified by:
getCoupon
in interface ShoppingCouponLocalService
- Throws:
PortalException
SystemException
getCoupon
public ShoppingCoupon getCoupon(java.lang.String code)
throws PortalException,
SystemException
- Specified by:
getCoupon
in interface ShoppingCouponLocalService
- Throws:
PortalException
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 SystemException
- Specified by:
search
in interface ShoppingCouponLocalService
- Throws:
SystemException
searchCount
public int searchCount(long groupId,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator)
throws SystemException
- Specified by:
searchCount
in interface ShoppingCouponLocalService
- Throws:
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 PortalException,
SystemException
- Specified by:
updateCoupon
in interface ShoppingCouponLocalService
- Throws:
PortalException
SystemException
getWrappedShoppingCouponLocalService
public ShoppingCouponLocalService getWrappedShoppingCouponLocalService()