@ProviderType public class MBCategoryServiceWrapper extends Object implements MBCategoryService, ServiceWrapper<MBCategoryService>
MBCategoryService.MBCategoryService| Constructor and Description |
|---|
MBCategoryServiceWrapper(MBCategoryService mbCategoryService) |
| Modifier and Type | Method and Description |
|---|---|
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) |
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[] excludedCategoryIds,
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) |
List<MBCategory> |
getCategories(long groupId,
long excludedCategoryId,
long parentCategoryId,
int status,
int start,
int end) |
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId) |
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId,
int status) |
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId,
int status,
int start,
int end) |
int |
getCategoriesAndThreadsCount(long groupId,
long categoryId) |
int |
getCategoriesAndThreadsCount(long groupId,
long categoryId,
int status) |
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[] excludedCategoryIds,
long[] parentCategoryIds,
int status) |
int |
getCategoriesCount(long groupId,
long parentCategoryId,
int status) |
int |
getCategoriesCount(long groupId,
long excludedCategoryId,
long parentCategoryId,
int status) |
MBCategory |
getCategory(long categoryId) |
long[] |
getCategoryIds(long groupId,
long categoryId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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 |
getWrappedService() |
MBCategory |
moveCategory(long categoryId,
long parentCategoryId,
boolean mergeWithParentCategory) |
MBCategory |
moveCategoryFromTrash(long categoryId,
long newCategoryId) |
MBCategory |
moveCategoryToTrash(long categoryId) |
void |
restoreCategoryFromTrash(long categoryId) |
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) |
public MBCategoryServiceWrapper(MBCategoryService mbCategoryService)
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
addCategory in interface MBCategoryServicePortalExceptionpublic MBCategory addCategory(long userId, long parentCategoryId, String name, String description, ServiceContext serviceContext) throws PortalException
addCategory in interface MBCategoryServicePortalExceptionpublic MBCategory getCategory(long categoryId) throws PortalException
getCategory in interface MBCategoryServicePortalExceptionpublic MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws PortalException
moveCategory in interface MBCategoryServicePortalExceptionpublic MBCategory moveCategoryFromTrash(long categoryId, long newCategoryId) throws PortalException
moveCategoryFromTrash in interface MBCategoryServicePortalExceptionpublic MBCategory moveCategoryToTrash(long categoryId) throws PortalException
moveCategoryToTrash in interface MBCategoryServicePortalExceptionpublic 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
updateCategory in interface MBCategoryServicePortalExceptionpublic int getCategoriesAndThreadsCount(long groupId,
long categoryId)
getCategoriesAndThreadsCount in interface MBCategoryServicepublic int getCategoriesAndThreadsCount(long groupId,
long categoryId,
int status)
getCategoriesAndThreadsCount in interface MBCategoryServicepublic int getCategoriesCount(long groupId,
long excludedCategoryId,
long parentCategoryId,
int status)
getCategoriesCount in interface MBCategoryServicepublic int getCategoriesCount(long groupId,
long parentCategoryId)
getCategoriesCount in interface MBCategoryServicepublic int getCategoriesCount(long groupId,
long parentCategoryId,
int status)
getCategoriesCount in interface MBCategoryServicepublic int getCategoriesCount(long groupId,
long[] excludedCategoryIds,
long[] parentCategoryIds,
int status)
getCategoriesCount in interface MBCategoryServicepublic int getCategoriesCount(long groupId,
long[] parentCategoryIds)
getCategoriesCount in interface MBCategoryServicepublic int getCategoriesCount(long groupId,
long[] parentCategoryIds,
int status)
getCategoriesCount in interface MBCategoryServicepublic int getSubscribedCategoriesCount(long groupId,
long userId)
getSubscribedCategoriesCount in interface MBCategoryServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface MBCategoryServicepublic List<MBCategory> getCategories(long groupId)
getCategories in interface MBCategoryServicepublic List<MBCategory> getCategories(long groupId, int status)
getCategories in interface MBCategoryServicepublic List<MBCategory> getCategories(long groupId, long excludedCategoryId, long parentCategoryId, int status, int start, int end)
getCategories in interface MBCategoryServicepublic List<MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
getCategories in interface MBCategoryServicepublic List<MBCategory> getCategories(long groupId, long parentCategoryId, int status, int start, int end)
getCategories in interface MBCategoryServicepublic List<MBCategory> getCategories(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status, int start, int end)
getCategories in interface MBCategoryServicepublic List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int start, int end)
getCategories in interface MBCategoryServicepublic List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int status, int start, int end)
getCategories in interface MBCategoryServicepublic List<Object> getCategoriesAndThreads(long groupId, long categoryId)
getCategoriesAndThreads in interface MBCategoryServicepublic List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status)
getCategoriesAndThreads in interface MBCategoryServicepublic List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status, int start, int end)
getCategoriesAndThreads in interface MBCategoryServicepublic List<Long> getSubcategoryIds(List<Long> categoryIds, long groupId, long categoryId)
getSubcategoryIds in interface MBCategoryServicepublic List<MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end)
getSubscribedCategories in interface MBCategoryServicepublic long[] getCategoryIds(long groupId,
long categoryId)
getCategoryIds in interface MBCategoryServicepublic void deleteCategory(long categoryId,
boolean includeTrashedEntries)
throws PortalException
deleteCategory in interface MBCategoryServicePortalExceptionpublic void deleteCategory(long groupId,
long categoryId)
throws PortalException
deleteCategory in interface MBCategoryServicePortalExceptionpublic void restoreCategoryFromTrash(long categoryId)
throws PortalException
restoreCategoryFromTrash in interface MBCategoryServicePortalExceptionpublic void subscribeCategory(long groupId,
long categoryId)
throws PortalException
subscribeCategory in interface MBCategoryServicePortalExceptionpublic void unsubscribeCategory(long groupId,
long categoryId)
throws PortalException
unsubscribeCategory in interface MBCategoryServicePortalExceptionpublic MBCategoryService getWrappedService()
getWrappedService in interface ServiceWrapper<MBCategoryService>public void setWrappedService(MBCategoryService mbCategoryService)
setWrappedService in interface ServiceWrapper<MBCategoryService>