com.liferay.portlet.messageboards.service
Interface MBCategoryService
- All Known Implementing Classes:
- MBCategoryServiceBaseImpl, MBCategoryServiceImpl, MBCategoryServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface MBCategoryService
The interface for the message boards category remote service.
Never modify or reference this interface directly. Always use MBCategoryServiceUtil
to access the message boards category remote service. Add custom service methods to MBCategoryServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
This is a remote service. 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:
MBCategoryServiceUtil
,
MBCategoryServiceBaseImpl
,
MBCategoryServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
MBCategory |
addCategory(long parentCategoryId,
String name,
String description,
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,
ServiceContext serviceContext)
|
void |
deleteCategory(long groupId,
long categoryId)
|
List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end)
|
List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
int |
getCategoriesCount(long groupId,
long[] parentCategoryIds)
|
MBCategory |
getCategory(long categoryId)
|
long[] |
getCategoryIds(long groupId,
long categoryId)
|
List<Long> |
getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
|
List<MBCategory> |
getSubscribedCategories(long groupId,
long userId,
int start,
int end)
|
int |
getSubscribedCategoriesCount(long groupId,
long userId)
|
void |
subscribeCategory(long groupId,
long categoryId)
|
void |
unsubscribeCategory(long groupId,
long categoryId)
|
MBCategory |
updateCategory(long categoryId,
long parentCategoryId,
String name,
String description,
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 mergeWithParentCategory,
ServiceContext serviceContext)
|
addCategory
MBCategory addCategory(long parentCategoryId,
String name,
String description,
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
void deleteCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<MBCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<MBCategory> getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCategoriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCategoriesCount(long groupId,
long parentCategoryId)
throws SystemException
- Throws:
SystemException
getCategoriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCategoriesCount(long groupId,
long[] parentCategoryIds)
throws SystemException
- Throws:
SystemException
getCategory
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBCategory getCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategoryIds
@Transactional(propagation=SUPPORTS,
readOnly=true)
long[] getCategoryIds(long groupId,
long categoryId)
throws SystemException
- Throws:
SystemException
getSubcategoryIds
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Long> getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
throws SystemException
- Throws:
SystemException
getSubscribedCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<MBCategory> getSubscribedCategories(long groupId,
long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getSubscribedCategoriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSubscribedCategoriesCount(long groupId,
long userId)
throws SystemException
- Throws:
SystemException
subscribeCategory
void subscribeCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribeCategory
void unsubscribeCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateCategory
MBCategory updateCategory(long categoryId,
long parentCategoryId,
String name,
String description,
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 mergeWithParentCategory,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException