public interface RenditionService2
RenditionDefinition2s and may be registered and looked by the associated
RenditionDefinitionRegistry2.
Unlike the original RenditionService this service, it:
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.service.cmr.repository.ChildAssociationRef |
getRenditionByName(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
String renditionName)
This method gets the rendition of the
sourceNodeRef identified by its name. |
RenditionDefinitionRegistry2 |
getRenditionDefinitionRegistry2() |
List<org.alfresco.service.cmr.repository.ChildAssociationRef> |
getRenditions(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef)
This method gets all the renditions of the
sourceNodeRef. |
boolean |
isEnabled()
Indicates if renditions are enabled.
|
void |
render(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
String renditionName)
This method asynchronously renders content as specified by the
renditionName. |
RenditionDefinitionRegistry2 getRenditionDefinitionRegistry2()
RenditionDefinitionRegistry2 being used by the service.@NotAuditable
void render(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
String renditionName)
renditionName. The content to be
rendered is provided by sourceNodeRef.sourceNodeRef - the node from which the content is retrieved.renditionName - the rendition to be performed.@NotAuditable List<org.alfresco.service.cmr.repository.ChildAssociationRef> getRenditions(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef)
sourceNodeRef.ChildAssociationRefs which link the sourceNodeRef to the renditions.@NotAuditable
org.alfresco.service.cmr.repository.ChildAssociationRef getRenditionByName(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
String renditionName)
sourceNodeRef identified by its name.sourceNodeRef - the source node for the renditionsrenditionName - the renditionName used to identify a rendition.ChildAssociationRef which links the source node to the
rendition or null if there is no rendition or it is not up to date.boolean isEnabled()
system.thumbnail.generate value.Copyright © 2005–2018 Alfresco Software. All rights reserved.