Interface MBCategoryService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
MBCategoryServiceWrapper

@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface MBCategoryService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for MBCategory. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Method Details

    • addCategory

      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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCategory

      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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCategory

      void deleteCategory(long categoryId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCategory

      void deleteCategory(long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCategory

      void deleteCategory(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchMBCategory

      @Transactional(propagation=SUPPORTS, readOnly=true) MBCategory fetchMBCategory(long groupId, String friendlyURL) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategories

      @Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId)
    • getCategories

      @Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, int status)
    • getCategories

      @Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
    • getCategories

      @Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long parentCategoryId, int status, int start, int end)
    • getCategories

      @Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long excludedCategoryId, long parentCategoryId, int status, int start, int end)
    • getCategories

      @Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long parentCategoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBCategory> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategories

      @Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int start, int end)
    • getCategories

      @Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int status, int start, int end)
    • getCategories

      @Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status, int start, int end)
    • getCategoriesAndThreads

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getCategoriesAndThreads(long groupId, long categoryId)
    • getCategoriesAndThreads

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status)
    • getCategoriesAndThreads

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status, int start, int end)
    • getCategoriesAndThreads

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
    • getCategoriesAndThreads

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getCategoriesAndThreads(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesAndThreadsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesAndThreadsCount(long groupId, long categoryId)
    • getCategoriesAndThreadsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesAndThreadsCount(long groupId, long categoryId, int status)
    • getCategoriesAndThreadsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesAndThreadsCount(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long parentCategoryId)
    • getCategoriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long parentCategoryId, int status)
    • getCategoriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long excludedCategoryId, long parentCategoryId, int status)
    • getCategoriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long parentCategoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long[] parentCategoryIds)
    • getCategoriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long[] parentCategoryIds, int status)
    • getCategoriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status)
    • getCategory

      @Transactional(propagation=SUPPORTS, readOnly=true) MBCategory getCategory(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoryIds

      @Transactional(propagation=SUPPORTS, readOnly=true) long[] getCategoryIds(long groupId, long categoryId)
    • getMBCategory

      @Transactional(propagation=SUPPORTS, readOnly=true) MBCategory getMBCategory(long groupId, String friendlyURL) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getSubcategoryIds

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getSubcategoryIds(List<Long> categoryIds, long groupId, long categoryId)
    • getSubscribedCategories

      @Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end)
    • getSubscribedCategoriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getSubscribedCategoriesCount(long groupId, long userId)
    • moveCategory

      MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveCategoryFromTrash

      MBCategory moveCategoryFromTrash(long categoryId, long newCategoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveCategoryToTrash

      MBCategory moveCategoryToTrash(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreCategoryFromTrash

      void restoreCategoryFromTrash(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • subscribeCategory

      void subscribeCategory(long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • unsubscribeCategory

      void unsubscribeCategory(long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCategory

      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
      Throws:
      com.liferay.portal.kernel.exception.PortalException