public class TransformationRequest extends org.gytheio.content.AbstractContentRequest implements org.gytheio.messaging.Request<TransformationReply>
| Constructor and Description |
|---|
TransformationRequest() |
TransformationRequest(List<org.gytheio.content.ContentReference> sourceContentReferences,
List<org.gytheio.content.ContentReference> targetContentReferences,
org.gytheio.content.transform.options.TransformationOptions options) |
| Modifier and Type | Method and Description |
|---|---|
org.gytheio.content.transform.options.TransformationOptions |
getOptions()
Gets the options for the requested transformation
|
Class<TransformationReply> |
getReplyClass() |
List<org.gytheio.content.ContentReference> |
getTargetContentReferences()
Gets the target content reference objects.
|
String |
getTargetMediaType()
Gets the target media type.
|
void |
setOptions(org.gytheio.content.transform.options.TransformationOptions options)
Sets the options for the requested transformation
|
void |
setTargetContentReferences(List<org.gytheio.content.ContentReference> targetContentReferences)
Sets the target content reference objects.
|
void |
setTargetMediaType(String targetMediaType)
Sets the target media type.
|
getSourceContentReferences, setSourceContentReferencesgetReplyTo, getRequestId, setReplyTopublic List<org.gytheio.content.ContentReference> getTargetContentReferences()
Either a target content reference or target media type should be set, not both.
public void setTargetContentReferences(List<org.gytheio.content.ContentReference> targetContentReferences)
Either a target content reference or target media type should be set, not both.
targetContentReferences - public String getTargetMediaType()
Either a target content reference or target media type should be set, not both.
public void setTargetMediaType(String targetMediaType)
Either a target content reference or target media type should be set, not both.
targetMediaType - public org.gytheio.content.transform.options.TransformationOptions getOptions()
public void setOptions(org.gytheio.content.transform.options.TransformationOptions options)
options - public Class<TransformationReply> getReplyClass()
getReplyClass in interface org.gytheio.messaging.Request<TransformationReply>Copyright © 2018 Alfresco Software. All rights reserved.