org.jbundle.model.Task.setProperty()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(91)

本文整理了Java中org.jbundle.model.Task.setProperty()方法的一些代码示例,展示了Task.setProperty()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Task.setProperty()方法的具体详情如下:
包路径:org.jbundle.model.Task
类名称:Task
方法名:setProperty

Task.setProperty介绍

暂无

代码示例

代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed

/**
 * Set this property.
 * @param strProperty The property key.
 * @param strValue The property value.
 */
public void setProperty(String strProperty, String strValue)
{
  if (this.getTask() != null)
    this.getTask().setProperty(strProperty, strValue);
}
/**

代码示例来源:origin: org.jbundle.base.screen/org.jbundle.base.screen.model

/**
 * Set this property.
 * @param strProperty The property key.
 * @param strValue The property value.
 */
public void setProperty(String strProperty, String strValue)
{
  if (this.getTask() != null)
    this.getTask().setProperty(strProperty, strValue);
}
/**

代码示例来源:origin: com.tourgeek.tour/com.tourgeek.tour.acctpay.screen

BasePanel parentScreen = Screen.makeWindow(this.getTask().getApplication());
task.setProperty("DisplayType", Integer.toString(ApTrxClassField.PREPAYMENTS));
int iDocMode = ApTrx.TOUR_AP_SCREEN;
if (strCommand.equalsIgnoreCase(Vendor.VENDOR_FILE))

代码示例来源:origin: com.tourapp.tour/com.tourapp.tour.acctpay.screen

BasePanel parentScreen = Screen.makeWindow(this.getTask().getApplication());
task.setProperty("DisplayType", Integer.toString(ApTrxClassField.PREPAYMENTS));
int iDocMode = ApTrx.TOUR_AP_SCREEN;
if (strCommand.equalsIgnoreCase(Vendor.VENDOR_FILE))

代码示例来源:origin: org.jbundle.base.screen/org.jbundle.base.screen.control.servlet

/**
   * Do any of the initial servlet stuff.
   * @param servletTask The calling servlet task.
   */
  public void initServletSession(Task servletTask)
  {
    String strTrxID = servletTask.getProperty(TrxMessageHeader.LOG_TRX_ID);
    if (strTrxID != null)
    {   // Good, they are referencing a transaction (access the transaction properties).
      MessageLogModel recMessageLog = (MessageLogModel)Record.makeRecordFromClassName(MessageLog.THICK_CLASS, (RecordOwner)servletTask.getApplication().getSystemRecordOwner());
      try {
        recMessageLog = recMessageLog.getMessageLog(strTrxID);
        if (recMessageLog != null)
        {
          servletTask.setProperty(TrxMessageHeader.LOG_TRX_ID, strTrxID);
          String strHTMLScreen = recMessageLog.getProperty("screen" /*ScreenMessageTransport.SCREEN_SCREEN */);
          if (strHTMLScreen != null)  // Special case, html screen is different from java screen.
            servletTask.setProperty(DBParams.SCREEN, strHTMLScreen);
        }
      } finally {
        recMessageLog.free();
      }
    }  
  }
}

相关文章