parameters: (self)
return_statement: return chain_dict
docstring: Test if the given transition exist from the current state.
docstring_summary: Test if the given transition exist from the current state.
docstring_tokens: Test if the given transition exist from the current state .
function: def WorkflowTool_getChainDict(self):
      """Test if the given transition exist from the current state.
      """
      chain_dict = {}
      for portal_type, wf_id_list in self._chains_by_type.iteritems():
          for wf_id in wf_id_list:
              chain_dict.setdefault(wf_id, []).append(portal_type)
      return chain_dict
function_tokens: def WorkflowTool_getChainDict ( self ) : chain_dict = { } for portal_type , wf_id_list in self . _chains_by_type . iteritems ( ) : for wf_id in wf_id_list : chain_dict . setdefault ( wf_id , [ ] ) . append ( portal_type ) return chain_dict