Class FilePlanNodeRefPathDataExtractor
- java.lang.Object
-
- org.alfresco.repo.audit.extractor.AbstractDataExtractor
-
- org.alfresco.module.org_alfresco_module_rm.audit.extractor.FilePlanNodeRefPathDataExtractor
-
- All Implemented Interfaces:
DataExtractor
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.InitializingBean
public final class FilePlanNodeRefPathDataExtractor extends AbstractDataExtractor
An extractor that extracts the NodeRef path from the RM root down to - and including - the node itself. This will only extract data if the node is afileplan component
.- Since:
- 1.0
- Author:
- Derek Hulley
- See Also:
FilePlanService.getNodeRefPath(NodeRef)
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.audit.extractor.AbstractDataExtractor
logger
-
-
Constructor Summary
Constructors Constructor Description FilePlanNodeRefPathDataExtractor()
-
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
setFilePlanService(FilePlanService filePlanService)
void
setNodeService(NodeService nodeService)
Used to check that the node in the context is a fileplan componentvoid
setRuleService(RuleService ruleService)
-
Methods inherited from class org.alfresco.repo.audit.extractor.AbstractDataExtractor
afterPropertiesSet, setBeanName, setRegistry
-
-
-
-
Method Detail
-
setNodeService
public void setNodeService(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(RuleService ruleService)
- Parameters:
ruleService
- the ruleService to set
-
isSupported
public boolean isSupported(Serializable data)
- Returns:
- Returns true if the data is a NodeRef and it represents a fileplan component
-
extractData
public Serializable extractData(Serializable value)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractDataExtractor
-
-