com.liferay.portlet.messageboards.service
Class MBCategoryServiceUtil
java.lang.Object
com.liferay.portlet.messageboards.service.MBCategoryServiceUtil
public class MBCategoryServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
MBCategoryService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
MBCategoryService
- Generated:
Method Summary |
static MBCategory |
addCategory(long parentCategoryId,
java.lang.String name,
java.lang.String description,
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,
ServiceContext serviceContext)
|
static void |
deleteCategory(long groupId,
long categoryId)
|
static java.util.List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end)
|
static int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
static MBCategory |
getCategory(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)
|
void |
setService(MBCategoryService service)
|
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 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 mergeWithParentCategory,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBCategoryServiceUtil
public MBCategoryServiceUtil()
addCategory
public static MBCategory addCategory(long parentCategoryId,
java.lang.String name,
java.lang.String description,
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
public static void deleteCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategory
public static MBCategory getCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategories
public static java.util.List<MBCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCategoriesCount
public static int getCategoriesCount(long groupId,
long parentCategoryId)
throws SystemException
- Throws:
SystemException
getSubcategoryIds
public static java.util.List<java.lang.Long> getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
throws SystemException
- Throws:
SystemException
getSubscribedCategories
public static java.util.List<MBCategory> getSubscribedCategories(long groupId,
long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getSubscribedCategoriesCount
public static int getSubscribedCategoriesCount(long groupId,
long userId)
throws SystemException
- Throws:
SystemException
subscribeCategory
public static void subscribeCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribeCategory
public static void unsubscribeCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateCategory
public static MBCategory updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
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 mergeWithParentCategory,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static MBCategoryService getService()
setService
public void setService(MBCategoryService service)