Package fr.becpg.repo.helper.impl
Class LinkedValueAttributeExtractorPlugin
java.lang.Object
fr.becpg.repo.helper.impl.LinkedValueAttributeExtractorPlugin
- All Implemented Interfaces:
AttributeExtractorService.AttributeExtractorPlugin
@Service
public class LinkedValueAttributeExtractorPlugin
extends Object
implements AttributeExtractorService.AttributeExtractorPlugin
LinkedValueAttributeExtractorPlugin class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.alfresco.service.cmr.repository.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 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
-
nodeService
@Autowired private org.alfresco.service.cmr.repository.NodeService nodeService
-
-
Constructor Details
-
LinkedValueAttributeExtractorPlugin
public LinkedValueAttributeExtractorPlugin()
-
-
Method Details
-
getMatchingTypes
Gets the collection of QNames that match the criteria for this extractor.- Specified by:
getMatchingTypesin interfaceAttributeExtractorService.AttributeExtractorPlugin- 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.- Specified by:
extractPropNamein interfaceAttributeExtractorService.AttributeExtractorPlugin- 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) - Specified by:
extractMetadatain interfaceAttributeExtractorService.AttributeExtractorPlugin
-
getPriority
- Specified by:
getPriorityin interfaceAttributeExtractorService.AttributeExtractorPlugin
-