public interface Renditions
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_STATUS |
Modifier and Type | Method and Description |
---|---|
void |
createRendition(String nodeId,
Rendition rendition,
Parameters parameters)
Creates a rendition for the given node asynchronously.
|
BinaryResource |
getContent(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
String renditionId,
Parameters parameters)
Downloads rendition.
|
BinaryResource |
getContent(String nodeId,
String renditionId,
Parameters parameters)
Downloads rendition.
|
Rendition |
getRendition(String nodeId,
String renditionId,
Parameters parameters)
Gets information about a rendition of a node in the repository.
|
CollectionWithPagingInfo<Rendition> |
getRenditions(String nodeId,
Parameters parameters)
Lists all available renditions includes those that have been created and those that are yet to be created.
|
static final String PARAM_STATUS
CollectionWithPagingInfo<Rendition> getRenditions(String nodeId, Parameters parameters)
nodeId
- the source node idparameters
- the Parameters
object to get the parameters passed into the requestRendition getRendition(String nodeId, String renditionId, Parameters parameters)
nodeId
- the source node idrenditionId
- the rendition idparameters
- the Parameters
object to get the parameters passed into the requestRendition
objectvoid createRendition(String nodeId, Rendition rendition, Parameters parameters)
nodeId
- the source node idrendition
- the Rendition
requestparameters
- the Parameters
object to get the parameters passed into the requestBinaryResource getContent(String nodeId, String renditionId, Parameters parameters)
nodeId
- the source node idrenditionId
- the rendition idparameters
- the Parameters
object to get the parameters passed into the requestBinaryResource getContent(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, String renditionId, Parameters parameters)
sourceNodeRef
- the source nodeRefrenditionId
- the rendition idparameters
- the Parameters
object to get the parameters passed into the requestCopyright © 2005–2017 Alfresco Software. All rights reserved.