Liferay 6.2-ce-ga5

com.liferay.portlet.messageboards.service
Class MBCategoryServiceWrapper

java.lang.Object
  extended by 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
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
MBCategoryServiceWrapper(MBCategoryService 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)
           
 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)
           
 MBCategoryService getWrappedMBCategoryService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 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 setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedMBCategoryService(MBCategoryService mbCategoryService)
          Deprecated. As of 6.1.0, replaced by 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
 

Constructor Detail

MBCategoryServiceWrapper

public MBCategoryServiceWrapper(MBCategoryService mbCategoryService)
Method Detail

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface MBCategoryService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface MBCategoryService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addCategory

public MBCategory addCategory(long userId,
                              long parentCategoryId,
                              String name,
                              String description,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Specified by:
addCategory in interface MBCategoryService
Throws:
PortalException
SystemException

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 categoryId,
                           boolean includeTrashedEntries)
                    throws PortalException,
                           SystemException
Specified by:
deleteCategory 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,
                                      int status)
                               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 parentCategoryId,
                                      int status,
                                      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

getCategories

public List<MBCategory> getCategories(long groupId,
                                      long[] parentCategoryIds,
                                      int status,
                                      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 parentCategoryId,
                              int status)
                       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

getCategoriesCount

public int getCategoriesCount(long groupId,
                              long[] parentCategoryIds,
                              int status)
                       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

moveCategory

public MBCategory moveCategory(long categoryId,
                               long parentCategoryId,
                               boolean mergeWithParentCategory)
                        throws PortalException,
                               SystemException
Specified by:
moveCategory in interface MBCategoryService
Throws:
PortalException
SystemException

moveCategoryFromTrash

public MBCategory moveCategoryFromTrash(long categoryId,
                                        long newCategoryId)
                                 throws PortalException,
                                        SystemException
Specified by:
moveCategoryFromTrash in interface MBCategoryService
Throws:
PortalException
SystemException

moveCategoryToTrash

public MBCategory moveCategoryToTrash(long categoryId)
                               throws PortalException,
                                      SystemException
Specified by:
moveCategoryToTrash in interface MBCategoryService
Throws:
PortalException
SystemException

restoreCategoryFromTrash

public void restoreCategoryFromTrash(long categoryId)
                              throws PortalException,
                                     SystemException
Specified by:
restoreCategoryFromTrash in interface MBCategoryService
Throws:
PortalException
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. As of 6.1.0, replaced by getWrappedService()


setWrappedMBCategoryService

public void setWrappedMBCategoryService(MBCategoryService mbCategoryService)
Deprecated. As of 6.1.0, replaced by 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>

Liferay 6.2-ce-ga5