|
Liferay 6.2.0 | |||||||||
| 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 ShoppingCouponServiceProvides 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,
ShoppingCouponServiceBaseImpl,
ShoppingCouponServiceImpl| Method Summary | |
|---|---|
abstract 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)
|
abstract void |
deleteCoupon(long groupId,
long couponId)
|
abstract String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
abstract ShoppingCoupon |
getCoupon(long groupId,
long couponId)
|
abstract List<ShoppingCoupon> |
search(long groupId,
long companyId,
String code,
boolean active,
String discountType,
boolean andOperator,
int start,
int end)
|
abstract void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
abstract 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 bean
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
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.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||