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 Details

    • logger

      protected static final org.apache.commons.logging.Log logger
  • Constructor Details

    • RuntimePropertyAccessorMapping

      public RuntimePropertyAccessorMapping()
  • Method Details

    • setServiceRegistry

      public void setServiceRegistry(ServiceRegistry serviceRegistry)
      Parameters:
      serviceRegistry - ServiceRegistry
    • setCmisConnector

      public void setCmisConnector(CMISConnector cmisConnector)
      Parameters:
      cmisConnector - CMISConnector
    • setCmisMapping

      public void setCmisMapping(CMISMapping cmisMapping)
      Parameters:
      cmisMapping - CMISMapping
    • setCmisDictionaryService

      public void setCmisDictionaryService(CMISDictionaryService cmisDictionaryService)
      Parameters:
      cmisDictionaryService - CMISDictionaryService
    • afterPropertiesSet

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

      public void init()
    • getPropertyAccessor

      public CMISPropertyAccessor getPropertyAccessor(String propertyId)
      Gets a property accessor
      Specified by:
      getPropertyAccessor in interface PropertyAccessorMapping
      Parameters:
      propertyId - property id
      Returns:
      property accessor
    • createDirectPropertyAccessor

      public CMISPropertyAccessor createDirectPropertyAccessor(String propertyId, QName propertyName)
      Create a direct node property accessor
      Specified by:
      createDirectPropertyAccessor in interface PropertyAccessorMapping
      Parameters:
      propertyId - property id
      propertyName - 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:
      getActionEvaluators in interface PropertyAccessorMapping
      Parameters:
      scope - BaseTypeId