Package fr.becpg.repo.helper
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 -
Method Summary
Modifier and TypeMethodDescriptionextractMetadata(org.alfresco.service.namespace.QName type, org.alfresco.service.cmr.repository.NodeRef nodeRef) default StringextractMetadataKey(org.alfresco.service.namespace.QName type, org.alfresco.service.cmr.repository.NodeRef nodeRef) Extracts the metadata of a node without the display decorationsextractMetadata(org.alfresco.service.namespace.QName, org.alfresco.service.cmr.repository.NodeRef)may append: a variant carries its color asvariant-default#RRGGBB, which is a CSS class and not something a message bundle can resolve.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 StringextractPropName(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 StringextractPropName(org.json.JSONObject jsonEntity) Collection<org.alfresco.service.namespace.QName> Gets the collection of QNames that match the criteria for this extractor.default booleanmatchCriteria(org.alfresco.service.cmr.repository.NodeRef nodeRef, Map<String, String> criteriaMap)
-
Field Details
-
LOW_PRIORITY
-
MEDIUM_PRIORITY
-
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 nodenodeRef- 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 nodenodeRef- the reference to the nodecharacNameFormat- name format, can be null- Returns:
- the extracted property name
-
extractPropName
-
extractMetadata
String extractMetadata(@Nonnull org.alfresco.service.namespace.QName type, @Nonnull org.alfresco.service.cmr.repository.NodeRef nodeRef) -
extractMetadataKey
default String extractMetadataKey(@Nonnull org.alfresco.service.namespace.QName type, @Nonnull org.alfresco.service.cmr.repository.NodeRef nodeRef) Extracts the metadata of a node without the display decorationsextractMetadata(org.alfresco.service.namespace.QName, org.alfresco.service.cmr.repository.NodeRef)may append: a variant carries its color asvariant-default#RRGGBB, which is a CSS class and not something a message bundle can resolve.- Parameters:
type- the type of the nodenodeRef- the reference to the node- Returns:
- the metadata usable as a message key
-
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
-