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<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 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)
           
 void 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 com.liferay.portal.kernel.exception.SystemException
Specified by:
addMBCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

createMBCategory

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

deleteMBCategory

public void deleteMBCategory(long categoryId)
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteMBCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteMBCategory

public void deleteMBCategory(MBCategory mbCategory)
                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteMBCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getMBCategory

public MBCategory getMBCategory(long categoryId)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Specified by:
getMBCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getMBCategories

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

getMBCategoriesCount

public int getMBCategoriesCount()
                         throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getMBCategoriesCount in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateMBCategory

public MBCategory updateMBCategory(MBCategory mbCategory)
                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateMBCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateMBCategory

public MBCategory updateMBCategory(MBCategory mbCategory,
                                   boolean merge)
                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateMBCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
addCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
addCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addCategoryResources

public void addCategoryResources(long categoryId,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
addCategoryResources in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addCategoryResources

public void addCategoryResources(long categoryId,
                                 java.lang.String[] communityPermissions,
                                 java.lang.String[] guestPermissions)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
addCategoryResources in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addCategoryResources

public void addCategoryResources(MBCategory category,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
addCategoryResources in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addCategoryResources

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

deleteCategories

public void deleteCategories(long groupId)
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteCategories in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteCategory

public void deleteCategory(long categoryId)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteCategory

public void deleteCategory(MBCategory category)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCategories

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

getCategories

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

getCategories

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

getCategoriesCount

public int getCategoriesCount(long groupId)
                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCategoriesCount in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getCategoriesCount

public int getCategoriesCount(long groupId,
                              long parentCategoryId)
                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCategoriesCount in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getCategory

public MBCategory getCategory(long categoryId)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
getCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCompanyCategories

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

getCompanyCategoriesCount

public int getCompanyCategoriesCount(long companyId)
                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getCompanyCategoriesCount in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getSubcategoryIds

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

getSubscribedCategories

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

getSubscribedCategoriesCount

public int getSubscribedCategoriesCount(long groupId,
                                        long userId)
                                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getSubscribedCategoriesCount in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getSystemCategory

public MBCategory getSystemCategory()
                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getSystemCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

subscribeCategory

public void subscribeCategory(long userId,
                              long groupId,
                              long categoryId)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
subscribeCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

unsubscribeCategory

public void unsubscribeCategory(long userId,
                                long groupId,
                                long categoryId)
                         throws com.liferay.portal.kernel.exception.PortalException,
                                com.liferay.portal.kernel.exception.SystemException
Specified by:
unsubscribeCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
updateCategory in interface MBCategoryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedMBCategoryLocalService

public MBCategoryLocalService getWrappedMBCategoryLocalService()