Package org.alfresco.opencmis.mapping
Class RuntimePropertyAccessorMapping
java.lang.Object
org.alfresco.opencmis.mapping.RuntimePropertyAccessorMapping
- All Implemented Interfaces:
PropertyAccessorMapping,org.springframework.beans.factory.InitializingBean
public class RuntimePropertyAccessorMapping
extends Object
implements PropertyAccessorMapping, org.springframework.beans.factory.InitializingBean
Registry of property accessors which map the retrieval and setting of properties within Alfresco.
- Author:
- davidc
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateDirectPropertyAccessor(String propertyId, QName propertyName) Create a direct node property accessorMap<org.apache.chemistry.opencmis.commons.enums.Action,CMISActionEvaluator> getActionEvaluators(org.apache.chemistry.opencmis.commons.enums.BaseTypeId scope) Gets the Action Evaluators applicable for the given CMIS ScopegetPropertyAccessor(String propertyId) Gets a property accessorvoidinit()voidsetCmisConnector(CMISConnector cmisConnector) voidsetCmisDictionaryService(CMISDictionaryService cmisDictionaryService) voidsetCmisMapping(CMISMapping cmisMapping) voidsetServiceRegistry(ServiceRegistry serviceRegistry)
-
Field Details
-
logger
protected static final org.apache.commons.logging.Log logger
-
-
Constructor Details
-
RuntimePropertyAccessorMapping
public RuntimePropertyAccessorMapping()
-
-
Method Details
-
setServiceRegistry
- Parameters:
serviceRegistry- ServiceRegistry
-
setCmisConnector
- Parameters:
cmisConnector- CMISConnector
-
setCmisMapping
- Parameters:
cmisMapping- CMISMapping
-
setCmisDictionaryService
- Parameters:
cmisDictionaryService- CMISDictionaryService
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
init
public void init() -
getPropertyAccessor
Gets a property accessor- Specified by:
getPropertyAccessorin interfacePropertyAccessorMapping- Parameters:
propertyId- property id- Returns:
- property accessor
-
createDirectPropertyAccessor
Create a direct node property accessor- Specified by:
createDirectPropertyAccessorin interfacePropertyAccessorMapping- Parameters:
propertyId- property idpropertyName- node property name- Returns:
- property accessor
-
getActionEvaluators
public Map<org.apache.chemistry.opencmis.commons.enums.Action,CMISActionEvaluator> getActionEvaluators(org.apache.chemistry.opencmis.commons.enums.BaseTypeId scope) Gets the Action Evaluators applicable for the given CMIS Scope- Specified by:
getActionEvaluatorsin interfacePropertyAccessorMapping- Parameters:
scope- BaseTypeId
-