com.liferay.portlet.messageboards.service
Class MBCategoryServiceWrapper
java.lang.Object
com.liferay.portlet.messageboards.service.MBCategoryServiceWrapper
- All Implemented Interfaces:
- BaseService, ServiceWrapper<MBCategoryService>, MBCategoryService
@ProviderType
public class MBCategoryServiceWrapper
- extends Object
- implements MBCategoryService, ServiceWrapper<MBCategoryService>
Provides a wrapper for MBCategoryService.
- See Also:
MBCategoryService
|
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)
|
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)
|
| 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
- Specified by:
addCategory in interface MBCategoryService
- Throws:
PortalException
addCategory
public MBCategory addCategory(long userId,
long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
- Specified by:
addCategory in interface MBCategoryService
- Throws:
PortalException
deleteCategory
public void deleteCategory(long categoryId,
boolean includeTrashedEntries)
throws PortalException
- Specified by:
deleteCategory in interface MBCategoryService
- Throws:
PortalException
deleteCategory
public void deleteCategory(long groupId,
long categoryId)
throws PortalException
- Specified by:
deleteCategory in interface MBCategoryService
- Throws:
PortalException
getCategories
public List<MBCategory> getCategories(long groupId)
- Specified by:
getCategories in interface MBCategoryService
getCategories
public List<MBCategory> getCategories(long groupId,
long excludedCategoryId,
long parentCategoryId,
int status,
int start,
int end)
- Specified by:
getCategories in interface MBCategoryService
getCategories
public List<MBCategory> getCategories(long groupId,
long[] excludedCategoryIds,
long[] parentCategoryIds,
int status,
int start,
int end)
- Specified by:
getCategories in interface MBCategoryService
getCategories
public List<MBCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
- Specified by:
getCategories in interface MBCategoryService
getCategories
public List<MBCategory> getCategories(long groupId,
long parentCategoryId,
int status,
int start,
int end)
- Specified by:
getCategories in interface MBCategoryService
getCategories
public List<MBCategory> getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end)
- Specified by:
getCategories in interface MBCategoryService
getCategories
public List<MBCategory> getCategories(long groupId,
long[] parentCategoryIds,
int status,
int start,
int end)
- Specified by:
getCategories in interface MBCategoryService
getCategories
public List<MBCategory> getCategories(long groupId,
int status)
- Specified by:
getCategories in interface MBCategoryService
getCategoriesAndThreads
public List<Object> getCategoriesAndThreads(long groupId,
long categoryId)
- Specified by:
getCategoriesAndThreads in interface MBCategoryService
getCategoriesAndThreads
public List<Object> getCategoriesAndThreads(long groupId,
long categoryId,
int status)
- Specified by:
getCategoriesAndThreads in interface MBCategoryService
getCategoriesAndThreads
public List<Object> getCategoriesAndThreads(long groupId,
long categoryId,
int status,
int start,
int end)
- Specified by:
getCategoriesAndThreads in interface MBCategoryService
getCategoriesAndThreadsCount
public int getCategoriesAndThreadsCount(long groupId,
long categoryId)
- Specified by:
getCategoriesAndThreadsCount in interface MBCategoryService
getCategoriesAndThreadsCount
public int getCategoriesAndThreadsCount(long groupId,
long categoryId,
int status)
- Specified by:
getCategoriesAndThreadsCount in interface MBCategoryService
getCategoriesCount
public int getCategoriesCount(long groupId,
long excludedCategoryId,
long parentCategoryId,
int status)
- Specified by:
getCategoriesCount in interface MBCategoryService
getCategoriesCount
public int getCategoriesCount(long groupId,
long[] excludedCategoryIds,
long[] parentCategoryIds,
int status)
- Specified by:
getCategoriesCount in interface MBCategoryService
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId)
- Specified by:
getCategoriesCount in interface MBCategoryService
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId,
int status)
- Specified by:
getCategoriesCount in interface MBCategoryService
getCategoriesCount
public int getCategoriesCount(long groupId,
long[] parentCategoryIds)
- Specified by:
getCategoriesCount in interface MBCategoryService
getCategoriesCount
public int getCategoriesCount(long groupId,
long[] parentCategoryIds,
int status)
- Specified by:
getCategoriesCount in interface MBCategoryService
getCategory
public MBCategory getCategory(long categoryId)
throws PortalException
- Specified by:
getCategory in interface MBCategoryService
- Throws:
PortalException
getCategoryIds
public long[] getCategoryIds(long groupId,
long categoryId)
- Specified by:
getCategoryIds in interface MBCategoryService
getOSGiServiceIdentifier
public String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Specified by:
getOSGiServiceIdentifier in interface MBCategoryService
- Returns:
- the OSGi service identifier
getSubcategoryIds
public List<Long> getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
- Specified by:
getSubcategoryIds in interface MBCategoryService
getSubscribedCategories
public List<MBCategory> getSubscribedCategories(long groupId,
long userId,
int start,
int end)
- Specified by:
getSubscribedCategories in interface MBCategoryService
getSubscribedCategoriesCount
public int getSubscribedCategoriesCount(long groupId,
long userId)
- Specified by:
getSubscribedCategoriesCount in interface MBCategoryService
moveCategory
public MBCategory moveCategory(long categoryId,
long parentCategoryId,
boolean mergeWithParentCategory)
throws PortalException
- Specified by:
moveCategory in interface MBCategoryService
- Throws:
PortalException
moveCategoryFromTrash
public MBCategory moveCategoryFromTrash(long categoryId,
long newCategoryId)
throws PortalException
- Specified by:
moveCategoryFromTrash in interface MBCategoryService
- Throws:
PortalException
moveCategoryToTrash
public MBCategory moveCategoryToTrash(long categoryId)
throws PortalException
- Specified by:
moveCategoryToTrash in interface MBCategoryService
- Throws:
PortalException
restoreCategoryFromTrash
public void restoreCategoryFromTrash(long categoryId)
throws PortalException
- Specified by:
restoreCategoryFromTrash in interface MBCategoryService
- Throws:
PortalException
subscribeCategory
public void subscribeCategory(long groupId,
long categoryId)
throws PortalException
- Specified by:
subscribeCategory in interface MBCategoryService
- Throws:
PortalException
unsubscribeCategory
public void unsubscribeCategory(long groupId,
long categoryId)
throws PortalException
- Specified by:
unsubscribeCategory in interface MBCategoryService
- Throws:
PortalException
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
- Specified by:
updateCategory in interface MBCategoryService
- Throws:
PortalException
getWrappedService
public MBCategoryService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<MBCategoryService>
setWrappedService
public void setWrappedService(MBCategoryService mbCategoryService)
- Specified by:
setWrappedService in interface ServiceWrapper<MBCategoryService>