com.silverpeas.mailinglist.service.model
Class MailingListServiceImpl
java.lang.Object
com.silverpeas.mailinglist.service.model.MailingListServiceImpl
- All Implemented Interfaces:
- MailingListService
@Service(value="mailingListService")
@Transactional
public class MailingListServiceImpl
- extends Object
- implements MailingListService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_NAME
public static final String COMPONENT_NAME
- See Also:
- Constant Field Values
MailingListServiceImpl
public MailingListServiceImpl()
getMailingListDao
public MailingListDao getMailingListDao()
getOrganisationController
public org.silverpeas.core.admin.OrganisationController getOrganisationController()
createMailingList
public String createMailingList(MailingList mailingList)
- Specified by:
createMailingList
in interface MailingListService
addExternalUser
public void addExternalUser(String componentId,
ExternalUser user)
- Specified by:
addExternalUser
in interface MailingListService
removeExternalUser
public void removeExternalUser(String componentId,
ExternalUser user)
- Specified by:
removeExternalUser
in interface MailingListService
deleteMailingList
public void deleteMailingList(String componentId)
- Specified by:
deleteMailingList
in interface MailingListService
findMailingList
public MailingList findMailingList(String componentId)
- Specified by:
findMailingList
in interface MailingListService
fillMailingList
protected void fillMailingList(MailingList mailingList)
addExternalUsers
public void addExternalUsers(String componentId,
Collection<ExternalUser> users)
- Specified by:
addExternalUsers
in interface MailingListService
removeExternalUsers
public void removeExternalUsers(String componentId,
Collection<ExternalUser> users)
- Specified by:
removeExternalUsers
in interface MailingListService
getParamBooleanValue
protected boolean getParamBooleanValue(String param)
listAllMailingLists
public List<MailingList> listAllMailingLists()
- Specified by:
listAllMailingLists
in interface MailingListService
setInternalSubscribers
public void setInternalSubscribers(String componentId,
Collection<String> userIds)
- Specified by:
setInternalSubscribers
in interface MailingListService
setGroupSubscribers
public void setGroupSubscribers(String componentId,
Collection<String> groupIds)
- Specified by:
setGroupSubscribers
in interface MailingListService
subscribe
public void subscribe(String componentId,
String userId)
- Specified by:
subscribe
in interface MailingListService
unsubscribe
public void unsubscribe(String componentId,
String userId)
- Specified by:
unsubscribe
in interface MailingListService
Copyright © 2016 Silverpeas. All Rights Reserved.