Class NamePathDataExtractor

  • All Implemented Interfaces:
    DataExtractor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public final class NamePathDataExtractor
    extends AbstractDataExtractor
    An extractor that extracts the cm:name path from the RM root down to - and including - the node's own name. This will only extract data if the node is a fileplan component or is a subtype of content.
    Since:
    3.2, AGS 3.3
    Author:
    Derek Hulley, Sara Aspery
    See Also:
    FilePlanService.getNodeRefPath(NodeRef)
    • Constructor Detail

      • NamePathDataExtractor

        public NamePathDataExtractor()
    • Method Detail

      • setNodeService

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

        public void setFilePlanService​(FilePlanService filePlanService)
        Parameters:
        filePlanService - file plan service
      • setRuleService

        public void setRuleService​(RuleService ruleService)
        Parameters:
        ruleService - the ruleService to set
      • setPermissionService

        public void setPermissionService​(PermissionService permissionService)
        Parameters:
        permissionService - permission service
      • setDictionaryService

        public void setDictionaryService​(DictionaryService dictionaryService)
        Parameters:
        dictionaryService - dictionary service
      • isSupported

        public boolean isSupported​(Serializable data)
        Returns:
        Returns true if the data is a NodeRef and it either represents a fileplan component or is frozen
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object