Class ProtectedAspects

  • All Implemented Interfaces:
    org.alfresco.repo.node.NodeServicePolicies.OnRemoveAspectPolicy, org.alfresco.repo.policy.ClassPolicy, org.alfresco.repo.policy.Policy

    public class ProtectedAspects
    extends Object
    implements org.alfresco.repo.node.NodeServicePolicies.OnRemoveAspectPolicy
    protected aspects behaviour bean allow only System user to remove this aspects
    Since:
    2.6
    Author:
    Ramona Popa
    • Constructor Detail

      • ProtectedAspects

        public ProtectedAspects()
    • Method Detail

      • setPolicyComponent

        public void setPolicyComponent​(org.alfresco.repo.policy.PolicyComponent policyComponent)
      • setAuthenticationUtil

        public void setAuthenticationUtil​(AuthenticationUtil authenticationUtil)
      • init

        public void init()
        Initialise method
      • onRemoveAspect

        public void onRemoveAspect​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                   org.alfresco.service.namespace.QName aspectTypeQName)
        Specified by:
        onRemoveAspect in interface org.alfresco.repo.node.NodeServicePolicies.OnRemoveAspectPolicy