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 Summary
Modifier and TypeMethodDescriptionaddCategory
(String externalReferenceCode, long userId, long parentCategoryId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) 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) void
deleteCategory
(long categoryId, boolean includeTrashedEntries) void
deleteCategory
(long groupId, long categoryId) void
deleteCategory
(String externalReferenceCode, long groupId) fetchMBCategory
(long groupId, String friendlyURL) getCategories
(long groupId) getCategories
(long groupId, int status) getCategories
(long groupId, long[] parentCategoryIds, int start, int end) getCategories
(long groupId, long[] parentCategoryIds, int status, int start, int end) getCategories
(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status, int start, int end) getCategories
(long groupId, long parentCategoryId, int start, int end) getCategories
(long groupId, long parentCategoryId, int status, int start, int end) getCategories
(long groupId, long excludedCategoryId, long parentCategoryId, int status, int start, int end) getCategories
(long groupId, long parentCategoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<MBCategory> queryDefinition) getCategoriesAndThreads
(long groupId, long categoryId) getCategoriesAndThreads
(long groupId, long categoryId, int status) getCategoriesAndThreads
(long groupId, long categoryId, int status, int start, int end) getCategoriesAndThreads
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getCategoriesAndThreads
(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) int
getCategoriesAndThreadsCount
(long groupId, long categoryId) int
getCategoriesAndThreadsCount
(long groupId, long categoryId, int status) int
getCategoriesAndThreadsCount
(long groupId, long categoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) int
getCategoriesCount
(long groupId, long parentCategoryId) int
getCategoriesCount
(long groupId, long[] parentCategoryIds) int
getCategoriesCount
(long groupId, long[] parentCategoryIds, int status) int
getCategoriesCount
(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status) int
getCategoriesCount
(long groupId, long parentCategoryId, int status) int
getCategoriesCount
(long groupId, long excludedCategoryId, long parentCategoryId, int status) int
getCategoriesCount
(long groupId, long parentCategoryId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) getCategory
(long categoryId) long[]
getCategoryIds
(long groupId, long categoryId) getMBCategory
(long groupId, String friendlyURL) Returns the OSGi service identifier.getSubcategoryIds
(List<Long> categoryIds, long groupId, long categoryId) getSubscribedCategories
(long groupId, long userId, int start, int end) int
getSubscribedCategoriesCount
(long groupId, long userId) moveCategory
(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) moveCategoryFromTrash
(long categoryId, long newCategoryId) moveCategoryToTrash
(long categoryId) void
restoreCategoryFromTrash
(long categoryId) void
subscribeCategory
(long groupId, long categoryId) void
unsubscribeCategory
(long groupId, long categoryId) 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)
-
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
-
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
-
getCategoriesAndThreads
-
getCategoriesAndThreads
-
getCategoriesAndThreads
-
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
-
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
-