@ProviderType public class ShoppingCouponServiceWrapper extends java.lang.Object implements ShoppingCouponService, ServiceWrapper<ShoppingCouponService>
ShoppingCouponService.ShoppingCouponService| Constructor and Description |
|---|
ShoppingCouponServiceWrapper(ShoppingCouponService shoppingCouponService) |
| Modifier and Type | Method and Description |
|---|---|
ShoppingCoupon |
addCoupon(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) |
void |
deleteCoupon(long groupId,
long couponId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
ShoppingCoupon |
getCoupon(long groupId,
long couponId) |
ShoppingCouponService |
getWrappedService() |
ShoppingCouponService |
getWrappedShoppingCouponService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
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) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedService(ShoppingCouponService shoppingCouponService) |
void |
setWrappedShoppingCouponService(ShoppingCouponService shoppingCouponService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.shopping.service.ShoppingCouponService) |
ShoppingCoupon |
updateCoupon(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) |
public ShoppingCouponServiceWrapper(ShoppingCouponService shoppingCouponService)
public ShoppingCoupon addCoupon(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
addCoupon in interface ShoppingCouponServicePortalExceptionpublic void deleteCoupon(long groupId,
long couponId)
throws PortalException
deleteCoupon in interface ShoppingCouponServicePortalExceptionpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface ShoppingCouponServicepublic ShoppingCoupon getCoupon(long groupId, long couponId) throws PortalException
getCoupon in interface ShoppingCouponServicePortalExceptionpublic 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 PortalException
search in interface ShoppingCouponServicePortalExceptionpublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface ShoppingCouponServicebeanIdentifier - the Spring bean ID for this beanpublic ShoppingCoupon updateCoupon(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
updateCoupon in interface ShoppingCouponServicePortalException@Deprecated public ShoppingCouponService getWrappedShoppingCouponService()
getWrappedService()@Deprecated public void setWrappedShoppingCouponService(ShoppingCouponService shoppingCouponService)
setWrappedService(com.liferay.portlet.shopping.service.ShoppingCouponService)public ShoppingCouponService getWrappedService()
getWrappedService in interface ServiceWrapper<ShoppingCouponService>public void setWrappedService(ShoppingCouponService shoppingCouponService)
setWrappedService in interface ServiceWrapper<ShoppingCouponService>