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|
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, String author, Map<String,Object> props, List<DataSource> attachments, ResourceResolver resolver) throws OperationException
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 - 2017 Adobe Systems Incorporated. All Rights Reserved"