com.liferay.portlet.shopping.service
Class ShoppingCouponLocalServiceWrapper
java.lang.Object
com.liferay.portlet.shopping.service.ShoppingCouponLocalServiceWrapper
- All Implemented Interfaces:
- ShoppingCouponLocalService
public class ShoppingCouponLocalServiceWrapper
- extends Object
- implements ShoppingCouponLocalService
This class is a wrapper for ShoppingCouponLocalService.
- See Also:
ShoppingCouponLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
ShoppingCoupon |
addCoupon(long userId,
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)
|
ShoppingCoupon |
addShoppingCoupon(ShoppingCoupon shoppingCoupon)
|
ShoppingCoupon |
createShoppingCoupon(long couponId)
|
void |
deleteCoupon(long couponId)
|
void |
deleteCoupons(long groupId)
|
void |
deleteShoppingCoupon(long couponId)
|
void |
deleteShoppingCoupon(ShoppingCoupon shoppingCoupon)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
ShoppingCoupon |
getCoupon(long couponId)
|
ShoppingCoupon |
getCoupon(String code)
|
ShoppingCoupon |
getShoppingCoupon(long couponId)
|
List<ShoppingCoupon> |
getShoppingCoupons(int start,
int end)
|
int |
getShoppingCouponsCount()
|
ShoppingCouponLocalService |
getWrappedShoppingCouponLocalService()
|
List<ShoppingCoupon> |
search(long groupId,
long companyId,
String code,
boolean active,
String discountType,
boolean andOperator,
int start,
int end)
|
int |
searchCount(long groupId,
long companyId,
String code,
boolean active,
String discountType,
boolean andOperator)
|
ShoppingCoupon |
updateCoupon(long userId,
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)
|
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 List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQuery in interface ShoppingCouponLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Specified by:
dynamicQuery in interface ShoppingCouponLocalService
- Throws:
SystemException
dynamicQuery
public 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 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,
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
- 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(String code)
throws PortalException,
SystemException
- Specified by:
getCoupon in interface ShoppingCouponLocalService
- Throws:
PortalException
SystemException
search
public List<ShoppingCoupon> search(long groupId,
long companyId,
String code,
boolean active,
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,
String code,
boolean active,
String discountType,
boolean andOperator)
throws SystemException
- Specified by:
searchCount in interface ShoppingCouponLocalService
- Throws:
SystemException
updateCoupon
public ShoppingCoupon updateCoupon(long userId,
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
- Specified by:
updateCoupon in interface ShoppingCouponLocalService
- Throws:
PortalException
SystemException
getWrappedShoppingCouponLocalService
public ShoppingCouponLocalService getWrappedShoppingCouponLocalService()