Package org.alfresco.repo.rendition
Class RenditionedAspect
java.lang.Object
org.alfresco.repo.rendition.RenditionedAspect
- All Implemented Interfaces:
CopyServicePolicies.OnCopyNodePolicy,NodeServicePolicies.OnUpdatePropertiesPolicy,ClassPolicy,Policy
@Deprecated
public class RenditionedAspect
extends Object
implements NodeServicePolicies.OnUpdatePropertiesPolicy, CopyServicePolicies.OnCopyNodePolicy
Deprecated.
The RenditionService is being replace by the simpler async RenditionService2.
Renditioned aspect behaviour bean.
When any node with the renditioned aspect has a property updated, then all
associated renditions are eligible for re-rendering.
Each rendition (as identified by the name in its rn:rendition association) will
be loaded and if the renditionDefinition exists, the rendition will be updated
asynchronously, subject to the defined update policy.
- Author:
- Neil McErlean, Roy Wetherall
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy
Policy.Arg -
Field Summary
Fields inherited from interface org.alfresco.repo.copy.CopyServicePolicies.OnCopyNodePolicy
ARG_0, ARG_1, QNAMEFields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy
ARG_0, ARG_1, ARG_2, QNAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCopyCallback(QName classRef, CopyDetails copyDetails) Deprecated.Called for all types and aspects before copying a node.voidinit()Deprecated.Initialise methodvoidonUpdateProperties(NodeRef nodeRef, Map<QName, Serializable> before, Map<QName, Serializable> after) Deprecated.Called after a node's properties have been changed.voidsetActionService(ActionService actionService) Deprecated.voidsetDictionaryService(DictionaryService dictionaryService) Deprecated.Set the dictionary servicevoidsetNodeService(NodeService nodeService) Deprecated.Set the node servicevoidsetPolicyComponent(PolicyComponent policyComponent) Deprecated.Set the policy componentvoidsetRenditionService(RenditionService renditionService) Deprecated.Set the rendition service
-
Constructor Details
-
RenditionedAspect
public RenditionedAspect()Deprecated.
-
-
Method Details
-
setPolicyComponent
Deprecated.Set the policy component- Parameters:
policyComponent- policy component
-
setActionService
Deprecated.- Since:
- 3.4.2
-
setNodeService
Deprecated.Set the node service- Parameters:
nodeService- node service
-
setRenditionService
Deprecated.Set the rendition service- Parameters:
renditionService- rendition service
-
setDictionaryService
Deprecated.Set the dictionary service- Parameters:
dictionaryService- dictionary service
-
init
public void init()Deprecated.Initialise method -
onUpdateProperties
public void onUpdateProperties(NodeRef nodeRef, Map<QName, Serializable> before, Map<QName, Serializable> after) Deprecated.Description copied from interface:NodeServicePolicies.OnUpdatePropertiesPolicyCalled after a node's properties have been changed.- Specified by:
onUpdatePropertiesin interfaceNodeServicePolicies.OnUpdatePropertiesPolicy- Parameters:
nodeRef- reference to the updated nodebefore- the node's properties before the changeafter- the node's properties after the change- See Also:
-
getCopyCallback
Deprecated.Description copied from interface:CopyServicePolicies.OnCopyNodePolicyCalled for all types and aspects before copying a node.- Specified by:
getCopyCallbackin interfaceCopyServicePolicies.OnCopyNodePolicy- Parameters:
classRef- the type or aspect qualified namecopyDetails- the details of the impending copy- Returns:
- Returns CopyBehaviourCallback
- See Also:
-