Interface ContentServicePolicies.OnContentUpdatePolicy

All Superinterfaces:
ClassPolicy, Policy
All Known Implementing Classes:
AccessAuditor, DictionaryModelType, EmptyTranslationAspect, FailedThumbnailSourceAspect, RenditionService2Impl, RepoTransferReceiverImpl, SimpleThumbnailer, VersionableAspect, WorkflowDefinitionType
Enclosing interface:
ContentServicePolicies

@AlfrescoPublicApi public static interface ContentServicePolicies.OnContentUpdatePolicy extends ClassPolicy
Policy that is raised once per node when any of the content properties on the node are changed; the specific properties are irrelevant. This is primarily useful to determine when a new file is introduced into the system.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy

    Policy.Arg
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final QName
     

    Fields inherited from interface org.alfresco.repo.policy.Policy

    NAMESPACE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onContentUpdate(NodeRef nodeRef, boolean newContent)
     
  • Field Details

    • QNAME

      static final QName QNAME
  • Method Details

    • onContentUpdate

      void onContentUpdate(NodeRef nodeRef, boolean newContent)
      Parameters:
      nodeRef - the node reference