com.liferay.portlet.shopping.service
Class ShoppingCategoryLocalServiceWrapper
java.lang.Object
com.liferay.portlet.shopping.service.ShoppingCategoryLocalServiceWrapper
- All Implemented Interfaces:
- ShoppingCategoryLocalService
public class ShoppingCategoryLocalServiceWrapper
- extends java.lang.Object
- implements ShoppingCategoryLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for ShoppingCategoryLocalService
.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingCategoryLocalService
- Generated:
Method Summary |
ShoppingCategory |
addCategory(long userId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
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 shoppingCategory)
|
ShoppingCategory |
createShoppingCategory(long categoryId)
|
void |
deleteCategories(long groupId)
|
void |
deleteCategory(long categoryId)
|
void |
deleteCategory(ShoppingCategory category)
|
void |
deleteShoppingCategory(long categoryId)
|
void |
deleteShoppingCategory(ShoppingCategory shoppingCategory)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<ShoppingCategory> |
getCategories(long groupId)
|
java.util.List<ShoppingCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
ShoppingCategory |
getCategory(long categoryId)
|
java.util.List<ShoppingCategory> |
getParentCategories(long categoryId)
|
java.util.List<ShoppingCategory> |
getParentCategories(ShoppingCategory category)
|
ShoppingCategory |
getParentCategory(ShoppingCategory category)
|
java.util.List<ShoppingCategory> |
getShoppingCategories(int start,
int end)
|
int |
getShoppingCategoriesCount()
|
ShoppingCategory |
getShoppingCategory(long categoryId)
|
void |
getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
|
ShoppingCategoryLocalService |
getWrappedShoppingCategoryLocalService()
|
ShoppingCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
|
ShoppingCategory |
updateShoppingCategory(ShoppingCategory shoppingCategory)
|
ShoppingCategory |
updateShoppingCategory(ShoppingCategory shoppingCategory,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingCategoryLocalServiceWrapper
public ShoppingCategoryLocalServiceWrapper(ShoppingCategoryLocalService shoppingCategoryLocalService)
addShoppingCategory
public ShoppingCategory addShoppingCategory(ShoppingCategory shoppingCategory)
throws com.liferay.portal.SystemException
- Specified by:
addShoppingCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
createShoppingCategory
public ShoppingCategory createShoppingCategory(long categoryId)
- Specified by:
createShoppingCategory
in interface ShoppingCategoryLocalService
deleteShoppingCategory
public void deleteShoppingCategory(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteShoppingCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteShoppingCategory
public void deleteShoppingCategory(ShoppingCategory shoppingCategory)
throws com.liferay.portal.SystemException
- Specified by:
deleteShoppingCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQueryCount
public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQueryCount
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
getShoppingCategory
public ShoppingCategory getShoppingCategory(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getShoppingCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getShoppingCategories
public java.util.List<ShoppingCategory> getShoppingCategories(int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
getShoppingCategories
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
getShoppingCategoriesCount
public int getShoppingCategoriesCount()
throws com.liferay.portal.SystemException
- Specified by:
getShoppingCategoriesCount
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
updateShoppingCategory
public ShoppingCategory updateShoppingCategory(ShoppingCategory shoppingCategory)
throws com.liferay.portal.SystemException
- Specified by:
updateShoppingCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
updateShoppingCategory
public ShoppingCategory updateShoppingCategory(ShoppingCategory shoppingCategory,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
updateShoppingCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
addCategory
public ShoppingCategory addCategory(long userId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategoryResources
public void addCategoryResources(long categoryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addCategoryResources
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategoryResources
public void addCategoryResources(long categoryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addCategoryResources
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategoryResources
public void addCategoryResources(ShoppingCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addCategoryResources
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategoryResources
public void addCategoryResources(ShoppingCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addCategoryResources
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteCategories
public void deleteCategories(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteCategories
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteCategory
public void deleteCategory(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteCategory
public void deleteCategory(ShoppingCategory category)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCategories
public java.util.List<ShoppingCategory> getCategories(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
getCategories
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
getCategories
public java.util.List<ShoppingCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
getCategories
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
- Specified by:
getCategoriesCount
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
getCategory
public ShoppingCategory getCategory(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getParentCategories
public java.util.List<ShoppingCategory> getParentCategories(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getParentCategories
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getParentCategories
public java.util.List<ShoppingCategory> getParentCategories(ShoppingCategory category)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getParentCategories
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getParentCategory
public ShoppingCategory getParentCategory(ShoppingCategory category)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getParentCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSubcategoryIds
public void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
throws com.liferay.portal.SystemException
- Specified by:
getSubcategoryIds
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.SystemException
updateCategory
public ShoppingCategory updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateCategory
in interface ShoppingCategoryLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWrappedShoppingCategoryLocalService
public ShoppingCategoryLocalService getWrappedShoppingCategoryLocalService()