@ProviderType
public class MBCategoryServiceUtil
extends java.lang.Object
com.liferay.portlet.messageboards.service.impl.MBCategoryServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.MBCategoryService,
com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl,
com.liferay.portlet.messageboards.service.impl.MBCategoryServiceImpl| Constructor and Description |
|---|
MBCategoryServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static MBCategory |
addCategory(long userId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext) |
static MBCategory |
addCategory(long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.String displayStyle,
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 allowAnonymousEmail,
ServiceContext serviceContext) |
static void |
deleteCategory(long categoryId,
boolean includeTrashedEntries) |
static void |
deleteCategory(long groupId,
long categoryId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static java.util.List<MBCategory> |
getCategories(long groupId) |
static java.util.List<MBCategory> |
getCategories(long groupId,
int status) |
static java.util.List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end) |
static java.util.List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int status,
int start,
int end) |
static java.util.List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end) |
static java.util.List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int status,
int start,
int end) |
static int |
getCategoriesCount(long groupId,
long parentCategoryId) |
static int |
getCategoriesCount(long groupId,
long[] parentCategoryIds) |
static int |
getCategoriesCount(long groupId,
long[] parentCategoryIds,
int status) |
static int |
getCategoriesCount(long groupId,
long parentCategoryId,
int status) |
static MBCategory |
getCategory(long categoryId) |
static long[] |
getCategoryIds(long groupId,
long categoryId) |
static MBCategoryService |
getService() |
static java.util.List<java.lang.Long> |
getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId) |
static java.util.List<MBCategory> |
getSubscribedCategories(long groupId,
long userId,
int start,
int end) |
static int |
getSubscribedCategoriesCount(long groupId,
long userId) |
static MBCategory |
moveCategory(long categoryId,
long parentCategoryId,
boolean mergeWithParentCategory) |
static MBCategory |
moveCategoryFromTrash(long categoryId,
long newCategoryId) |
static MBCategory |
moveCategoryToTrash(long categoryId) |
static void |
restoreCategoryFromTrash(long categoryId) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(MBCategoryService service)
Deprecated.
As of 6.2.0
|
static void |
subscribeCategory(long groupId,
long categoryId) |
static void |
unsubscribeCategory(long groupId,
long categoryId) |
static MBCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.String displayStyle,
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 allowAnonymousEmail,
boolean mergeWithParentCategory,
ServiceContext serviceContext) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static MBCategory addCategory(long userId, long parentCategoryId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static MBCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String displayStyle, 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 allowAnonymousEmail, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteCategory(long categoryId,
boolean includeTrashedEntries)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deleteCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<MBCategory> getCategories(long groupId) throws SystemException
SystemExceptionpublic static java.util.List<MBCategory> getCategories(long groupId, int status) throws SystemException
SystemExceptionpublic static java.util.List<MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<MBCategory> getCategories(long groupId, long parentCategoryId, int status, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int status, int start, int end) throws SystemException
SystemExceptionpublic static int getCategoriesCount(long groupId,
long parentCategoryId)
throws SystemException
SystemExceptionpublic static int getCategoriesCount(long groupId,
long parentCategoryId,
int status)
throws SystemException
SystemExceptionpublic static int getCategoriesCount(long groupId,
long[] parentCategoryIds)
throws SystemException
SystemExceptionpublic static int getCategoriesCount(long groupId,
long[] parentCategoryIds,
int status)
throws SystemException
SystemExceptionpublic static MBCategory getCategory(long categoryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static long[] getCategoryIds(long groupId,
long categoryId)
throws SystemException
SystemExceptionpublic static java.util.List<java.lang.Long> getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
throws SystemException
SystemExceptionpublic static java.util.List<MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end) throws SystemException
SystemExceptionpublic static int getSubscribedCategoriesCount(long groupId,
long userId)
throws SystemException
SystemExceptionpublic static MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static MBCategory moveCategoryFromTrash(long categoryId, long newCategoryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static MBCategory moveCategoryToTrash(long categoryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void restoreCategoryFromTrash(long categoryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void subscribeCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void unsubscribeCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static MBCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String displayStyle, 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 allowAnonymousEmail, boolean mergeWithParentCategory, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static MBCategoryService getService()
public void setService(MBCategoryService service)