Class FilePlanIdentifierDataExtractor

java.lang.Object
org.alfresco.repo.audit.extractor.AbstractDataExtractor
org.alfresco.module.org_alfresco_module_rm.audit.extractor.FilePlanIdentifierDataExtractor
All Implemented Interfaces:
DataExtractor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

public final class FilePlanIdentifierDataExtractor extends AbstractDataExtractor
An extractor that gets a node's identifier property. This will only extract data if the node is a Record component identifier.
Since:
3.2
Author:
Derek Hulley
  • Constructor Details

    • FilePlanIdentifierDataExtractor

      public FilePlanIdentifierDataExtractor()
  • Method Details

    • setNodeService

      public void setNodeService(NodeService nodeService)
      Used to check that the node in the context is a fileplan component
    • isSupported

      public boolean isSupported(Serializable data)
      Returns:
      Returns true if the data is a NodeRef and it represents a fileplan component
    • extractData

      public Serializable extractData(Serializable value)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AbstractDataExtractor
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object