Package org.alfresco.repo.thumbnail
Class FailedThumbnailSourceAspect
- java.lang.Object
-
- org.alfresco.repo.thumbnail.FailedThumbnailSourceAspect
-
- All Implemented Interfaces:
ContentServicePolicies.OnContentUpdatePolicy,NodeServicePolicies.OnDeleteNodePolicy,ClassPolicy,Policy
@Deprecated public class FailedThumbnailSourceAspect extends java.lang.Object implements NodeServicePolicies.OnDeleteNodePolicy, ContentServicePolicies.OnContentUpdatePolicy
Deprecated.The thumbnails code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.Behaviour/Policies for theContentModel.ASPECT_FAILED_THUMBNAIL_SOURCEaspect. When the lastContentModel.TYPE_FAILED_THUMBNAILchild is deleted from under a source node, then all failures are considered removed and theContentModel.ASPECT_FAILED_THUMBNAIL_SOURCEaspect can be removed. Also, anyfailed thumbnailsshould be removed from the model onUpdateProperties as the new content may have become thumbnailable.- Since:
- 3.5.0
- Author:
- Neil Mc Erlean
-
-
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.content.ContentServicePolicies.OnContentUpdatePolicy
QNAME
-
Fields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnDeleteNodePolicy
QNAME
-
-
Constructor Summary
Constructors Constructor Description FailedThumbnailSourceAspect()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidinit()Deprecated.Initialise methodvoidonContentUpdate(org.alfresco.service.cmr.repository.NodeRef nodeRef, boolean newContent)Deprecated.voidonDeleteNode(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef, boolean isNodeArchived)Deprecated.Called after a node is deleted.voidsetBehaviourFilter(BehaviourFilter behaviourFilter)Deprecated.voidsetLockService(LockService lockService)Deprecated.voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)Deprecated.voidsetPolicyComponent(PolicyComponent policyComponent)Deprecated.voidsetThumbnailService(ThumbnailService thumbnailService)Deprecated.
-
-
-
Method Detail
-
setPolicyComponent
public void setPolicyComponent(PolicyComponent policyComponent)
Deprecated.
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Deprecated.
-
setThumbnailService
public void setThumbnailService(ThumbnailService thumbnailService)
Deprecated.
-
setLockService
public void setLockService(LockService lockService)
Deprecated.
-
setBehaviourFilter
public void setBehaviourFilter(BehaviourFilter behaviourFilter)
Deprecated.
-
init
public void init()
Deprecated.Initialise method
-
onDeleteNode
public void onDeleteNode(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef, boolean isNodeArchived)Deprecated.Description copied from interface:NodeServicePolicies.OnDeleteNodePolicyCalled after a node is deleted. The reference given is for an association which has been deleted and cannot be used to retrieve node or associaton information from any of the services.- Specified by:
onDeleteNodein interfaceNodeServicePolicies.OnDeleteNodePolicy- Parameters:
childAssocRef- the primary parent-child association of the deleted nodeisNodeArchived- indicates whether the node has been archived rather than purged
-
onContentUpdate
public void onContentUpdate(org.alfresco.service.cmr.repository.NodeRef nodeRef, boolean newContent)Deprecated.- Specified by:
onContentUpdatein interfaceContentServicePolicies.OnContentUpdatePolicy- Parameters:
nodeRef- the node reference
-
-