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

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

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

Task.getString介绍

暂无

代码示例

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

/**
 * Look up this string in the resource table.
 * This is a convience method - calls getString in the task.
 * @param string The string key.
 * @return The local string (or the key if the string doesn't exist).
 */
public String getString(String string)
{
  if (this.getRecord() != null)
    if (this.getRecord().getTask() != null)
      string = this.getRecord().getTask().getString(string);
  return string;
}
/**

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

/**
 * Delete the batch header.
 */
public boolean removeTrxHeader()
{
  this.getScreenRecord().getField(CashBatchScreenRecord.COUNT).setData(null);
  this.getScreenRecord().getField(CashBatchScreenRecord.TOTAL).setData(null);
  String strSuccess = "Posted successfully";
  strSuccess = this.getTask().getApplication().getResources(ResourceConstants.ACCTREC_RESOURCE, true).getString(strSuccess);
  this.getTask().setStatusText(this.getTask().getString(strSuccess));
  return true;    // Not required for Mcos
}

代码示例来源:origin: com.tourapp.tour/com.tourapp.tour.product.db

return this.getTask().setLastError(this.getTask().getString("No email address in booking"));
else

代码示例来源:origin: com.tourgeek.tour/com.tourgeek.tour.product.db

return this.getTask().setLastError(this.getTask().getString("No email address in booking"));
else

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

if (((iLockMode & DBConstants.OPEN_WAIT_FOR_LOCK_STRATEGY) == DBConstants.OPEN_WAIT_FOR_LOCK_STRATEGY) || ((iLockMode & DBConstants.OPEN_MERGE_ON_LOCK_STRATEGY) == DBConstants.OPEN_MERGE_ON_LOCK_STRATEGY))
  strError = "Lock Timeout error - locked by {0}";
strError = this.getTask().getString(strError);
String strUserName = sessionLocking.m_strUserName;
if (strUserName == null)

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

if (((iLockMode & DBConstants.OPEN_WAIT_FOR_LOCK_STRATEGY) == DBConstants.OPEN_WAIT_FOR_LOCK_STRATEGY) || ((iLockMode & DBConstants.OPEN_MERGE_ON_LOCK_STRATEGY) == DBConstants.OPEN_MERGE_ON_LOCK_STRATEGY))
  strError = "Lock Timeout error - locked by {0}";
strError = this.getTask().getString(strError);
String strUserName = sessionLocking.m_strUserName;
if (strUserName == null)

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

return task.setLastError(task.getString("Can't add a new account on this screen."));
if (!recUserInfo.getField(UserInfo.kPassword).equals(recUserScreenRecord.getField(UserScreenRecord.kCurrentPassword)))
  return task.setLastError(task.getString("Error, current password was incorrect."));
  return task.setLastError(task.getString("Error, new passwords are not equal."));

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

return this.getTask().setLastError(this.getTask().getString("No destination address in message"));

代码示例来源:origin: org.jbundle.main/org.jbundle.main.db

return task.setLastError(task.getString("Can't add a new account on this screen."));
if (!recUserInfo.getField(UserInfo.PASSWORD).equals(recUserScreenRecord.getField(UserScreenRecord.CURRENT_PASSWORD)))
  return task.setLastError(task.getString("Error, current password was incorrect."));
  return task.setLastError(task.getString("Error, new passwords are not equal."));

相关文章