parameters: (
        self,
        business_process,
        title,
        trade_phase,
        trade_date,
        membership_criterion_base_category_list=None,
        membership_criterion_category_list=None,
        **kw)
docstring: Add a trade model path to the business process.
docstring_summary: Add a trade model path to the business process.
docstring_tokens: Add a trade model path to the business process .
function: def _addTradeModelPath(
        self,
        business_process,
        title,
        trade_phase,
        trade_date,
        membership_criterion_base_category_list=None,
        membership_criterion_category_list=None,
        **kw):
      """ Add a trade model path to the business process.
      """
      reference = "TMP-%s" % "-".join(title.upper().strip().split(" "))
      path_id = "%s_path" %  "_".join(title.lower().strip().split(" "))
      trade_model_path = business_process.newContent(
                                  portal_type = "Trade Model Path",
                                  id = path_id,
                                  title = title,
                                  reference = reference, **kw)
  
      trade_model_path.setTradePhase(trade_phase)
      if trade_date is not None:
        trade_model_path.setTradeDate('trade_phase/%s' % trade_date)
  
      if membership_criterion_base_category_list:
        trade_model_path.setMembershipCriterionBaseCategoryList(
            membership_criterion_base_category_list.split(","))
      if membership_criterion_category_list:
        trade_model_path.setMembershipCriterionCategoryList(
            membership_criterion_category_list.split(","))
function_tokens: def _addTradeModelPath ( self , business_process , title , trade_phase , trade_date , membership_criterion_base_category_list = None , membership_criterion_category_list = None , * * kw ) : reference = "TMP-%s" % "-" . join ( title . upper ( ) . strip ( ) . split ( " " ) ) path_id = "%s_path" % "_" . join ( title . lower ( ) . strip ( ) . split ( " " ) ) trade_model_path = business_process . newContent ( portal_type = "Trade Model Path" , id = path_id , title = title , reference = reference , * * kw ) trade_model_path . setTradePhase ( trade_phase ) if trade_date is not None : trade_model_path . setTradeDate ( 'trade_phase/%s' % trade_date ) if membership_criterion_base_category_list : trade_model_path . setMembershipCriterionBaseCategoryList ( membership_criterion_base_category_list . split ( "," ) ) if membership_criterion_category_list : trade_model_path . setMembershipCriterionCategoryList ( membership_criterion_category_list . split ( "," ) )