|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface ShoppingCouponService
Provides the remote service interface for ShoppingCoupon. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
ShoppingCouponServiceUtil
,
com.liferay.portlet.shopping.service.base.ShoppingCouponServiceBaseImpl
,
com.liferay.portlet.shopping.service.impl.ShoppingCouponServiceImpl
Method Summary | |
---|---|
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)
|
void |
deleteCoupon(long groupId,
long couponId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
ShoppingCoupon |
getCoupon(long groupId,
long couponId)
|
List<ShoppingCoupon> |
search(long groupId,
long companyId,
String code,
boolean active,
String discountType,
boolean andOperator,
int start,
int end)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
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)
|
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanShoppingCoupon 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
void deleteCoupon(long groupId, long couponId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) ShoppingCoupon getCoupon(long groupId, long couponId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<ShoppingCoupon> search(long groupId, long companyId, String code, boolean active, String discountType, boolean andOperator, int start, int end) throws PortalException, SystemException
PortalException
SystemException
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
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |