/** * Add the criteria to the SQL string. */ public boolean doRemoteCriteria(StringBuffer strbFilter, boolean bIncludeFileName, Vector<BaseField> vParamList) { BaseField fldTarget = this.getOwner().getField(m_iTypeField); String strToCompare = Integer.toString(m_iTargetValue); boolean bDontSkip = this.fieldCompare(fldTarget, strToCompare, DBConstants.EQUALS, strbFilter, bIncludeFileName, vParamList); if (strbFilter != null) bDontSkip = true; // Don't need to compare, if I'm creating a filter to pass to SQL if (bDontSkip) return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record else return false; // Skip this one } /**
/** * Add the criteria to the SQL string. */ public boolean doRemoteCriteria(StringBuffer strbFilter, boolean bIncludeFileName, Vector<BaseField> vParamList) { BaseField fldTarget = this.getOwner().getField(m_iTypeField); String strToCompare = Integer.toString(m_iTargetValue); boolean bDontSkip = this.fieldCompare(fldTarget, strToCompare, DBConstants.EQUALS, strbFilter, bIncludeFileName, vParamList); if (strbFilter != null) bDontSkip = true; // Don't need to compare, if I'm creating a filter to pass to SQL if (bDontSkip) return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record else return false; // Skip this one } /**
return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Flag not set, don't process it BaseField recordField = m_fldToCheck; if (m_fldToCheck == null) if (m_bDontFilterIfNullCompare) if ((m_fldToCompare.isNull()) && (m_fldToCompare.isNullable())) // Null field return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record boolean bDontSkip; if (m_fldToCompare != null) bDontSkip = true; // Don't need to compare, if I'm creating a filter to pass to SQL if (bDontSkip) return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record else return false; // Skip this one
return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Flag not set, don't process it BaseField recordField = m_fldToCheck; if (m_fldToCheck == null) if (m_bDontFilterIfNullCompare) if ((m_fldToCompare.isNull()) && (m_fldToCompare.isNullable())) // Null field return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record boolean bDontSkip; if (m_fldToCompare != null) bDontSkip = true; // Don't need to compare, if I'm creating a filter to pass to SQL if (bDontSkip) return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record else return false; // Skip this one
return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Flag not set, don't process it BaseField recordField = m_fldToCheck; if (m_fldToCheck == null) if (m_bDontFilterIfNullCompare) if ((m_fldToCompare.isNull()) && (m_fldToCompare.isNullable())) // Null field return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record boolean bDontSkip; if (m_fldToCompare != null) bDontSkip = true; // Don't need to compare, if I'm creating a filter to pass to SQL if (bDontSkip) return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record else return false; // Skip this one
/** * Add the criteria to the SQL string. */ public boolean doRemoteCriteria(StringBuffer strbFilter, boolean bIncludeFileName, Vector<BaseField> vParamList) { BaseField fldTarget = null; if (typeFieldName != null) fldTarget = this.getOwner().getField(typeFieldName); else fldTarget = this.getOwner().getField(m_iTypeField); String strToCompare = Integer.toString(m_iTargetValue); boolean bDontSkip = this.fieldCompare(fldTarget, strToCompare, DBConstants.EQUALS, strbFilter, bIncludeFileName, vParamList); if (strbFilter != null) bDontSkip = true; // Don't need to compare, if I'm creating a filter to pass to SQL if (bDontSkip) return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record else return false; // Skip this one } /**
return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record else return false; // Skip this one
return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record else return false; // Skip this one
return super.doRemoteCriteria(strbFilter, bIncludeFileName, vParamList); // Dont skip this record else return false; // Skip this one