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

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

public class MBCategoryServiceImpl
extends MBCategoryServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl
counterLocalService, counterService, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbDiscussionLocalService, mbDiscussionPersistence, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageFlagFinder, mbMessageFlagLocalService, mbMessageFlagPersistence, mbMessageFlagService, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadLocalService, mbThreadPersistence, mbThreadService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, subscriptionLocalService, subscriptionPersistence, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsEntryService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
MBCategoryServiceImpl()
           
 
Method Summary
 com.liferay.portlet.messageboards.model.MBCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean mailingListActive, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteCategory(long categoryId)
           
 java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
           
 int getCategoriesCount(long groupId, long parentCategoryId)
           
 com.liferay.portlet.messageboards.model.MBCategory getCategory(long categoryId)
           
 void subscribeCategory(long categoryId)
           
 void unsubscribeCategory(long categoryId)
           
 com.liferay.portlet.messageboards.model.MBCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean mailingListActive, boolean mergeWithParentCategory)
           
 
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl
getCounterLocalService, getCounterService, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessageFinder, getMBMessageFlagFinder, getMBMessageFlagLocalService, getMBMessageFlagPersistence, getMBMessageFlagService, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThreadFinder, getMBThreadLocalService, getMBThreadPersistence, getMBThreadService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSubscriptionLocalService, getSubscriptionPersistence, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageFlagFinder, setMBMessageFlagLocalService, setMBMessageFlagPersistence, setMBMessageFlagService, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSubscriptionLocalService, setSubscriptionPersistence, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsEntryService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
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 com.liferay.portlet.messageboards.model.MBCategory addCategory(long parentCategoryId,
                                                                      java.lang.String name,
                                                                      java.lang.String description,
                                                                      java.lang.String emailAddress,
                                                                      java.lang.String inProtocol,
                                                                      java.lang.String inServerName,
                                                                      int inServerPort,
                                                                      boolean inUseSSL,
                                                                      java.lang.String inUserName,
                                                                      java.lang.String inPassword,
                                                                      int inReadInterval,
                                                                      java.lang.String outEmailAddress,
                                                                      boolean outCustom,
                                                                      java.lang.String outServerName,
                                                                      int outServerPort,
                                                                      boolean outUseSSL,
                                                                      java.lang.String outUserName,
                                                                      java.lang.String outPassword,
                                                                      boolean mailingListActive,
                                                                      com.liferay.portal.service.ServiceContext serviceContext)
                                                               throws com.liferay.portal.PortalException,
                                                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteCategory

public void deleteCategory(long categoryId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCategory

public com.liferay.portlet.messageboards.model.MBCategory getCategory(long categoryId)
                                                               throws com.liferay.portal.PortalException,
                                                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCategories

public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(long groupId,
                                                                                        long parentCategoryId,
                                                                                        int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.PortalException,
                                                                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCategoriesCount

public int getCategoriesCount(long groupId,
                              long parentCategoryId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

subscribeCategory

public void subscribeCategory(long categoryId)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsubscribeCategory

public void unsubscribeCategory(long categoryId)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateCategory

public com.liferay.portlet.messageboards.model.MBCategory updateCategory(long categoryId,
                                                                         long parentCategoryId,
                                                                         java.lang.String name,
                                                                         java.lang.String description,
                                                                         java.lang.String emailAddress,
                                                                         java.lang.String inProtocol,
                                                                         java.lang.String inServerName,
                                                                         int inServerPort,
                                                                         boolean inUseSSL,
                                                                         java.lang.String inUserName,
                                                                         java.lang.String inPassword,
                                                                         int inReadInterval,
                                                                         java.lang.String outEmailAddress,
                                                                         boolean outCustom,
                                                                         java.lang.String outServerName,
                                                                         int outServerPort,
                                                                         boolean outUseSSL,
                                                                         java.lang.String outUserName,
                                                                         java.lang.String outPassword,
                                                                         boolean mailingListActive,
                                                                         boolean mergeWithParentCategory)
                                                                  throws com.liferay.portal.PortalException,
                                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException