Class GhostedAspect

  • All Implemented Interfaces:
    RecordsManagementCustomModel, RecordsManagementModel, org.alfresco.repo.content.ContentServicePolicies.OnContentUpdatePolicy, org.alfresco.repo.policy.annotation.BehaviourRegistry, org.alfresco.repo.policy.ClassPolicy, org.alfresco.repo.policy.Policy, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class GhostedAspect
    extends BaseBehaviourBean
    implements org.alfresco.repo.content.ContentServicePolicies.OnContentUpdatePolicy
    rma:ghosted behaviour bean
    Since:
    2.2
    Author:
    Roy Wetherall
    • Constructor Detail

      • GhostedAspect

        public GhostedAspect()
    • Method Detail

      • onContentUpdate

        public void onContentUpdate​(org.alfresco.service.cmr.repository.NodeRef content,
                                    boolean bNew)
        Ensure that the content of a ghosted node can not be updated.
        Specified by:
        onContentUpdate in interface org.alfresco.repo.content.ContentServicePolicies.OnContentUpdatePolicy
        See Also:
        ContentServicePolicies.OnContentUpdatePolicy.onContentUpdate(org.alfresco.service.cmr.repository.NodeRef, boolean)