Interface AttributeExtractorService.AttributeExtractorPlugin

All Known Implementing Classes:
AbstractExprNameExtractor, ACLEntryAttributeExtractorPlugin, CharactAttributeExtractorPlugin, LinkedValueAttributeExtractorPlugin, ListValueAttributeExtractorPlugin, PersonAttributeExtractorPlugin, VariantAttributeExtractorPlugin
Enclosing interface:
AttributeExtractorService

public static interface AttributeExtractorService.AttributeExtractorPlugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Integer
     
    static final Integer
     
    static final Integer
     
  • Method Summary

    Modifier and Type
    Method
    Description
    extractMetadata(org.alfresco.service.namespace.QName type, org.alfresco.service.cmr.repository.NodeRef nodeRef)
     
    extractPropName(org.alfresco.service.namespace.QName type, org.alfresco.service.cmr.repository.NodeRef nodeRef)
    Extracts the property name from a node based on its type.
    default String
    extractPropName(org.alfresco.service.namespace.QName type, org.alfresco.service.cmr.repository.NodeRef nodeRef, String characNameFormat)
    Extracts the property name from a node based on its type.
    default String
    extractPropName(org.json.JSONObject jsonEntity)
     
    Collection<org.alfresco.service.namespace.QName>
    Gets the collection of QNames that match the criteria for this extractor.
     
    default boolean
    matchCriteria(org.alfresco.service.cmr.repository.NodeRef nodeRef, Map<String,String> criteriaMap)
     
  • Field Details

    • LOW_PRIORITY

      static final Integer LOW_PRIORITY
    • MEDIUM_PRIORITY

      static final Integer MEDIUM_PRIORITY
    • HIGH_PRIORITY

      static final Integer HIGH_PRIORITY
  • Method Details

    • extractPropName

      String extractPropName(@Nonnull org.alfresco.service.namespace.QName type, @Nonnull org.alfresco.service.cmr.repository.NodeRef nodeRef)
      Extracts the property name from a node based on its type.
      Parameters:
      type - the type of the node
      nodeRef - the reference to the node
      Returns:
      the extracted property name
    • extractPropName

      default String extractPropName(org.alfresco.service.namespace.QName type, org.alfresco.service.cmr.repository.NodeRef nodeRef, String characNameFormat)
      Extracts the property name from a node based on its type.
      Parameters:
      type - the type of the node
      nodeRef - the reference to the node
      characNameFormat - name format, can be null
      Returns:
      the extracted property name
    • extractPropName

      default String extractPropName(org.json.JSONObject jsonEntity)
    • extractMetadata

      String extractMetadata(@Nonnull org.alfresco.service.namespace.QName type, @Nonnull org.alfresco.service.cmr.repository.NodeRef nodeRef)
    • getMatchingTypes

      Collection<org.alfresco.service.namespace.QName> getMatchingTypes()
      Gets the collection of QNames that match the criteria for this extractor.
      Returns:
      a collection of matching QNames
    • getPriority

      Integer getPriority()
    • matchCriteria

      default boolean matchCriteria(org.alfresco.service.cmr.repository.NodeRef nodeRef, Map<String,String> criteriaMap)