Class AuthenticatedUserRolesDataExtractor
java.lang.Object
org.alfresco.repo.audit.extractor.AbstractDataExtractor
org.alfresco.module.org_alfresco_module_rm.audit.extractor.AuthenticatedUserRolesDataExtractor
- All Implemented Interfaces:
DataExtractor
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.InitializingBean
An extractor that uses a node context to determine the currently-authenticated
user's RM roles. This is not a data generator because it can only function in
the context of a given node.
- Since:
- 3.2
- Author:
- Derek Hulley
-
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
setFilePlanRoleService
(FilePlanRoleService filePlanRoleService) void
setFilePlanService
(FilePlanService filePlanService) void
setNodeService
(NodeService nodeService) Used to check that the node in the context is a fileplan componentMethods inherited from class org.alfresco.repo.audit.extractor.AbstractDataExtractor
afterPropertiesSet, setBeanName, setRegistry
-
Constructor Details
-
AuthenticatedUserRolesDataExtractor
public AuthenticatedUserRolesDataExtractor()
-
-
Method Details
-
setNodeService
Used to check that the node in the context is a fileplan component -
setFilePlanService
- Parameters:
filePlanService
- file plan service
-
setFilePlanRoleService
- Parameters:
filePlanRoleService
- file plan role service
-
setDictionaryService
- Parameters:
dictionaryService
- dictionary service
-
isSupported
- Returns:
- Returns true if the data is a NodeRef and it represents either a fileplan component or a subtype of content
-
extractData
-
equals
- Overrides:
equals
in classAbstractDataExtractor
-
hashCode
public int hashCode()
-