|
Field Summary | ||
PARAM_DESTINATION_NODE | ||
PARAM_DESTINATION_PATH_TEMPLATE This optional String parameter indicates where the rendition will be created. |
||
PARAM_IS_COMPONENT_RENDITION This optional boolean parameter specified whether the rendition is a component within a composite rendition. |
||
PARAM_ORPHAN_EXISTING_RENDITION This optional Boolean flag parameter determines whether an existing rendition is moved or orphaned. |
||
PARAM_RENDITION_NODETYPE This optional QName parameter specifies what the node type of the created rendition will be. |
Method Summary | ||
void |
cancelRenditions(NodeRef sourceNode) Cancels all known cancellable running renditions for the given NodeRef via the org.alfresco.service.cmr.action.ActionTrackingService. |
|
void |
cancelRenditions(NodeRef sourceNode, String type) Cancels all known cancellable running renditions for the given NodeRef and type via the org.alfresco.service.cmr.action.ActionTrackingService. |
|
org.alfresco.service.cmr.rendition.CompositeRenditionDefinition |
createCompositeRenditionDefinition(QName renditionName) Creates a new CompositeRenditionDefinition and sets the rendition name and the rendering engine name to the specified values. |
|
createRenditionDefinition(QName renditionName, String renderingEngineName) Creates a new RenditionDefinition and sets the rendition name and the rendering engine name to the specified values. |
||
org.alfresco.service.cmr.rendition.RenderingEngineDefinition |
getRenderingEngineDefinition(String name) Returns the RenderingEngineDefinition associated with the specified rendering engine name. |
|
List<org.alfresco.service.cmr.rendition.RenderingEngineDefinition> |
getRenderingEngineDefinitions() | |
getRenditionByName(NodeRef node, QName renditionName) This method gets the rendition of the specified node identified by the provided rendition name. |
||
getRenditions(NodeRef node) This method gets all the renditions of the specified node. |
||
getRenditions(NodeRef node, String mimeTypePrefix) This method gets all the renditions of the specified node filtered by MIME-type prefix. |
||
getSourceNode(NodeRef renditionNode) This method gets the source node for the specified rendition node. |
||
boolean |
isRendition(NodeRef node) This method returns true if the specified NodeRef is a valid rendition node, else false . |
|
loadRenditionDefinition(QName renditionName) This method retrieves a RenditionDefinition that has been stored in the repository using the save() method. |
||
loadRenditionDefinitions() This method retrieves the RenditionDefinitions that have been stored in the repository using the save() method. |
||
loadRenditionDefinitions(String renderingEngineName) This method retrieves the stored RenditionDefinitions that have been registered for the specified rendering engine name. |
||
render(NodeRef sourceNode, QName renditionDefinitionQName) This method synchronously renders content as specified by the given rendition name. |
||
void |
render(NodeRef sourceNode, QName renditionDefinitionQName, org.alfresco.service.cmr.rendition.RenderCallback callback) This method asynchronously renders content as specified by the given rendition definition name. |
|
render(NodeRef sourceNode, RenditionDefinition renditionDefinition) This method synchronously renders content as specified by the given RenditionDefinition. |
||
void |
render(NodeRef sourceNode, RenditionDefinition renditionDefinition, org.alfresco.service.cmr.rendition.RenderCallback callback) This method asynchronously renders content as specified by the given RenditionDefinition. |
|
void |
saveRenditionDefinition(RenditionDefinition renditionDefinition) This method serializes the RenditionDefinition and stores it in the repository. |
false
the old rendition will
be moved to the new destination location and updated appropriately. If
this parameter is set to true
then the old rendition will be
left in its current location and the rold rendition association from the
source node to the old rendition will be deleted.null
if there is no such rendition.true
if the specified NodeRef is a valid
rendition node, else false
. A nodeRef is a rendition node
if it has the rn:rendition aspect (or sub-aspect) applied.true
if a rendition, else false
null
if there is no source node.NodeRef
via the org.alfresco.service.cmr.action.ActionTrackingService.NodeRef
the action is acting onNodeRef
and type via the org.alfresco.service.cmr.action.ActionTrackingService.NodeRef
the action is acting onload()
method.save()
method. If no
RenditionDefinition exists in the repository with the specified
rendition name then this method returns null.save()
method.
If there are no such RenditionDefinitions, an empty list is
returned.
|