org.alfresco.opencmis.mapping
Class RuntimePropertyAccessorMapping

java.lang.Object
  extended by org.alfresco.opencmis.mapping.RuntimePropertyAccessorMapping
All Implemented Interfaces:
org.alfresco.opencmis.dictionary.PropertyAccessorMapping, org.springframework.beans.factory.InitializingBean

public class RuntimePropertyAccessorMapping
extends java.lang.Object
implements org.alfresco.opencmis.dictionary.PropertyAccessorMapping, org.springframework.beans.factory.InitializingBean

Registry of property accessors which map the retrieval and setting of properties within Alfresco.


Field Summary
protected static org.apache.commons.logging.Log logger
           
 
Constructor Summary
RuntimePropertyAccessorMapping()
           
 
Method Summary
 void afterPropertiesSet()
           
 org.alfresco.opencmis.dictionary.CMISPropertyAccessor createDirectPropertyAccessor(java.lang.String propertyId, org.alfresco.service.namespace.QName propertyName)
          Create a direct node property accessor
 java.util.Map getActionEvaluators(org.apache.chemistry.opencmis.commons.enums.BaseTypeId scope)
          Gets the Action Evaluators applicable for the given CMIS Scope
 org.alfresco.opencmis.dictionary.CMISPropertyAccessor getPropertyAccessor(java.lang.String propertyId)
          Gets a property accessor
 void setCmisConnector(CMISConnector cmisConnector)
           
 void setCmisDictionaryService(org.alfresco.opencmis.dictionary.CMISDictionaryService cmisDictionaryService)
           
 void setCmisMapping(org.alfresco.opencmis.mapping.CMISMapping cmisMapping)
           
 void setServiceRegistry(ServiceRegistry serviceRegistry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.commons.logging.Log logger
Constructor Detail

RuntimePropertyAccessorMapping

public RuntimePropertyAccessorMapping()
Method Detail

setServiceRegistry

public void setServiceRegistry(ServiceRegistry serviceRegistry)
Parameters:
service - registry

setCmisConnector

public void setCmisConnector(CMISConnector cmisConnector)
Parameters:
cmis - connector

setCmisMapping

public void setCmisMapping(org.alfresco.opencmis.mapping.CMISMapping cmisMapping)
Parameters:
cmis - mapping

setCmisDictionaryService

public void setCmisDictionaryService(org.alfresco.opencmis.dictionary.CMISDictionaryService cmisDictionaryService)
Parameters:
cmis - mapping

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

getPropertyAccessor

public org.alfresco.opencmis.dictionary.CMISPropertyAccessor getPropertyAccessor(java.lang.String propertyId)
Gets a property accessor

Specified by:
getPropertyAccessor in interface org.alfresco.opencmis.dictionary.PropertyAccessorMapping
Parameters:
propertyId - property id
Returns:
property accessor

createDirectPropertyAccessor

public org.alfresco.opencmis.dictionary.CMISPropertyAccessor createDirectPropertyAccessor(java.lang.String propertyId,
                                                                                          org.alfresco.service.namespace.QName propertyName)
Create a direct node property accessor

Specified by:
createDirectPropertyAccessor in interface org.alfresco.opencmis.dictionary.PropertyAccessorMapping
Parameters:
propertyId - property id
propertyName - node property name
Returns:
property accessor

getActionEvaluators

public java.util.Map getActionEvaluators(org.apache.chemistry.opencmis.commons.enums.BaseTypeId scope)
Gets the Action Evaluators applicable for the given CMIS Scope

Specified by:
getActionEvaluators in interface org.alfresco.opencmis.dictionary.PropertyAccessorMapping
Parameters:
scope -


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.