org.jbundle.base.db.Record.doRemoteCriteria()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(5.1k)|赞(0)|评价(0)|浏览(63)

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

Record.doRemoteCriteria介绍

[英]Set up/do the remote criteria.
[中]设置/执行远程标准。

代码示例

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

/**
 * Check to see if this record should be skipped.
 * @param strFilter The current SQL WHERE string.
 * @param bIncludeFileName Include the Filename.fieldName in the string.
 * @param vParamList The list of params.
 * @return true if the criteria passes.
 * @return false if the criteria fails, and returns without checking further.
 */
public boolean handleRemoteCriteria(StringBuffer strFilter, boolean bIncludeFileName, Vector<BaseField> vParamList)
{
  BaseListener  nextListener = this.getNextEnabledListener();
  if (nextListener != null)
    return ((FileListener)nextListener).doRemoteCriteria(strFilter, bIncludeFileName, vParamList);
  else
    return this.doRemoteCriteria(strFilter, bIncludeFileName, vParamList);
}
/**

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

/**
 * Check to see if this record should be skipped.
 * @param strFilter The current SQL WHERE string.
 * @param bIncludeFileName Include the Filename.fieldName in the string.
 * @param vParamList The list of params.
 * @return true if the criteria passes.
 * @return false if the criteria fails, and returns without checking further.
 */
public boolean handleRemoteCriteria(StringBuffer strFilter, boolean bIncludeFileName, Vector<BaseField> vParamList)
{
  BaseListener  nextListener = this.getNextEnabledListener();
  if (nextListener != null)
    return ((FileListener)nextListener).doRemoteCriteria(strFilter, bIncludeFileName, vParamList);
  else
    return this.doRemoteCriteria(strFilter, bIncludeFileName, vParamList);
}
/**

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

/**
 * Check to see if this record should be skipped.
 * @param strFilter The current SQL WHERE string.
 * @param bIncludeFileName Include the Filename.fieldName in the string.
 * @param vParamList The list of params.
 * @return true if the criteria passes.
 * @return false if the criteria fails, and returns without checking further.
 */
public boolean handleRemoteCriteria(StringBuffer strFilter, boolean bIncludeFileName, Vector<BaseField> vParamList)
{
  BaseListener  nextListener = this.getNextEnabledListener();
  if (nextListener != null)
    return ((FileListener)nextListener).doRemoteCriteria(strFilter, bIncludeFileName, vParamList);
  else
    return this.doRemoteCriteria(strFilter, bIncludeFileName, vParamList);
}
/**

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

/**
 * Set up/do the remote criteria.
 * @param strbFilter The SQL query string to add to.
 * @param bIncludeFileName Include the file name with this query?
 * @param vParamList The param list to add the raw data to (for prepared statements).
 * @return True if you should not skip this record (does a check on the local data).
 */
public boolean doRemoteCriteria(StringBuffer strbFilter, boolean bIncludeFileName, Vector<BaseField> vParamList)
{
  boolean bDontSkip = true;
  FileListener nextListener = (FileListener)this.getNextEnabledListener();
  if (nextListener != null)
  {
    boolean bOldState = nextListener.setEnabledListener(false);  // Don't allow it to be called again
    bDontSkip = nextListener.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList);
    nextListener.setEnabledListener(bOldState);
  }
  else if (this.getOwner() != null)
    bDontSkip = this.getOwner().doRemoteCriteria(strbFilter, bIncludeFileName, vParamList);
  return bDontSkip; // Don't skip (no criteria)
}
/**

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

/**
 * Set up/do the remote criteria.
 * @param strbFilter The SQL query string to add to.
 * @param bIncludeFileName Include the file name with this query?
 * @param vParamList The param list to add the raw data to (for prepared statements).
 * @return True if you should not skip this record (does a check on the local data).
 */
public boolean doRemoteCriteria(StringBuffer strbFilter, boolean bIncludeFileName, Vector<BaseField> vParamList)
{
  boolean bDontSkip = true;
  FileListener nextListener = (FileListener)this.getNextEnabledListener();
  if (nextListener != null)
  {
    boolean bOldState = nextListener.setEnabledListener(false);  // Don't allow it to be called again
    bDontSkip = nextListener.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList);
    nextListener.setEnabledListener(bOldState);
  }
  else if (this.getOwner() != null)
    bDontSkip = this.getOwner().doRemoteCriteria(strbFilter, bIncludeFileName, vParamList);
  return bDontSkip; // Don't skip (no criteria)
}
/**

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

/**
 * Set up/do the remote criteria.
 * @param strbFilter The SQL query string to add to.
 * @param bIncludeFileName Include the file name with this query?
 * @param vParamList The param list to add the raw data to (for prepared statements).
 * @return True if you should not skip this record (does a check on the local data).
 */
public boolean doRemoteCriteria(StringBuffer strbFilter, boolean bIncludeFileName, Vector<BaseField> vParamList)
{
  boolean bDontSkip = true;
  FileListener nextListener = (FileListener)this.getNextEnabledListener();
  if (nextListener != null)
  {
    boolean bOldState = nextListener.setEnabledListener(false);  // Don't allow it to be called again
    bDontSkip = nextListener.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList);
    nextListener.setEnabledListener(bOldState);
  }
  else if (this.getOwner() != null)
    bDontSkip = this.getOwner().doRemoteCriteria(strbFilter, bIncludeFileName, vParamList);
  return bDontSkip; // Don't skip (no criteria)
}
/**

相关文章

微信公众号

最新文章

更多

Record类方法