public interface CommentEmailBuilder
CommentEmailBuilder
builds Email
s based on the given ResourceResolver
s,
SocialActivity
and recipient user id. As well builder uses EmailContent
of the unsuccessful reply
emails to build failure notification email. The builder is OSGi service that is looked up as service references
while sending an email for an occurring notification.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TRACKER_ID_PROPERTY
Property unique tracker id of comment resource to which comment parsed from email is to be added.
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.mail.Email |
build(ResourceResolver ugcWriterResourceResolver,
ResourceResolver userReaderResourceResolver,
ResourceResolver utilityReaderResourceResolver,
SocialActivity socialActivity,
java.lang.String recipientUserId)
Builds an email message from the given resource resolvers, social activity, recipient user id and reply-to
email address.
|
org.apache.commons.mail.Email |
buildFailure(ResourceResolver userReaderResourceResolver,
ResourceResolver utilityReaderResourceResolver,
EmailContent replyEmailContent)
Builds an email failure message from the given resource resolvers and reply email content.
|
static final java.lang.String TRACKER_ID_PROPERTY
org.apache.commons.mail.Email build(ResourceResolver ugcWriterResourceResolver, ResourceResolver userReaderResourceResolver, ResourceResolver utilityReaderResourceResolver, SocialActivity socialActivity, java.lang.String recipientUserId)
ugcWriterResourceResolver
- the resource resolver used to obtain the resource in the JCRuserReaderResourceResolver
- the resource resolver used to obtain access to the users directoryutilityReaderResourceResolver
- the resource resolver used to obtain access to the email templates
directorysocialActivity
- social activity based on any subscribable comment eventrecipientUserId
- recipient user idorg.apache.commons.mail.Email buildFailure(ResourceResolver userReaderResourceResolver, ResourceResolver utilityReaderResourceResolver, EmailContent replyEmailContent)
userReaderResourceResolver
- the resource resolver used to obtain access to the users directoryutilityReaderResourceResolver
- the resource resolver used to obtain access to the email templates
directoryreplyEmailContent
- the content of the unsuccessful reply email"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"