Package fr.becpg.repo.helper.impl
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
CharactAttributeExtractorPlugin class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EntityDictionaryServiceprivate SystemConfigurationServiceFields 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.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.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, matchCriteria
-
Field Details
-
systemConfigurationService
-
entityDictionaryService
-
-
Constructor Details
-
CharactAttributeExtractorPlugin
public CharactAttributeExtractorPlugin()
-
-
Method Details
-
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 nodenodeRef- 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 nodenodeRef- the reference to the nodecharacNameFormat- name format, can be null- Returns:
- the extracted property name
-