Class MBCategoryServiceWrapper

java.lang.Object
com.liferay.message.boards.service.MBCategoryServiceWrapper
All Implemented Interfaces:
MBCategoryService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.ServiceWrapper<MBCategoryService>

public class MBCategoryServiceWrapper extends Object implements MBCategoryService, com.liferay.portal.kernel.service.ServiceWrapper<MBCategoryService>
Provides a wrapper for MBCategoryService.
See Also:
Generated:
  • Constructor Details

    • MBCategoryServiceWrapper

      public MBCategoryServiceWrapper()
    • MBCategoryServiceWrapper

      public MBCategoryServiceWrapper(MBCategoryService mbCategoryService)
  • Method Details

    • addCategory

      public MBCategory addCategory(String externalReferenceCode, long userId, long parentCategoryId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCategory

      public MBCategory addCategory(String externalReferenceCode, long parentCategoryId, String name, String description, String displayStyle, String emailAddress, String inProtocol, String inServerName, int inServerPort, boolean inUseSSL, String inUserName, String inPassword, int inReadInterval, String outEmailAddress, boolean outCustom, String outServerName, int outServerPort, boolean outUseSSL, String outUserName, String outPassword, boolean mailingListActive, boolean allowAnonymousEmail, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCategory

      public void deleteCategory(long categoryId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCategory

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

      public void deleteCategory(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchMBCategory

      public MBCategory fetchMBCategory(long groupId, String friendlyURL) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchMBCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategories

      public List<MBCategory> getCategories(long groupId)
      Specified by:
      getCategories in interface MBCategoryService
    • getCategories

      public List<MBCategory> getCategories(long groupId, int status)
      Specified by:
      getCategories in interface MBCategoryService
    • getCategories

      public List<MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
      Specified by:
      getCategories in interface MBCategoryService
    • getCategories

      public List<MBCategory> getCategories(long groupId, long parentCategoryId, int status, int start, int end)
      Specified by:
      getCategories in interface MBCategoryService
    • getCategories

      public List<MBCategory> getCategories(long groupId, long excludedCategoryId, long parentCategoryId, int status, int start, int end)
      Specified by:
      getCategories in interface MBCategoryService
    • getCategories

      public List<MBCategory> getCategories(long groupId, long parentCategoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBCategory> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCategories in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategories

      public List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int start, int end)
      Specified by:
      getCategories in interface MBCategoryService
    • getCategories

      public List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int status, int start, int end)
      Specified by:
      getCategories in interface MBCategoryService
    • getCategories

      public List<MBCategory> getCategories(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status, int start, int end)
      Specified by:
      getCategories in interface MBCategoryService
    • getCategoriesAndThreads

      public List<Object> getCategoriesAndThreads(long groupId, long categoryId)
      Specified by:
      getCategoriesAndThreads in interface MBCategoryService
    • getCategoriesAndThreads

      public List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status)
      Specified by:
      getCategoriesAndThreads in interface MBCategoryService
    • getCategoriesAndThreads

      public List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status, int start, int end)
      Specified by:
      getCategoriesAndThreads in interface MBCategoryService
    • getCategoriesAndThreads

      public List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
      Specified by:
      getCategoriesAndThreads in interface MBCategoryService
    • getCategoriesAndThreads

      public List<Object> getCategoriesAndThreads(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCategoriesAndThreads in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesAndThreadsCount

      public int getCategoriesAndThreadsCount(long groupId, long categoryId)
      Specified by:
      getCategoriesAndThreadsCount in interface MBCategoryService
    • getCategoriesAndThreadsCount

      public int getCategoriesAndThreadsCount(long groupId, long categoryId, int status)
      Specified by:
      getCategoriesAndThreadsCount in interface MBCategoryService
    • getCategoriesAndThreadsCount

      public int getCategoriesAndThreadsCount(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCategoriesAndThreadsCount in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesCount

      public int getCategoriesCount(long groupId, long parentCategoryId)
      Specified by:
      getCategoriesCount in interface MBCategoryService
    • getCategoriesCount

      public int getCategoriesCount(long groupId, long parentCategoryId, int status)
      Specified by:
      getCategoriesCount in interface MBCategoryService
    • getCategoriesCount

      public int getCategoriesCount(long groupId, long excludedCategoryId, long parentCategoryId, int status)
      Specified by:
      getCategoriesCount in interface MBCategoryService
    • getCategoriesCount

      public int getCategoriesCount(long groupId, long parentCategoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCategoriesCount in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesCount

      public int getCategoriesCount(long groupId, long[] parentCategoryIds)
      Specified by:
      getCategoriesCount in interface MBCategoryService
    • getCategoriesCount

      public int getCategoriesCount(long groupId, long[] parentCategoryIds, int status)
      Specified by:
      getCategoriesCount in interface MBCategoryService
    • getCategoriesCount

      public int getCategoriesCount(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status)
      Specified by:
      getCategoriesCount in interface MBCategoryService
    • getCategory

      public MBCategory getCategory(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoryIds

      public long[] getCategoryIds(long groupId, long categoryId)
      Specified by:
      getCategoryIds in interface MBCategoryService
    • getMBCategory

      public MBCategory getMBCategory(long groupId, String friendlyURL) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getMBCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface MBCategoryService
      Returns:
      the OSGi service identifier
    • getSubcategoryIds

      public List<Long> getSubcategoryIds(List<Long> categoryIds, long groupId, long categoryId)
      Specified by:
      getSubcategoryIds in interface MBCategoryService
    • getSubscribedCategories

      public List<MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end)
      Specified by:
      getSubscribedCategories in interface MBCategoryService
    • getSubscribedCategoriesCount

      public int getSubscribedCategoriesCount(long groupId, long userId)
      Specified by:
      getSubscribedCategoriesCount in interface MBCategoryService
    • moveCategory

      public MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveCategoryFromTrash

      public MBCategory moveCategoryFromTrash(long categoryId, long newCategoryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveCategoryFromTrash in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveCategoryToTrash

      public MBCategory moveCategoryToTrash(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveCategoryToTrash in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreCategoryFromTrash

      public void restoreCategoryFromTrash(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      restoreCategoryFromTrash in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • subscribeCategory

      public void subscribeCategory(long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      subscribeCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • unsubscribeCategory

      public void unsubscribeCategory(long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      unsubscribeCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCategory

      public MBCategory updateCategory(long categoryId, long parentCategoryId, String name, String description, String displayStyle, String emailAddress, String inProtocol, String inServerName, int inServerPort, boolean inUseSSL, String inUserName, String inPassword, int inReadInterval, String outEmailAddress, boolean outCustom, String outServerName, int outServerPort, boolean outUseSSL, String outUserName, String outPassword, boolean mailingListActive, boolean allowAnonymousEmail, boolean mergeWithParentCategory, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCategory in interface MBCategoryService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

      public MBCategoryService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBCategoryService>
    • setWrappedService

      public void setWrappedService(MBCategoryService mbCategoryService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MBCategoryService>