(self)
return chain_dict
Test if the given transition exist from the current state.
Test if the given transition exist from the current state.
Test if the given transition exist from the current state .
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
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