com.liferay.portlet.messageboards.service
Class MBCategoryLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.MBCategoryLocalServiceWrapper
All Implemented Interfaces:
MBCategoryLocalService

public class MBCategoryLocalServiceWrapper
extends java.lang.Object
implements MBCategoryLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for MBCategoryLocalService.

Author:
Brian Wing Shun Chan
See Also:
MBCategoryLocalService
Generated:

Constructor Summary
MBCategoryLocalServiceWrapper(MBCategoryLocalService mbCategoryLocalService)
           
 
Method Summary
 MBCategory addCategory(long userId, long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean mailingListActive, ServiceContext serviceContext)
           
 MBCategory addCategory(java.lang.String uuid, long userId, long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean mailingListActive, ServiceContext serviceContext)
           
 void addCategoryResources(long categoryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addCategoryResources(long categoryId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addCategoryResources(MBCategory category, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addCategoryResources(MBCategory category, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 MBCategory addMBCategory(MBCategory mbCategory)
           
 MBCategory createMBCategory(long categoryId)
           
 void deleteCategories(long groupId)
           
 void deleteCategory(long categoryId)
           
 void deleteCategory(MBCategory category)
           
 void deleteMBCategory(long categoryId)
           
 void deleteMBCategory(MBCategory mbCategory)
           
 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<MBCategory> getCategories(long groupId)
           
 java.util.List<MBCategory> getCategories(long groupId, long parentCategoryId)
           
 java.util.List<MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
           
 int getCategoriesCount(long groupId)
           
 int getCategoriesCount(long groupId, long parentCategoryId)
           
 MBCategory getCategory(long categoryId)
           
 java.util.List<MBCategory> getCompanyCategories(long companyId, int start, int end)
           
 int getCompanyCategoriesCount(long companyId)
           
 java.util.List<MBCategory> getMBCategories(int start, int end)
           
 int getMBCategoriesCount()
           
 MBCategory getMBCategory(long categoryId)
           
 MBCategory getMBCategoryByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<java.lang.Long> getSubcategoryIds(java.util.List<java.lang.Long> categoryIds, long groupId, long categoryId)
           
 java.util.List<MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end)
           
 int getSubscribedCategoriesCount(long groupId, long userId)
           
 MBCategory getSystemCategory()
           
 MBCategoryLocalService getWrappedMBCategoryLocalService()
           
 void subscribeCategory(long userId, long groupId, long categoryId)
           
 void unsubscribeCategory(long userId, long groupId, long categoryId)
           
 MBCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean mailingListActive, boolean mergeWithParentCategory, ServiceContext serviceContext)
           
 MBCategory updateMBCategory(MBCategory mbCategory)
           
 MBCategory updateMBCategory(MBCategory mbCategory, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBCategoryLocalServiceWrapper

public MBCategoryLocalServiceWrapper(MBCategoryLocalService mbCategoryLocalService)
Method Detail

addMBCategory

public MBCategory addMBCategory(MBCategory mbCategory)
                         throws SystemException
Specified by:
addMBCategory in interface MBCategoryLocalService
Throws:
SystemException

createMBCategory

public MBCategory createMBCategory(long categoryId)
Specified by:
createMBCategory in interface MBCategoryLocalService

deleteMBCategory

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

deleteMBCategory

public void deleteMBCategory(MBCategory mbCategory)
                      throws SystemException
Specified by:
deleteMBCategory in interface MBCategoryLocalService
Throws:
SystemException

dynamicQuery

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

dynamicQuery

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

dynamicQuery

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

dynamicQueryCount

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

getMBCategory

public MBCategory getMBCategory(long categoryId)
                         throws PortalException,
                                SystemException
Specified by:
getMBCategory in interface MBCategoryLocalService
Throws:
PortalException
SystemException

getMBCategoryByUuidAndGroupId

public MBCategory getMBCategoryByUuidAndGroupId(java.lang.String uuid,
                                                long groupId)
                                         throws PortalException,
                                                SystemException
Specified by:
getMBCategoryByUuidAndGroupId in interface MBCategoryLocalService
Throws:
PortalException
SystemException

getMBCategories

public java.util.List<MBCategory> getMBCategories(int start,
                                                  int end)
                                           throws SystemException
Specified by:
getMBCategories in interface MBCategoryLocalService
Throws:
SystemException

getMBCategoriesCount

public int getMBCategoriesCount()
                         throws SystemException
Specified by:
getMBCategoriesCount in interface MBCategoryLocalService
Throws:
SystemException

updateMBCategory

public MBCategory updateMBCategory(MBCategory mbCategory)
                            throws SystemException
Specified by:
updateMBCategory in interface MBCategoryLocalService
Throws:
SystemException

updateMBCategory

public MBCategory updateMBCategory(MBCategory mbCategory,
                                   boolean merge)
                            throws SystemException
Specified by:
updateMBCategory in interface MBCategoryLocalService
Throws:
SystemException

addCategory

public MBCategory addCategory(long userId,
                              long parentCategoryId,
                              java.lang.String name,
                              java.lang.String description,
                              java.lang.String emailAddress,
                              java.lang.String inProtocol,
                              java.lang.String inServerName,
                              int inServerPort,
                              boolean inUseSSL,
                              java.lang.String inUserName,
                              java.lang.String inPassword,
                              int inReadInterval,
                              java.lang.String outEmailAddress,
                              boolean outCustom,
                              java.lang.String outServerName,
                              int outServerPort,
                              boolean outUseSSL,
                              java.lang.String outUserName,
                              java.lang.String outPassword,
                              boolean mailingListActive,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Specified by:
addCategory in interface MBCategoryLocalService
Throws:
PortalException
SystemException

addCategory

public MBCategory addCategory(java.lang.String uuid,
                              long userId,
                              long parentCategoryId,
                              java.lang.String name,
                              java.lang.String description,
                              java.lang.String emailAddress,
                              java.lang.String inProtocol,
                              java.lang.String inServerName,
                              int inServerPort,
                              boolean inUseSSL,
                              java.lang.String inUserName,
                              java.lang.String inPassword,
                              int inReadInterval,
                              java.lang.String outEmailAddress,
                              boolean outCustom,
                              java.lang.String outServerName,
                              int outServerPort,
                              boolean outUseSSL,
                              java.lang.String outUserName,
                              java.lang.String outPassword,
                              boolean mailingListActive,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Specified by:
addCategory in interface MBCategoryLocalService
Throws:
PortalException
SystemException

addCategoryResources

public void addCategoryResources(long categoryId,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addCategoryResources in interface MBCategoryLocalService
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 MBCategoryLocalService
Throws:
PortalException
SystemException

addCategoryResources

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

addCategoryResources

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

deleteCategories

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

deleteCategory

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

deleteCategory

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

getCategories

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

getCategories

public java.util.List<MBCategory> getCategories(long groupId,
                                                long parentCategoryId)
                                         throws SystemException
Specified by:
getCategories in interface MBCategoryLocalService
Throws:
SystemException

getCategories

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

getCategoriesCount

public int getCategoriesCount(long groupId)
                       throws SystemException
Specified by:
getCategoriesCount in interface MBCategoryLocalService
Throws:
SystemException

getCategoriesCount

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

getCategory

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

getCompanyCategories

public java.util.List<MBCategory> getCompanyCategories(long companyId,
                                                       int start,
                                                       int end)
                                                throws SystemException
Specified by:
getCompanyCategories in interface MBCategoryLocalService
Throws:
SystemException

getCompanyCategoriesCount

public int getCompanyCategoriesCount(long companyId)
                              throws SystemException
Specified by:
getCompanyCategoriesCount in interface MBCategoryLocalService
Throws:
SystemException

getSubcategoryIds

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

getSubscribedCategories

public java.util.List<MBCategory> getSubscribedCategories(long groupId,
                                                          long userId,
                                                          int start,
                                                          int end)
                                                   throws SystemException
Specified by:
getSubscribedCategories in interface MBCategoryLocalService
Throws:
SystemException

getSubscribedCategoriesCount

public int getSubscribedCategoriesCount(long groupId,
                                        long userId)
                                 throws SystemException
Specified by:
getSubscribedCategoriesCount in interface MBCategoryLocalService
Throws:
SystemException

getSystemCategory

public MBCategory getSystemCategory()
                             throws SystemException
Specified by:
getSystemCategory in interface MBCategoryLocalService
Throws:
SystemException

subscribeCategory

public void subscribeCategory(long userId,
                              long groupId,
                              long categoryId)
                       throws PortalException,
                              SystemException
Specified by:
subscribeCategory in interface MBCategoryLocalService
Throws:
PortalException
SystemException

unsubscribeCategory

public void unsubscribeCategory(long userId,
                                long groupId,
                                long categoryId)
                         throws PortalException,
                                SystemException
Specified by:
unsubscribeCategory in interface MBCategoryLocalService
Throws:
PortalException
SystemException

updateCategory

public MBCategory updateCategory(long categoryId,
                                 long parentCategoryId,
                                 java.lang.String name,
                                 java.lang.String description,
                                 java.lang.String emailAddress,
                                 java.lang.String inProtocol,
                                 java.lang.String inServerName,
                                 int inServerPort,
                                 boolean inUseSSL,
                                 java.lang.String inUserName,
                                 java.lang.String inPassword,
                                 int inReadInterval,
                                 java.lang.String outEmailAddress,
                                 boolean outCustom,
                                 java.lang.String outServerName,
                                 int outServerPort,
                                 boolean outUseSSL,
                                 java.lang.String outUserName,
                                 java.lang.String outPassword,
                                 boolean mailingListActive,
                                 boolean mergeWithParentCategory,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Specified by:
updateCategory in interface MBCategoryLocalService
Throws:
PortalException
SystemException

getWrappedMBCategoryLocalService

public MBCategoryLocalService getWrappedMBCategoryLocalService()