|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface MBCategoryService
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.
MBCategoryServiceUtil
,
com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl
,
com.liferay.portlet.messageboards.service.impl.MBCategoryServiceImpl
Method Summary | |
---|---|
MBCategory |
addCategory(long userId,
long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
|
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)
|
void |
deleteCategory(long categoryId,
boolean includeTrashedEntries)
|
void |
deleteCategory(long groupId,
long categoryId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<MBCategory> |
getCategories(long groupId)
|
List<MBCategory> |
getCategories(long groupId,
int status)
|
List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end)
|
List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int status,
int start,
int end)
|
List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end)
|
List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int status,
int start,
int end)
|
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 parentCategoryId,
int status)
|
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)
|
MBCategory |
moveCategory(long categoryId,
long parentCategoryId,
boolean mergeWithParentCategory)
|
MBCategory |
moveCategoryFromTrash(long categoryId,
long newCategoryId)
|
MBCategory |
moveCategoryToTrash(long categoryId)
|
void |
restoreCategoryFromTrash(long categoryId)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
subscribeCategory(long groupId,
long categoryId)
|
void |
unsubscribeCategory(long groupId,
long categoryId)
|
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)
|
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanMBCategory addCategory(long userId, long parentCategoryId, String name, String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
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
void deleteCategory(long categoryId, boolean includeTrashedEntries) throws PortalException, SystemException
PortalException
SystemException
void deleteCategory(long groupId, long categoryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, int status) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long parentCategoryId, int status, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int status, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long parentCategoryId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long parentCategoryId, int status) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long[] parentCategoryIds) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long[] parentCategoryIds, int status) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) MBCategory getCategory(long categoryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) long[] getCategoryIds(long groupId, long categoryId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getSubcategoryIds(List<Long> categoryIds, long groupId, long categoryId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getSubscribedCategoriesCount(long groupId, long userId) throws SystemException
SystemException
MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws PortalException, SystemException
PortalException
SystemException
MBCategory moveCategoryFromTrash(long categoryId, long newCategoryId) throws PortalException, SystemException
PortalException
SystemException
MBCategory moveCategoryToTrash(long categoryId) throws PortalException, SystemException
PortalException
SystemException
void restoreCategoryFromTrash(long categoryId) throws PortalException, SystemException
PortalException
SystemException
void subscribeCategory(long groupId, long categoryId) throws PortalException, SystemException
PortalException
SystemException
void unsubscribeCategory(long groupId, long categoryId) throws PortalException, SystemException
PortalException
SystemException
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
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |