Package fr.becpg.repo.helper
Class VariantAttributeExtractorPlugin
java.lang.Object
fr.becpg.repo.helper.impl.AbstractExprNameExtractor
fr.becpg.repo.helper.VariantAttributeExtractorPlugin
- All Implemented Interfaces:
AttributeExtractorService.AttributeExtractorPlugin
VariantAttributeExtractorPlugin class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsFields inherited from class fr.becpg.repo.helper.impl.AbstractExprNameExtractor
expressionService, namespaceService, nodeServiceFields inherited from interface fr.becpg.repo.helper.AttributeExtractorService.AttributeExtractorPlugin
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractMetadata(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.Collection<org.alfresco.service.namespace.QName>Gets the collection of QNames that match the criteria for this extractor.Methods inherited from class fr.becpg.repo.helper.impl.AbstractExprNameExtractor
extractExpr, getPriorityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.becpg.repo.helper.AttributeExtractorService.AttributeExtractorPlugin
extractPropName, extractPropName, matchCriteria
-
Field Details
-
entityDictionaryService
-
-
Constructor Details
-
VariantAttributeExtractorPlugin
public VariantAttributeExtractorPlugin()
-
-
Method Details
-
getMatchingTypes
Gets the collection of QNames that match the criteria for this extractor.- Returns:
- a collection of matching QNames
-
extractPropName
@Nonnull 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 nodenodeRef- the reference to the node- Returns:
- the extracted property name
-
extractMetadata
@Nonnull public String extractMetadata(@Nonnull org.alfresco.service.namespace.QName type, @Nonnull org.alfresco.service.cmr.repository.NodeRef nodeRef)
-