com.liferay.portlet.messageboards.service
Class MBCategoryServiceWrapper
java.lang.Object
com.liferay.portlet.messageboards.service.MBCategoryServiceWrapper
- All Implemented Interfaces:
- ServiceWrapper<MBCategoryService>, MBCategoryService
public class MBCategoryServiceWrapper
- extends Object
- implements MBCategoryService, ServiceWrapper<MBCategoryService>
This class is a wrapper for MBCategoryService
.
- See Also:
MBCategoryService
Method Summary |
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 groupId,
long categoryId)
|
List<MBCategory> |
getCategories(long groupId)
|
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)
|
MBCategoryService |
getWrappedMBCategoryService()
Deprecated. Renamed to getWrappedService() |
MBCategoryService |
getWrappedService()
|
void |
setWrappedMBCategoryService(MBCategoryService mbCategoryService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.messageboards.service.MBCategoryService) |
void |
setWrappedService(MBCategoryService mbCategoryService)
|
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBCategoryServiceWrapper
public MBCategoryServiceWrapper(MBCategoryService mbCategoryService)
addCategory
public 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
- Specified by:
addCategory
in interface MBCategoryService
- Throws:
PortalException
SystemException
deleteCategory
public void deleteCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
- Specified by:
deleteCategory
in interface MBCategoryService
- Throws:
PortalException
SystemException
getCategories
public List<MBCategory> getCategories(long groupId)
throws SystemException
- Specified by:
getCategories
in interface MBCategoryService
- Throws:
SystemException
getCategories
public List<MBCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
throws SystemException
- Specified by:
getCategories
in interface MBCategoryService
- Throws:
SystemException
getCategories
public List<MBCategory> getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end)
throws SystemException
- Specified by:
getCategories
in interface MBCategoryService
- Throws:
SystemException
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId)
throws SystemException
- Specified by:
getCategoriesCount
in interface MBCategoryService
- Throws:
SystemException
getCategoriesCount
public int getCategoriesCount(long groupId,
long[] parentCategoryIds)
throws SystemException
- Specified by:
getCategoriesCount
in interface MBCategoryService
- Throws:
SystemException
getCategory
public MBCategory getCategory(long categoryId)
throws PortalException,
SystemException
- Specified by:
getCategory
in interface MBCategoryService
- Throws:
PortalException
SystemException
getCategoryIds
public long[] getCategoryIds(long groupId,
long categoryId)
throws SystemException
- Specified by:
getCategoryIds
in interface MBCategoryService
- Throws:
SystemException
getSubcategoryIds
public List<Long> getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
throws SystemException
- Specified by:
getSubcategoryIds
in interface MBCategoryService
- Throws:
SystemException
getSubscribedCategories
public List<MBCategory> getSubscribedCategories(long groupId,
long userId,
int start,
int end)
throws SystemException
- Specified by:
getSubscribedCategories
in interface MBCategoryService
- Throws:
SystemException
getSubscribedCategoriesCount
public int getSubscribedCategoriesCount(long groupId,
long userId)
throws SystemException
- Specified by:
getSubscribedCategoriesCount
in interface MBCategoryService
- Throws:
SystemException
subscribeCategory
public void subscribeCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
- Specified by:
subscribeCategory
in interface MBCategoryService
- Throws:
PortalException
SystemException
unsubscribeCategory
public void unsubscribeCategory(long groupId,
long categoryId)
throws PortalException,
SystemException
- Specified by:
unsubscribeCategory
in interface MBCategoryService
- Throws:
PortalException
SystemException
updateCategory
public 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
- Specified by:
updateCategory
in interface MBCategoryService
- Throws:
PortalException
SystemException
getWrappedMBCategoryService
public MBCategoryService getWrappedMBCategoryService()
- Deprecated. Renamed to
getWrappedService()
setWrappedMBCategoryService
public void setWrappedMBCategoryService(MBCategoryService mbCategoryService)
- Deprecated. Renamed to
setWrappedService(com.liferay.portlet.messageboards.service.MBCategoryService)
getWrappedService
public MBCategoryService getWrappedService()
- Specified by:
getWrappedService
in interface ServiceWrapper<MBCategoryService>
setWrappedService
public void setWrappedService(MBCategoryService mbCategoryService)
- Specified by:
setWrappedService
in interface ServiceWrapper<MBCategoryService>