public class SocialWorkspaceEmailNotifier extends Object
Constructor and Description |
---|
SocialWorkspaceEmailNotifier() |
Modifier and Type | Method and Description |
---|---|
void |
notifyAdministratorsForNewSubscriptionRequest(CoreSession session,
DocumentModel subscriptionRequest)
Sends email to the administrators of the Social Workspace referenced by
the
subscriptionRequest . |
void |
notifyUserForSubscriptionRequestAccepted(CoreSession session,
SocialWorkspace socialWorkspace,
String principalName)
Sends email to the user referenced by the
principalName when his
request is accepted. |
void |
notifyUserForSubscriptionRequestRejected(CoreSession session,
SocialWorkspace socialWorkspace,
String principalName)
Sends email to the user referenced by the
principalName when his
request is rejected. |
public void notifyAdministratorsForNewSubscriptionRequest(CoreSession session, DocumentModel subscriptionRequest) throws ClientException
subscriptionRequest
.ClientException
public void notifyUserForSubscriptionRequestAccepted(CoreSession session, SocialWorkspace socialWorkspace, String principalName) throws ClientException
principalName
when his
request is accepted.ClientException
public void notifyUserForSubscriptionRequestRejected(CoreSession session, SocialWorkspace socialWorkspace, String principalName) throws ClientException
principalName
when his
request is rejected.ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.