Class CharactAttributeExtractorPlugin

java.lang.Object
fr.becpg.repo.helper.impl.AbstractExprNameExtractor
fr.becpg.repo.helper.impl.CharactAttributeExtractorPlugin
All Implemented Interfaces:
AttributeExtractorService.AttributeExtractorPlugin
Direct Known Subclasses:
ACLEntryAttributeExtractorPlugin

@Service public class CharactAttributeExtractorPlugin extends AbstractExprNameExtractor

CharactAttributeExtractorPlugin class.

Version:
$Id: $Id
Author:
matthieu
  • Field Details

  • Constructor Details

    • CharactAttributeExtractorPlugin

      public CharactAttributeExtractorPlugin()
  • Method Details

    • getMatchingTypes

      public 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
    • extractPropName

      public 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
    • extractMetadata

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

      public 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