Class NamePathDataExtractor
java.lang.Object
org.alfresco.repo.audit.extractor.AbstractDataExtractor
org.alfresco.module.org_alfresco_module_rm.audit.extractor.NamePathDataExtractor
- All Implemented Interfaces:
DataExtractor
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.InitializingBean
An extractor that extracts the cm:name path from the RM root down to
- and including - the node's own name. This will only extract data if the
node is a
fileplan component
or is a subtype of content.- Since:
- 3.2, AGS 3.3
- Author:
- Derek Hulley, Sara Aspery
- See Also:
-
Field Summary
Fields inherited from class org.alfresco.repo.audit.extractor.AbstractDataExtractor
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
extractData
(Serializable value) int
hashCode()
boolean
isSupported
(Serializable data) void
setDictionaryService
(DictionaryService dictionaryService) void
setFilePlanService
(FilePlanService filePlanService) void
setNodeService
(NodeService nodeService) Used to check that the node in the context is a fileplan componentvoid
setPermissionService
(PermissionService permissionService) void
setRuleService
(RuleService ruleService) Methods inherited from class org.alfresco.repo.audit.extractor.AbstractDataExtractor
afterPropertiesSet, setBeanName, setRegistry
-
Constructor Details
-
NamePathDataExtractor
public NamePathDataExtractor()
-
-
Method Details
-
setNodeService
Used to check that the node in the context is a fileplan component -
setFilePlanService
- Parameters:
filePlanService
- file plan service
-
setRuleService
- Parameters:
ruleService
- the ruleService to set
-
setPermissionService
- Parameters:
permissionService
- permission service
-
setDictionaryService
- Parameters:
dictionaryService
- dictionary service
-
isSupported
- Returns:
- Returns true if the data is a NodeRef and it either represents a fileplan component or is frozen
-
extractData
-
equals
- Overrides:
equals
in classAbstractDataExtractor
-
hashCode
public int hashCode()
-