com.liferay.portlet.shopping.service.impl
Class ShoppingCouponServiceImpl
java.lang.Object
com.liferay.portal.service.base.PrincipalBean
com.liferay.portlet.shopping.service.base.ShoppingCouponServiceBaseImpl
com.liferay.portlet.shopping.service.impl.ShoppingCouponServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.shopping.service.ShoppingCouponService
public class ShoppingCouponServiceImpl
- extends ShoppingCouponServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.shopping.service.base.ShoppingCouponServiceBaseImpl |
counterLocalService, counterService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, shoppingCartLocalService, shoppingCartPersistence, shoppingCategoryLocalService, shoppingCategoryPersistence, shoppingCategoryService, shoppingCouponFinder, shoppingCouponLocalService, shoppingCouponPersistence, shoppingCouponService, shoppingItemFieldLocalService, shoppingItemFieldPersistence, shoppingItemFinder, shoppingItemLocalService, shoppingItemPersistence, shoppingItemPriceLocalService, shoppingItemPricePersistence, shoppingItemService, shoppingOrderFinder, shoppingOrderItemLocalService, shoppingOrderItemPersistence, shoppingOrderLocalService, shoppingOrderPersistence, shoppingOrderService, userFinder, userLocalService, userPersistence, userService |
Fields inherited from class com.liferay.portal.service.base.PrincipalBean |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
Method Summary |
com.liferay.portlet.shopping.model.ShoppingCoupon |
addCoupon(long plid,
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)
|
void |
deleteCoupon(long plid,
long couponId)
|
com.liferay.portlet.shopping.model.ShoppingCoupon |
getCoupon(long plid,
long couponId)
|
java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> |
search(long plid,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator,
int start,
int end)
|
com.liferay.portlet.shopping.model.ShoppingCoupon |
updateCoupon(long plid,
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)
|
Methods inherited from class com.liferay.portlet.shopping.service.base.ShoppingCouponServiceBaseImpl |
getCounterLocalService, getCounterService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getShoppingCartLocalService, getShoppingCartPersistence, getShoppingCategoryLocalService, getShoppingCategoryPersistence, getShoppingCategoryService, getShoppingCouponFinder, getShoppingCouponLocalService, getShoppingCouponPersistence, getShoppingCouponService, getShoppingItemFieldLocalService, getShoppingItemFieldPersistence, getShoppingItemFinder, getShoppingItemLocalService, getShoppingItemPersistence, getShoppingItemPriceLocalService, getShoppingItemPricePersistence, getShoppingItemService, getShoppingOrderFinder, getShoppingOrderItemLocalService, getShoppingOrderItemPersistence, getShoppingOrderLocalService, getShoppingOrderPersistence, getShoppingOrderService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setCounterService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setShoppingCartLocalService, setShoppingCartPersistence, setShoppingCategoryLocalService, setShoppingCategoryPersistence, setShoppingCategoryService, setShoppingCouponFinder, setShoppingCouponLocalService, setShoppingCouponPersistence, setShoppingCouponService, setShoppingItemFieldLocalService, setShoppingItemFieldPersistence, setShoppingItemFinder, setShoppingItemLocalService, setShoppingItemPersistence, setShoppingItemPriceLocalService, setShoppingItemPricePersistence, setShoppingItemService, setShoppingOrderFinder, setShoppingOrderItemLocalService, setShoppingOrderItemPersistence, setShoppingOrderLocalService, setShoppingOrderPersistence, setShoppingOrderService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
Methods inherited from class com.liferay.portal.service.base.PrincipalBean |
getGuestOrUserId, getPermissionChecker, getUser, getUserId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingCouponServiceImpl
public ShoppingCouponServiceImpl()
addCoupon
public com.liferay.portlet.shopping.model.ShoppingCoupon addCoupon(long plid,
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)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteCoupon
public void deleteCoupon(long plid,
long couponId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCoupon
public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon(long plid,
long couponId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
search
public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> search(long plid,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator,
int start,
int end)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateCoupon
public com.liferay.portlet.shopping.model.ShoppingCoupon updateCoupon(long plid,
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)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException