Liferay 6.2-ce-ga5

com.liferay.portlet.messageboards.service.impl
Class MBCategoryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl
          extended by com.liferay.portlet.messageboards.service.impl.MBCategoryServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, MBCategoryService

public class MBCategoryServiceImpl
extends MBCategoryServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, counterLocalService, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, groupService, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbDiscussionLocalService, mbDiscussionPersistence, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadFlagLocalService, mbThreadFlagPersistence, mbThreadLocalService, mbThreadPersistence, mbThreadService, resourceLocalService, subscriptionLocalService, subscriptionPersistence, systemEventLocalService, systemEventPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
MBCategoryServiceImpl()
           
 
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 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)
           
 MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory)
           
 MBCategory moveCategoryFromTrash(long categoryId, long newCategoryId)
           
 MBCategory moveCategoryToTrash(long categoryId)
           
 void restoreCategoryFromTrash(long categoryId)
           
 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 com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getCounterLocalService, getExpandoRowLocalService, getExpandoRowPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThreadFinder, getMBThreadFlagLocalService, getMBThreadFlagPersistence, getMBThreadLocalService, getMBThreadPersistence, getMBThreadService, getModelClass, getModelClassName, getResourceLocalService, getSubscriptionLocalService, getSubscriptionPersistence, getSystemEventLocalService, getSystemEventPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setCounterLocalService, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadFlagLocalService, setMBThreadFlagPersistence, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setResourceLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setSystemEventLocalService, setSystemEventPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBCategoryServiceImpl

public MBCategoryServiceImpl()
Method Detail

addCategory

public MBCategory addCategory(long userId,
                              long parentCategoryId,
                              String name,
                              String description,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
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
Throws:
PortalException
SystemException

deleteCategory

public void deleteCategory(long categoryId,
                           boolean includeTrashedEntries)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteCategory

public void deleteCategory(long groupId,
                           long categoryId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getCategories

public List<MBCategory> getCategories(long groupId)
                               throws SystemException
Throws:
SystemException

getCategories

public List<MBCategory> getCategories(long groupId,
                                      int status)
                               throws SystemException
Throws:
SystemException

getCategories

public List<MBCategory> getCategories(long groupId,
                                      long parentCategoryId,
                                      int start,
                                      int end)
                               throws SystemException
Throws:
SystemException

getCategories

public List<MBCategory> getCategories(long groupId,
                                      long parentCategoryId,
                                      int status,
                                      int start,
                                      int end)
                               throws SystemException
Throws:
SystemException

getCategories

public List<MBCategory> getCategories(long groupId,
                                      long[] parentCategoryIds,
                                      int start,
                                      int end)
                               throws SystemException
Throws:
SystemException

getCategories

public List<MBCategory> getCategories(long groupId,
                                      long[] parentCategoryIds,
                                      int status,
                                      int start,
                                      int end)
                               throws SystemException
Throws:
SystemException

getCategoriesCount

public int getCategoriesCount(long groupId,
                              long parentCategoryId)
                       throws SystemException
Throws:
SystemException

getCategoriesCount

public int getCategoriesCount(long groupId,
                              long parentCategoryId,
                              int status)
                       throws SystemException
Throws:
SystemException

getCategoriesCount

public int getCategoriesCount(long groupId,
                              long[] parentCategoryIds)
                       throws SystemException
Throws:
SystemException

getCategoriesCount

public int getCategoriesCount(long groupId,
                              long[] parentCategoryIds,
                              int status)
                       throws SystemException
Throws:
SystemException

getCategory

public MBCategory getCategory(long categoryId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getCategoryIds

public long[] getCategoryIds(long groupId,
                             long categoryId)
                      throws SystemException
Throws:
SystemException

getSubcategoryIds

public List<Long> getSubcategoryIds(List<Long> categoryIds,
                                    long groupId,
                                    long categoryId)
                             throws SystemException
Throws:
SystemException

getSubscribedCategories

public List<MBCategory> getSubscribedCategories(long groupId,
                                                long userId,
                                                int start,
                                                int end)
                                         throws SystemException
Throws:
SystemException

getSubscribedCategoriesCount

public int getSubscribedCategoriesCount(long groupId,
                                        long userId)
                                 throws SystemException
Throws:
SystemException

moveCategory

public MBCategory moveCategory(long categoryId,
                               long parentCategoryId,
                               boolean mergeWithParentCategory)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

moveCategoryFromTrash

public MBCategory moveCategoryFromTrash(long categoryId,
                                        long newCategoryId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

moveCategoryToTrash

public MBCategory moveCategoryToTrash(long categoryId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

restoreCategoryFromTrash

public void restoreCategoryFromTrash(long categoryId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

subscribeCategory

public void subscribeCategory(long groupId,
                              long categoryId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

unsubscribeCategory

public void unsubscribeCategory(long groupId,
                                long categoryId)
                         throws PortalException,
                                SystemException
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
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5