@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) |
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<?> obc) |
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId,
QueryDefinition<?> queryDefinition) |
int |
getCategoriesAndThreadsCount(long groupId,
long categoryId) |
int |
getCategoriesAndThreadsCount(long groupId,
long categoryId,
int status) |
int |
getCategoriesAndThreadsCount(long groupId,
long categoryId,
QueryDefinition<?> queryDefinition) |
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 userId, long parentCategoryId, String name, String description, ServiceContext serviceContext) throws PortalException
addCategory
in interface MBCategoryService
PortalException
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 MBCategoryService
PortalException
public void deleteCategory(long categoryId, boolean includeTrashedEntries) throws PortalException
deleteCategory
in interface MBCategoryService
PortalException
public void deleteCategory(long groupId, long categoryId) throws PortalException
deleteCategory
in interface MBCategoryService
PortalException
public List<MBCategory> getCategories(long groupId)
getCategories
in interface MBCategoryService
public List<MBCategory> getCategories(long groupId, int status)
getCategories
in interface MBCategoryService
public List<MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
getCategories
in interface MBCategoryService
public List<MBCategory> getCategories(long groupId, long parentCategoryId, int status, int start, int end)
getCategories
in interface MBCategoryService
public List<MBCategory> getCategories(long groupId, long excludedCategoryId, long parentCategoryId, int status, int start, int end)
getCategories
in interface MBCategoryService
public List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int start, int end)
getCategories
in interface MBCategoryService
public List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int status, int start, int end)
getCategories
in interface MBCategoryService
public List<MBCategory> getCategories(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status, int start, int end)
getCategories
in interface MBCategoryService
public List<Object> getCategoriesAndThreads(long groupId, long categoryId)
getCategoriesAndThreads
in interface MBCategoryService
public List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status)
getCategoriesAndThreads
in interface MBCategoryService
public List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status, int start, int end)
getCategoriesAndThreads
in interface MBCategoryService
public List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status, int start, int end, OrderByComparator<?> obc)
getCategoriesAndThreads
in interface MBCategoryService
public List<Object> getCategoriesAndThreads(long groupId, long categoryId, QueryDefinition<?> queryDefinition)
getCategoriesAndThreads
in interface MBCategoryService
public int getCategoriesAndThreadsCount(long groupId, long categoryId)
getCategoriesAndThreadsCount
in interface MBCategoryService
public int getCategoriesAndThreadsCount(long groupId, long categoryId, int status)
getCategoriesAndThreadsCount
in interface MBCategoryService
public int getCategoriesAndThreadsCount(long groupId, long categoryId, QueryDefinition<?> queryDefinition)
getCategoriesAndThreadsCount
in interface MBCategoryService
public int getCategoriesCount(long groupId, long parentCategoryId)
getCategoriesCount
in interface MBCategoryService
public int getCategoriesCount(long groupId, long parentCategoryId, int status)
getCategoriesCount
in interface MBCategoryService
public int getCategoriesCount(long groupId, long excludedCategoryId, long parentCategoryId, int status)
getCategoriesCount
in interface MBCategoryService
public int getCategoriesCount(long groupId, long[] parentCategoryIds)
getCategoriesCount
in interface MBCategoryService
public int getCategoriesCount(long groupId, long[] parentCategoryIds, int status)
getCategoriesCount
in interface MBCategoryService
public int getCategoriesCount(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status)
getCategoriesCount
in interface MBCategoryService
public MBCategory getCategory(long categoryId) throws PortalException
getCategory
in interface MBCategoryService
PortalException
public long[] getCategoryIds(long groupId, long categoryId)
getCategoryIds
in interface MBCategoryService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface MBCategoryService
public List<Long> getSubcategoryIds(List<Long> categoryIds, long groupId, long categoryId)
getSubcategoryIds
in interface MBCategoryService
public List<MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end)
getSubscribedCategories
in interface MBCategoryService
public int getSubscribedCategoriesCount(long groupId, long userId)
getSubscribedCategoriesCount
in interface MBCategoryService
public MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws PortalException
moveCategory
in interface MBCategoryService
PortalException
public MBCategory moveCategoryFromTrash(long categoryId, long newCategoryId) throws PortalException
moveCategoryFromTrash
in interface MBCategoryService
PortalException
public MBCategory moveCategoryToTrash(long categoryId) throws PortalException
moveCategoryToTrash
in interface MBCategoryService
PortalException
public void restoreCategoryFromTrash(long categoryId) throws PortalException
restoreCategoryFromTrash
in interface MBCategoryService
PortalException
public void subscribeCategory(long groupId, long categoryId) throws PortalException
subscribeCategory
in interface MBCategoryService
PortalException
public void unsubscribeCategory(long groupId, long categoryId) throws PortalException
unsubscribeCategory
in interface MBCategoryService
PortalException
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
updateCategory
in interface MBCategoryService
PortalException
public MBCategoryService getWrappedService()
getWrappedService
in interface ServiceWrapper<MBCategoryService>
public void setWrappedService(MBCategoryService mbCategoryService)
setWrappedService
in interface ServiceWrapper<MBCategoryService>