com.liferay.portlet.shopping.service
Class ShoppingCategoryLocalServiceWrapper

java.lang.Object
  extended by 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:

Constructor Summary
ShoppingCategoryLocalServiceWrapper(ShoppingCategoryLocalService shoppingCategoryLocalService)
           
 
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(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(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
 

Constructor Detail

ShoppingCategoryLocalServiceWrapper

public ShoppingCategoryLocalServiceWrapper(ShoppingCategoryLocalService shoppingCategoryLocalService)
Method Detail

addShoppingCategory

public ShoppingCategory addShoppingCategory(ShoppingCategory shoppingCategory)
                                     throws SystemException
Specified by:
addShoppingCategory in interface ShoppingCategoryLocalService
Throws:
SystemException

createShoppingCategory

public ShoppingCategory createShoppingCategory(long categoryId)
Specified by:
createShoppingCategory in interface ShoppingCategoryLocalService

deleteShoppingCategory

public void deleteShoppingCategory(long categoryId)
                            throws PortalException,
                                   SystemException
Specified by:
deleteShoppingCategory in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

deleteShoppingCategory

public void deleteShoppingCategory(ShoppingCategory shoppingCategory)
                            throws SystemException
Specified by:
deleteShoppingCategory in interface ShoppingCategoryLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Specified by:
dynamicQuery in interface ShoppingCategoryLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
dynamicQuery in interface ShoppingCategoryLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
dynamicQuery in interface ShoppingCategoryLocalService
Throws:
SystemException

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Specified by:
dynamicQueryCount in interface ShoppingCategoryLocalService
Throws:
SystemException

getShoppingCategory

public ShoppingCategory getShoppingCategory(long categoryId)
                                     throws PortalException,
                                            SystemException
Specified by:
getShoppingCategory in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

getShoppingCategories

public java.util.List<ShoppingCategory> getShoppingCategories(int start,
                                                              int end)
                                                       throws SystemException
Specified by:
getShoppingCategories in interface ShoppingCategoryLocalService
Throws:
SystemException

getShoppingCategoriesCount

public int getShoppingCategoriesCount()
                               throws SystemException
Specified by:
getShoppingCategoriesCount in interface ShoppingCategoryLocalService
Throws:
SystemException

updateShoppingCategory

public ShoppingCategory updateShoppingCategory(ShoppingCategory shoppingCategory)
                                        throws SystemException
Specified by:
updateShoppingCategory in interface ShoppingCategoryLocalService
Throws:
SystemException

updateShoppingCategory

public ShoppingCategory updateShoppingCategory(ShoppingCategory shoppingCategory,
                                               boolean merge)
                                        throws SystemException
Specified by:
updateShoppingCategory in interface ShoppingCategoryLocalService
Throws:
SystemException

addCategory

public ShoppingCategory addCategory(long userId,
                                    long parentCategoryId,
                                    java.lang.String name,
                                    java.lang.String description,
                                    ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Specified by:
addCategory in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

addCategoryResources

public void addCategoryResources(long categoryId,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addCategoryResources in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

addCategoryResources

public void addCategoryResources(long categoryId,
                                 java.lang.String[] communityPermissions,
                                 java.lang.String[] guestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addCategoryResources in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

addCategoryResources

public void addCategoryResources(ShoppingCategory category,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addCategoryResources in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

addCategoryResources

public void addCategoryResources(ShoppingCategory category,
                                 java.lang.String[] communityPermissions,
                                 java.lang.String[] guestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addCategoryResources in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

deleteCategories

public void deleteCategories(long groupId)
                      throws PortalException,
                             SystemException
Specified by:
deleteCategories in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

deleteCategory

public void deleteCategory(long categoryId)
                    throws PortalException,
                           SystemException
Specified by:
deleteCategory in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

deleteCategory

public void deleteCategory(ShoppingCategory category)
                    throws PortalException,
                           SystemException
Specified by:
deleteCategory in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

getCategories

public java.util.List<ShoppingCategory> getCategories(long groupId)
                                               throws SystemException
Specified by:
getCategories in interface ShoppingCategoryLocalService
Throws:
SystemException

getCategories

public java.util.List<ShoppingCategory> getCategories(long groupId,
                                                      long parentCategoryId,
                                                      int start,
                                                      int end)
                                               throws SystemException
Specified by:
getCategories in interface ShoppingCategoryLocalService
Throws:
SystemException

getCategoriesCount

public int getCategoriesCount(long groupId,
                              long parentCategoryId)
                       throws SystemException
Specified by:
getCategoriesCount in interface ShoppingCategoryLocalService
Throws:
SystemException

getCategory

public ShoppingCategory getCategory(long categoryId)
                             throws PortalException,
                                    SystemException
Specified by:
getCategory in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

getParentCategories

public java.util.List<ShoppingCategory> getParentCategories(long categoryId)
                                                     throws PortalException,
                                                            SystemException
Specified by:
getParentCategories in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

getParentCategories

public java.util.List<ShoppingCategory> getParentCategories(ShoppingCategory category)
                                                     throws PortalException,
                                                            SystemException
Specified by:
getParentCategories in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

getParentCategory

public ShoppingCategory getParentCategory(ShoppingCategory category)
                                   throws PortalException,
                                          SystemException
Specified by:
getParentCategory in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

getSubcategoryIds

public void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
                              long groupId,
                              long categoryId)
                       throws SystemException
Specified by:
getSubcategoryIds in interface ShoppingCategoryLocalService
Throws:
SystemException

updateCategory

public ShoppingCategory updateCategory(long categoryId,
                                       long parentCategoryId,
                                       java.lang.String name,
                                       java.lang.String description,
                                       boolean mergeWithParentCategory,
                                       ServiceContext serviceContext)
                                throws PortalException,
                                       SystemException
Specified by:
updateCategory in interface ShoppingCategoryLocalService
Throws:
PortalException
SystemException

getWrappedShoppingCategoryLocalService

public ShoppingCategoryLocalService getWrappedShoppingCategoryLocalService()