|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.shopping.service.ShoppingCouponServiceUtil
public class ShoppingCouponServiceUtil
The utility for the shopping coupon remote service. This utility wraps com.liferay.portlet.shopping.service.impl.ShoppingCouponServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
ShoppingCouponService
,
com.liferay.portlet.shopping.service.base.ShoppingCouponServiceBaseImpl
,
com.liferay.portlet.shopping.service.impl.ShoppingCouponServiceImpl
Constructor Summary | |
---|---|
ShoppingCouponServiceUtil()
|
Method Summary | |
---|---|
static ShoppingCoupon |
addCoupon(String code,
boolean autoCode,
String name,
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,
String limitCategories,
String limitSkus,
double minOrder,
double discount,
String discountType,
ServiceContext serviceContext)
|
static void |
deleteCoupon(long groupId,
long couponId)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static ShoppingCoupon |
getCoupon(long groupId,
long couponId)
|
static ShoppingCouponService |
getService()
|
static List<ShoppingCoupon> |
search(long groupId,
long companyId,
String code,
boolean active,
String discountType,
boolean andOperator,
int start,
int end)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(ShoppingCouponService service)
Deprecated. |
static ShoppingCoupon |
updateCoupon(long couponId,
String name,
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,
String limitCategories,
String limitSkus,
double minOrder,
double discount,
String discountType,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShoppingCouponServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static ShoppingCoupon addCoupon(String code, boolean autoCode, String name, 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, String limitCategories, String limitSkus, double minOrder, double discount, String discountType, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void deleteCoupon(long groupId, long couponId) throws PortalException, SystemException
PortalException
SystemException
public static ShoppingCoupon getCoupon(long groupId, long couponId) throws PortalException, SystemException
PortalException
SystemException
public static List<ShoppingCoupon> search(long groupId, long companyId, String code, boolean active, String discountType, boolean andOperator, int start, int end) throws PortalException, SystemException
PortalException
SystemException
public static ShoppingCoupon updateCoupon(long couponId, String name, 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, String limitCategories, String limitSkus, double minOrder, double discount, String discountType, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static ShoppingCouponService getService()
public void setService(ShoppingCouponService service)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |