parameters: (cls, filesystem_property_dict)
return_statement: return zodb_property_dict
docstring: Convert a property dict coming from a Property Sheet on the
      filesystem to a ZODB property dict.
  
      This method is just kept for backward-compatibility with
      filesystem Property Sheets used before ZODB Property Sheets.
  
      @param filesystem_property_dict: Filesystem property definition
      @type filesystem_property_dict: dict
      @return: ZODB property definition
      @rtype: dict
docstring_summary: Convert a property dict coming from a Property Sheet on the
      filesystem to a ZODB property dict.
docstring_tokens: Convert a property dict coming from a Property Sheet on the filesystem to a ZODB property dict .
function: def _convertFromFilesystemPropertyDict(cls, filesystem_property_dict):
      """
      Convert a property dict coming from a Property Sheet on the
      filesystem to a ZODB property dict.
  
      This method is just kept for backward-compatibility with
      filesystem Property Sheets used before ZODB Property Sheets.
  
      @param filesystem_property_dict: Filesystem property definition
      @type filesystem_property_dict: dict
      @return: ZODB property definition
      @rtype: dict
      """
      # Prepare a dictionnary of the ZODB property
      zodb_property_dict = {}
  
      for fs_property_name, value in filesystem_property_dict.iteritems():
        # Convert filesystem property name to ZODB if necessary
        zodb_property_name = \
            fs_property_name in cls._name_mapping_filesystem_to_zodb_dict and \
            cls._name_mapping_filesystem_to_zodb_dict[fs_property_name] or \
            fs_property_name
  
        # Convert existing TALES expression class or primitive type to a
        # TALES expression string
        if zodb_property_name in cls._expression_attribute_tuple:
          value = isinstance(value, Expression) and \
              value.text or 'python: ' + repr(value)
  
        # set correctly the id by following naming conventions
        if zodb_property_name == 'id':
          value += cls.getIdAsReferenceAffix()
  
        zodb_property_dict[zodb_property_name] = value
  
      return zodb_property_dict
function_tokens: def _convertFromFilesystemPropertyDict ( cls , filesystem_property_dict ) : # Prepare a dictionnary of the ZODB property zodb_property_dict = { } for fs_property_name , value in filesystem_property_dict . iteritems ( ) : # Convert filesystem property name to ZODB if necessary zodb_property_name = fs_property_name in cls . _name_mapping_filesystem_to_zodb_dict and cls . _name_mapping_filesystem_to_zodb_dict [ fs_property_name ] or fs_property_name # Convert existing TALES expression class or primitive type to a # TALES expression string if zodb_property_name in cls . _expression_attribute_tuple : value = isinstance ( value , Expression ) and value . text or 'python: ' + repr ( value ) # set correctly the id by following naming conventions if zodb_property_name == 'id' : value += cls . getIdAsReferenceAffix ( ) zodb_property_dict [ zodb_property_name ] = value return zodb_property_dict