com.liferay.portlet.shopping.service
Interface ShoppingCouponLocalService
- public interface ShoppingCouponLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.shopping.service.impl.ShoppingCouponLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingCouponLocalServiceFactory
,
ShoppingCouponLocalServiceUtil
Method Summary |
ShoppingCoupon |
addCoupon(long userId,
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)
|
ShoppingCoupon |
addShoppingCoupon(ShoppingCoupon model)
|
void |
afterPropertiesSet()
|
void |
deleteCoupon(long couponId)
|
void |
deleteCoupons(long groupId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
ShoppingCoupon |
getCoupon(long couponId)
|
ShoppingCoupon |
getCoupon(java.lang.String code)
|
ShoppingCartPersistence |
getShoppingCartPersistence()
|
ShoppingCategoryPersistence |
getShoppingCategoryPersistence()
|
ShoppingCouponFinder |
getShoppingCouponFinder()
|
ShoppingCouponPersistence |
getShoppingCouponPersistence()
|
ShoppingItemFieldPersistence |
getShoppingItemFieldPersistence()
|
ShoppingItemFinder |
getShoppingItemFinder()
|
ShoppingItemPersistence |
getShoppingItemPersistence()
|
ShoppingItemPricePersistence |
getShoppingItemPricePersistence()
|
ShoppingOrderFinder |
getShoppingOrderFinder()
|
ShoppingOrderItemPersistence |
getShoppingOrderItemPersistence()
|
ShoppingOrderPersistence |
getShoppingOrderPersistence()
|
UserFinder |
getUserFinder()
|
UserPersistence |
getUserPersistence()
|
java.util.List |
search(long plid,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator,
int begin,
int end)
|
int |
searchCount(long groupId,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator)
|
void |
setShoppingCartPersistence(ShoppingCartPersistence shoppingCartPersistence)
|
void |
setShoppingCategoryPersistence(ShoppingCategoryPersistence shoppingCategoryPersistence)
|
void |
setShoppingCouponFinder(ShoppingCouponFinder shoppingCouponFinder)
|
void |
setShoppingCouponPersistence(ShoppingCouponPersistence shoppingCouponPersistence)
|
void |
setShoppingItemFieldPersistence(ShoppingItemFieldPersistence shoppingItemFieldPersistence)
|
void |
setShoppingItemFinder(ShoppingItemFinder shoppingItemFinder)
|
void |
setShoppingItemPersistence(ShoppingItemPersistence shoppingItemPersistence)
|
void |
setShoppingItemPricePersistence(ShoppingItemPricePersistence shoppingItemPricePersistence)
|
void |
setShoppingOrderFinder(ShoppingOrderFinder shoppingOrderFinder)
|
void |
setShoppingOrderItemPersistence(ShoppingOrderItemPersistence shoppingOrderItemPersistence)
|
void |
setShoppingOrderPersistence(ShoppingOrderPersistence shoppingOrderPersistence)
|
void |
setUserFinder(UserFinder userFinder)
|
void |
setUserPersistence(UserPersistence userPersistence)
|
ShoppingCoupon |
updateCoupon(long userId,
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)
|
ShoppingCoupon |
updateShoppingCoupon(ShoppingCoupon model)
|
addShoppingCoupon
public ShoppingCoupon addShoppingCoupon(ShoppingCoupon model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateShoppingCoupon
public ShoppingCoupon updateShoppingCoupon(ShoppingCoupon model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getShoppingCartPersistence
public ShoppingCartPersistence getShoppingCartPersistence()
setShoppingCartPersistence
public void setShoppingCartPersistence(ShoppingCartPersistence shoppingCartPersistence)
getShoppingCategoryPersistence
public ShoppingCategoryPersistence getShoppingCategoryPersistence()
setShoppingCategoryPersistence
public void setShoppingCategoryPersistence(ShoppingCategoryPersistence shoppingCategoryPersistence)
getShoppingCouponPersistence
public ShoppingCouponPersistence getShoppingCouponPersistence()
setShoppingCouponPersistence
public void setShoppingCouponPersistence(ShoppingCouponPersistence shoppingCouponPersistence)
getShoppingCouponFinder
public ShoppingCouponFinder getShoppingCouponFinder()
setShoppingCouponFinder
public void setShoppingCouponFinder(ShoppingCouponFinder shoppingCouponFinder)
getShoppingItemPersistence
public ShoppingItemPersistence getShoppingItemPersistence()
setShoppingItemPersistence
public void setShoppingItemPersistence(ShoppingItemPersistence shoppingItemPersistence)
getShoppingItemFinder
public ShoppingItemFinder getShoppingItemFinder()
setShoppingItemFinder
public void setShoppingItemFinder(ShoppingItemFinder shoppingItemFinder)
getShoppingItemFieldPersistence
public ShoppingItemFieldPersistence getShoppingItemFieldPersistence()
setShoppingItemFieldPersistence
public void setShoppingItemFieldPersistence(ShoppingItemFieldPersistence shoppingItemFieldPersistence)
getShoppingItemPricePersistence
public ShoppingItemPricePersistence getShoppingItemPricePersistence()
setShoppingItemPricePersistence
public void setShoppingItemPricePersistence(ShoppingItemPricePersistence shoppingItemPricePersistence)
getShoppingOrderPersistence
public ShoppingOrderPersistence getShoppingOrderPersistence()
setShoppingOrderPersistence
public void setShoppingOrderPersistence(ShoppingOrderPersistence shoppingOrderPersistence)
getShoppingOrderFinder
public ShoppingOrderFinder getShoppingOrderFinder()
setShoppingOrderFinder
public void setShoppingOrderFinder(ShoppingOrderFinder shoppingOrderFinder)
getShoppingOrderItemPersistence
public ShoppingOrderItemPersistence getShoppingOrderItemPersistence()
setShoppingOrderItemPersistence
public void setShoppingOrderItemPersistence(ShoppingOrderItemPersistence shoppingOrderItemPersistence)
getUserPersistence
public UserPersistence getUserPersistence()
setUserPersistence
public void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public UserFinder getUserFinder()
setUserFinder
public void setUserFinder(UserFinder userFinder)
afterPropertiesSet
public void afterPropertiesSet()
addCoupon
public ShoppingCoupon addCoupon(long userId,
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteCoupon
public void deleteCoupon(long couponId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteCoupons
public void deleteCoupons(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCoupon
public ShoppingCoupon getCoupon(long couponId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCoupon
public ShoppingCoupon getCoupon(java.lang.String code)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
search
public java.util.List search(long plid,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public int searchCount(long groupId,
long companyId,
java.lang.String code,
boolean active,
java.lang.String discountType,
boolean andOperator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateCoupon
public ShoppingCoupon updateCoupon(long userId,
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException