public interface CommentCreator
CommentCreatorinterface provides opportunity to create comments to required social components. Method
createused to provide access to
CommentOperationsimplementation related to required social component.
|Modifier and Type||Method and Description|
Create a comment with the specified
This determines the priority of this comment creator with respect to others that support the same resource types as this one.
Resource create(Resource root, java.lang.String author, java.util.Map<java.lang.String,java.lang.Object> props, java.util.List<javax.activation.DataSource> attachments, ResourceResolver resolver) throws OperationException
Mapof properties and
root- the root resource of the comment to be created
author- the user name
props- a list of properties for the new comment
attachments- a list of comment attachments
resolver- the user resource resolver to be used to create the new comment
OperationException- if there is an error occurs
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"