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 java.lang.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, QNAME
-
Fields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy
ARG_0, ARG_1, ARG_2, QNAME
-
-
Constructor Summary
Constructors Constructor Description RenditionedAspect()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CopyBehaviourCallbackgetCopyCallback(org.alfresco.service.namespace.QName classRef, CopyDetails copyDetails)Deprecated.Called for all types and aspects before copying a node.voidinit()Deprecated.Initialise methodvoidonUpdateProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable> before, java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable> after)Deprecated.Called after a node's properties have been changed.voidsetActionService(ActionService actionService)Deprecated.voidsetDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)Deprecated.Set the dictionary servicevoidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)Deprecated.Set the node servicevoidsetPolicyComponent(PolicyComponent policyComponent)Deprecated.Set the policy componentvoidsetRenditionService(RenditionService renditionService)Deprecated.Set the rendition service
-
-
-
Method Detail
-
setPolicyComponent
public void setPolicyComponent(PolicyComponent policyComponent)
Deprecated.Set the policy component- Parameters:
policyComponent- policy component
-
setActionService
public void setActionService(ActionService actionService)
Deprecated.- Since:
- 3.4.2
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Deprecated.Set the node service- Parameters:
nodeService- node service
-
setRenditionService
public void setRenditionService(RenditionService renditionService)
Deprecated.Set the rendition service- Parameters:
renditionService- rendition service
-
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Deprecated.Set the dictionary service- Parameters:
dictionaryService- dictionary service
-
init
public void init()
Deprecated.Initialise method
-
onUpdateProperties
public void onUpdateProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable> before, java.util.Map<org.alfresco.service.namespace.QName,java.io.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:
NodeServicePolicies.OnUpdatePropertiesPolicy.onUpdateProperties(org.alfresco.service.cmr.repository.NodeRef, java.util.Map, java.util.Map)
-
getCopyCallback
public CopyBehaviourCallback getCopyCallback(org.alfresco.service.namespace.QName classRef, CopyDetails copyDetails)
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:
CopyServicePolicies
-
-