|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.messageboards.service.MBCategoryServiceUtil
@ProviderType public class MBCategoryServiceUtil
Provides the remote service utility for MBCategory. This utility wraps
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 Summary | |
---|---|
MBCategoryServiceUtil()
|
Method Summary | |
---|---|
static MBCategory |
addCategory(long userId,
long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
|
static MBCategory |
addCategory(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,
ServiceContext serviceContext)
|
static void |
deleteCategory(long categoryId,
boolean includeTrashedEntries)
|
static void |
deleteCategory(long groupId,
long categoryId)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static List<MBCategory> |
getCategories(long groupId)
|
static List<MBCategory> |
getCategories(long groupId,
int status)
|
static List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end)
|
static List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int status,
int start,
int end)
|
static List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end)
|
static 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 List<Long> |
getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
|
static 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(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,
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,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MBCategoryServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static MBCategory addCategory(long userId, long parentCategoryId, String name, String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static MBCategory addCategory(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, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void deleteCategory(long categoryId, boolean includeTrashedEntries) throws PortalException, SystemException
PortalException
SystemException
public static void deleteCategory(long groupId, long categoryId) throws PortalException, SystemException
PortalException
SystemException
public static List<MBCategory> getCategories(long groupId) throws SystemException
SystemException
public static List<MBCategory> getCategories(long groupId, int status) throws SystemException
SystemException
public static List<MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end) throws SystemException
SystemException
public static List<MBCategory> getCategories(long groupId, long parentCategoryId, int status, int start, int end) throws SystemException
SystemException
public static List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int start, int end) throws SystemException
SystemException
public static List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int status, int start, int end) throws SystemException
SystemException
public static int getCategoriesCount(long groupId, long parentCategoryId) throws SystemException
SystemException
public static int getCategoriesCount(long groupId, long parentCategoryId, int status) throws SystemException
SystemException
public static int getCategoriesCount(long groupId, long[] parentCategoryIds) throws SystemException
SystemException
public static int getCategoriesCount(long groupId, long[] parentCategoryIds, int status) throws SystemException
SystemException
public static MBCategory getCategory(long categoryId) throws PortalException, SystemException
PortalException
SystemException
public static long[] getCategoryIds(long groupId, long categoryId) throws SystemException
SystemException
public static List<Long> getSubcategoryIds(List<Long> categoryIds, long groupId, long categoryId) throws SystemException
SystemException
public static List<MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end) throws SystemException
SystemException
public static int getSubscribedCategoriesCount(long groupId, long userId) throws SystemException
SystemException
public static MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws PortalException, SystemException
PortalException
SystemException
public static MBCategory moveCategoryFromTrash(long categoryId, long newCategoryId) throws PortalException, SystemException
PortalException
SystemException
public static MBCategory moveCategoryToTrash(long categoryId) throws PortalException, SystemException
PortalException
SystemException
public static void restoreCategoryFromTrash(long categoryId) throws PortalException, SystemException
PortalException
SystemException
public static void subscribeCategory(long groupId, long categoryId) throws PortalException, SystemException
PortalException
SystemException
public static void unsubscribeCategory(long groupId, long categoryId) throws PortalException, SystemException
PortalException
SystemException
public static 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, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static MBCategoryService getService()
public void setService(MBCategoryService service)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |