Class NamePathDataExtractor
- java.lang.Object
-
- org.alfresco.repo.audit.extractor.AbstractDataExtractor
-
- org.alfresco.module.org_alfresco_module_rm.audit.extractor.NamePathDataExtractor
-
- All Implemented Interfaces:
org.alfresco.repo.audit.extractor.DataExtractor
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.InitializingBean
public final class NamePathDataExtractor extends org.alfresco.repo.audit.extractor.AbstractDataExtractor
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 afileplan component
or is a subtype of content.- Since:
- 3.2, AGS 3.3
- Author:
- Derek Hulley, Sara Aspery
- See Also:
FilePlanService.getNodeRefPath(NodeRef)
-
-
Constructor Summary
Constructors Constructor Description NamePathDataExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Serializable
extractData(Serializable value)
int
hashCode()
boolean
isSupported(Serializable data)
void
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
void
setFilePlanService(FilePlanService filePlanService)
void
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Used to check that the node in the context is a fileplan componentvoid
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
void
setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService)
-
-
-
Method Detail
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Used to check that the node in the context is a fileplan component
-
setFilePlanService
public void setFilePlanService(FilePlanService filePlanService)
- Parameters:
filePlanService
- file plan service
-
setRuleService
public void setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService)
- Parameters:
ruleService
- the ruleService to set
-
setPermissionService
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
- Parameters:
permissionService
- permission service
-
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
- Parameters:
dictionaryService
- dictionary service
-
isSupported
public boolean isSupported(Serializable data)
- Returns:
- Returns true if the data is a NodeRef and it either represents a fileplan component or is frozen
-
extractData
public Serializable extractData(Serializable value)
- See Also:
DataExtractor.extractData(java.io.Serializable)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classorg.alfresco.repo.audit.extractor.AbstractDataExtractor
-
-