Liferay 7.0-ce-b4

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.messageboards.service.base.MBMailingListLocalServiceBaseImpl
          extended by com.liferay.portlet.messageboards.service.impl.MBMailingListLocalServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, MBMailingListLocalService

public class MBMailingListLocalServiceImpl
extends MBMailingListLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBMailingListLocalServiceBaseImpl
counterLocalService, mbMailingListLocalService, mbMailingListPersistence, persistedModelLocalServiceRegistry, userFinder, userLocalService, userPersistence
 
Constructor Summary
MBMailingListLocalServiceImpl()
           
 
Method Summary
 MBMailingList addMailingList(long userId, long groupId, long categoryId, 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 allowAnonymous, boolean active, ServiceContext serviceContext)
           
 void deleteCategoryMailingList(long groupId, long categoryId)
           
 void deleteMailingList(long mailingListId)
           
 void deleteMailingList(MBMailingList mailingList)
           
 MBMailingList fetchCategoryMailingList(long groupId, long categoryId)
           
 MBMailingList getCategoryMailingList(long groupId, long categoryId)
           
protected  String getSchedulerGroupName(MBMailingList mailingList)
           
protected  void scheduleMailingList(MBMailingList mailingList)
           
protected  void unscheduleMailingList(MBMailingList mailingList)
           
 MBMailingList updateMailingList(long mailingListId, 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 allowAnonymous, boolean active, ServiceContext serviceContext)
           
protected  void validate(String emailAddress, String inServerName, String inUserName, String outEmailAddress, boolean outCustom, String outServerName, String outUserName, boolean active)
           
 
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBMailingListLocalServiceBaseImpl
addMBMailingList, afterPropertiesSet, createMBMailingList, deleteMBMailingList, deleteMBMailingList, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchMBMailingList, fetchMBMailingListByUuidAndGroupId, getActionableDynamicQuery, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getMBMailingList, getMBMailingListByUuidAndGroupId, getMBMailingListLocalService, getMBMailingListPersistence, getMBMailingLists, getMBMailingListsByUuidAndCompanyId, getMBMailingListsByUuidAndCompanyId, getMBMailingListsCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setMBMailingListLocalService, setMBMailingListPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateMBMailingList
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBMailingListLocalServiceImpl

public MBMailingListLocalServiceImpl()
Method Detail

addMailingList

public MBMailingList addMailingList(long userId,
                                    long groupId,
                                    long categoryId,
                                    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 allowAnonymous,
                                    boolean active,
                                    ServiceContext serviceContext)
                             throws PortalException
Throws:
PortalException

deleteCategoryMailingList

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

deleteMailingList

public void deleteMailingList(long mailingListId)
                       throws PortalException
Throws:
PortalException

deleteMailingList

public void deleteMailingList(MBMailingList mailingList)
                       throws PortalException
Throws:
PortalException

fetchCategoryMailingList

public MBMailingList fetchCategoryMailingList(long groupId,
                                              long categoryId)

getCategoryMailingList

public MBMailingList getCategoryMailingList(long groupId,
                                            long categoryId)
                                     throws PortalException
Throws:
PortalException

updateMailingList

public MBMailingList updateMailingList(long mailingListId,
                                       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 allowAnonymous,
                                       boolean active,
                                       ServiceContext serviceContext)
                                throws PortalException
Throws:
PortalException

getSchedulerGroupName

protected String getSchedulerGroupName(MBMailingList mailingList)

scheduleMailingList

protected void scheduleMailingList(MBMailingList mailingList)
                            throws PortalException
Throws:
PortalException

unscheduleMailingList

protected void unscheduleMailingList(MBMailingList mailingList)
                              throws PortalException
Throws:
PortalException

validate

protected void validate(String emailAddress,
                        String inServerName,
                        String inUserName,
                        String outEmailAddress,
                        boolean outCustom,
                        String outServerName,
                        String outUserName,
                        boolean active)
                 throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4