public interface CommentCreator
CommentCreator interface provides opportunity to create comments to required social components. Method
create used to provide access to CommentOperations implementation related to required social
component.| Modifier and Type | Method and Description |
|---|---|
Resource |
create(Resource root,
String author,
Map<String,Object> props,
List<DataSource> attachments,
ResourceResolver resolver)
|
int |
getPriority()
This determines the priority of this comment creator with respect to others that support the same resource
types as this one.
|
String[] |
getSupportedResourceTypes() |
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 createdauthor - the user nameprops - a list of properties for the new commentattachments - a list of comment attachmentsresolver - the user resource resolver to be used to create the new commentResourceOperationException - if there is an error occursString[] getSupportedResourceTypes()
int getPriority()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"