com.liferay.portlet.shopping.service
Interface ShoppingCategoryLocalService
- public interface ShoppingCategoryLocalService
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.ShoppingCategoryLocalServiceImpl
.
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:
ShoppingCategoryLocalServiceFactory
,
ShoppingCategoryLocalServiceUtil
Method Summary |
ShoppingCategory |
addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
ShoppingCategory |
addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
ShoppingCategory |
addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addCategoryResources(long categoryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addCategoryResources(long categoryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addCategoryResources(ShoppingCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addCategoryResources(ShoppingCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
ShoppingCategory |
addShoppingCategory(ShoppingCategory model)
|
void |
afterPropertiesSet()
|
void |
deleteCategories(long groupId)
|
void |
deleteCategory(long categoryId)
|
void |
deleteCategory(ShoppingCategory category)
|
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)
|
java.util.List |
getCategories(long groupId)
|
java.util.List |
getCategories(long groupId,
long parentCategoryId,
int begin,
int end)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
ShoppingCategory |
getCategory(long categoryId)
|
java.util.List |
getParentCategories(long categoryId)
|
java.util.List |
getParentCategories(ShoppingCategory category)
|
ShoppingCategory |
getParentCategory(ShoppingCategory category)
|
ResourceFinder |
getResourceFinder()
|
ResourcePersistence |
getResourcePersistence()
|
ShoppingCartPersistence |
getShoppingCartPersistence()
|
ShoppingCategoryPersistence |
getShoppingCategoryPersistence()
|
ShoppingCouponFinder |
getShoppingCouponFinder()
|
ShoppingCouponPersistence |
getShoppingCouponPersistence()
|
ShoppingItemFieldPersistence |
getShoppingItemFieldPersistence()
|
ShoppingItemFinder |
getShoppingItemFinder()
|
ShoppingItemPersistence |
getShoppingItemPersistence()
|
ShoppingItemPricePersistence |
getShoppingItemPricePersistence()
|
ShoppingOrderFinder |
getShoppingOrderFinder()
|
ShoppingOrderItemPersistence |
getShoppingOrderItemPersistence()
|
ShoppingOrderPersistence |
getShoppingOrderPersistence()
|
void |
getSubcategoryIds(java.util.List categoryIds,
long groupId,
long categoryId)
|
UserFinder |
getUserFinder()
|
UserPersistence |
getUserPersistence()
|
void |
setResourceFinder(ResourceFinder resourceFinder)
|
void |
setResourcePersistence(ResourcePersistence resourcePersistence)
|
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)
|
ShoppingCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory)
|
ShoppingCategory |
updateShoppingCategory(ShoppingCategory model)
|
addShoppingCategory
public ShoppingCategory addShoppingCategory(ShoppingCategory 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
updateShoppingCategory
public ShoppingCategory updateShoppingCategory(ShoppingCategory 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)
getResourcePersistence
public ResourcePersistence getResourcePersistence()
setResourcePersistence
public void setResourcePersistence(ResourcePersistence resourcePersistence)
getResourceFinder
public ResourceFinder getResourceFinder()
setResourceFinder
public void setResourceFinder(ResourceFinder resourceFinder)
getUserPersistence
public UserPersistence getUserPersistence()
setUserPersistence
public void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public UserFinder getUserFinder()
setUserFinder
public void setUserFinder(UserFinder userFinder)
afterPropertiesSet
public void afterPropertiesSet()
addCategory
public ShoppingCategory addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategory
public ShoppingCategory addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategory
public ShoppingCategory addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategoryResources
public void addCategoryResources(long categoryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategoryResources
public void addCategoryResources(ShoppingCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategoryResources
public void addCategoryResources(long categoryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategoryResources
public void addCategoryResources(ShoppingCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteCategories
public void deleteCategories(long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteCategory
public void deleteCategory(long categoryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteCategory
public void deleteCategory(ShoppingCategory category)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCategories
public java.util.List getCategories(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategories
public java.util.List getCategories(long groupId,
long parentCategoryId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategory
public ShoppingCategory getCategory(long categoryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getParentCategory
public ShoppingCategory getParentCategory(ShoppingCategory category)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getParentCategories
public java.util.List getParentCategories(long categoryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getParentCategories
public java.util.List getParentCategories(ShoppingCategory category)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getSubcategoryIds
public void getSubcategoryIds(java.util.List categoryIds,
long groupId,
long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateCategory
public ShoppingCategory updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException