/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. */ public SubFileFilter(Record recordMain) { // For this to work right, the booking number field needs a listener to re-select this file whenever it changes this(); this.init(null, recordMain, -1, null, -1, null, -1, null, -1, false, false, true); } /**
/** * Initialize class fields. */ public void init(BaseField mainFilesField, BaseField fldDate) { m_fldDate = null; m_fldDate = fldDate; super.init(null, null, null, null, null, mainFilesField, BankTrx.BANK_ACCT_ID, null, null, false, false, false); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. */ public SubFileFilter(Record recordMain) { // For this to work right, the booking number field needs a listener to re-select this file whenever it changes this(); this.init(null, recordMain, -1, null, -1, null, -1, null, -1, false, false, true); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. */ public SubFileFilter(Record recordMain) { // For this to work right, the booking number field needs a listener to re-select this file whenever it changes this(); this.init(null, recordMain, null, null, null, null, null, null, null, false, false, true); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. * @param bRefreshLastIfNotCurrent If true, this class will refresh the last record if the record is not current. * @param bRefreshLastIfNotCurrent (Typically used for remote sessions where the remote method does an add before the detail can add). */ public SubFileFilter(Record recordMain, boolean bSetFilterIfNull, boolean bAddNewHeaderOnAdd) { // For this to work right, the key field needs a listener to re-select this file whenever it changes this(); this.init(null, recordMain, -1, null, -1, null, -1, null, -1, bSetFilterIfNull, false, bAddNewHeaderOnAdd); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. * @param bRefreshLastIfNotCurrent If true, this class will refresh the last record if the record is not current. * @param bRefreshLastIfNotCurrent (Typically used for remote sessions where the remote method does an add before the detail can add). */ public SubFileFilter(int iKeyOrder, BaseField fldMainFile) { // For this to work right, the key field needs a listener to re-select this file whenever it changes this(); this.init(null, null, iKeyOrder, fldMainFile, -1, null, -1, null, -1, false, false, true); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. * @param bRefreshLastIfNotCurrent If true, this class will refresh the last record if the record is not current. * @param bRefreshLastIfNotCurrent (Typically used for remote sessions where the remote method does an add before the detail can add). */ public SubFileFilter(Record recordMain, boolean bSetFilterIfNull, boolean bAddNewHeaderOnAdd) { // For this to work right, the key field needs a listener to re-select this file whenever it changes this(); this.init(null, recordMain, null, null, null, null, null, null, null, bSetFilterIfNull, false, bAddNewHeaderOnAdd); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. * @param bRefreshLastIfNotCurrent If true, this class will refresh the last record if the record is not current. * @param bRefreshLastIfNotCurrent (Typically used for remote sessions where the remote method does an add before the detail can add). */ public SubFileFilter(Record recordMain, boolean bSetFilterIfNull) { // For this to work right, the key field needs a listener to re-select this file whenever it changes this(); this.init(null, recordMain, null, null, null, null, null, null, null, bSetFilterIfNull, false, true); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. * @param bRefreshLastIfNotCurrent If true, this class will refresh the last record if the record is not current. * @param bRefreshLastIfNotCurrent (Typically used for remote sessions where the remote method does an add before the detail can add). */ public SubFileFilter(String keyOrder, BaseField fldMainFile) { // For this to work right, the key field needs a listener to re-select this file whenever it changes this(); this.init(null, null, keyOrder, fldMainFile, null, null, null, null, null, false, false, true); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. * @param bRefreshLastIfNotCurrent If true, this class will refresh the last record if the record is not current. * @param bRefreshLastIfNotCurrent (Typically used for remote sessions where the remote method does an add before the detail can add). */ public SubFileFilter(Record recordMain, boolean bSetFilterIfNull) { // For this to work right, the key field needs a listener to re-select this file whenever it changes this(); this.init(null, recordMain, -1, null, -1, null, -1, null, -1, bSetFilterIfNull, false, true); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. * @param bRefreshLastIfNotCurrent If true, this class will refresh the last record if the record is not current. * @param bRefreshLastIfNotCurrent (Typically used for remote sessions where the remote method does an add before the detail can add). */ public SubFileFilter(Record recordMain, boolean bSetFilterIfNull, boolean bAddNewHeaderOnAdd) { // For this to work right, the key field needs a listener to re-select this file whenever it changes this(); this.init(null, recordMain, -1, null, -1, null, -1, null, -1, bSetFilterIfNull, false, bAddNewHeaderOnAdd); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. * @param bRefreshLastIfNotCurrent If true, this class will refresh the last record if the record is not current. * @param bRefreshLastIfNotCurrent (Typically used for remote sessions where the remote method does an add before the detail can add). */ public SubFileFilter(Record recordMain, boolean bSetFilterIfNull) { // For this to work right, the key field needs a listener to re-select this file whenever it changes this(); this.init(null, recordMain, -1, null, -1, null, -1, null, -1, bSetFilterIfNull, false, true); } /**
/** * Constructor for Records with properly set-up reference fields. * If a key area's main key is a reference to this record, then this class sets up * a sub-query to this listener's owner (a record). * @param recordMain The main record to create a sub-query for. * @param bRefreshLastIfNotCurrent If true, this class will refresh the last record if the record is not current. * @param bRefreshLastIfNotCurrent (Typically used for remote sessions where the remote method does an add before the detail can add). */ public SubFileFilter(int iKeyOrder, BaseField fldMainFile) { // For this to work right, the key field needs a listener to re-select this file whenever it changes this(); this.init(null, null, iKeyOrder, fldMainFile, -1, null, -1, null, -1, false, false, true); } /**
/** * Constructor. * @param fldMainFile First field in the key fields. * @param fldMainFile2 Second field in the key fields. * @param fldMainFile3 Third field in the key fields. * @param iFieldSeq The First field sequence of the key. * @param iFieldSeq2 The Second field sequence of the key (-1 for none). * @param iFieldSeq3 The Third field sequence of the key (-1 for none). */ public SubFileFilter(BaseField fldMainFile, String fieldName, BaseField fldMainFile2, String fieldName2, BaseField fldMainFile3, String fieldName3, boolean bSetFilterIfNull) { // For this to work right, the booking number field needs a listener to re-select this file whenever it changes this(); this.init(null, null, null, fldMainFile, fieldName, fldMainFile2, fieldName2, fldMainFile3, fieldName3, bSetFilterIfNull, false, true); } /**
/** * Constructor. * @param fldMainFile First field in the key fields. * @param fldMainFile2 Second field in the key fields. * @param fldMainFile3 Third field in the key fields. * @param iFieldSeq The First field sequence of the key. * @param iFieldSeq2 The Second field sequence of the key (-1 for none). * @param iFieldSeq3 The Third field sequence of the key (-1 for none). */ public SubFileFilter(BaseField fldMainFile, int iFieldSeq, BaseField fldMainFile2, int iFieldSeq2, BaseField fldMainFile3, int iFieldSeq3) { // For this to work right, the booking number field needs a listener to re-select this file whenever it changes this(); this.init(null, null, -1, fldMainFile, iFieldSeq, fldMainFile2, iFieldSeq2, fldMainFile3, iFieldSeq3, false, false, true); } /**
/** * Constructor. * @param fldMainFile First field in the key fields. * @param fldMainFile2 Second field in the key fields. * @param fldMainFile3 Third field in the key fields. * @param iFieldSeq The First field sequence of the key. * @param iFieldSeq2 The Second field sequence of the key (-1 for none). * @param iFieldSeq3 The Third field sequence of the key (-1 for none). */ public SubFileFilter(BaseField fldMainFile, int iFieldSeq, BaseField fldMainFile2, int iFieldSeq2, BaseField fldMainFile3, int iFieldSeq3) { // For this to work right, the booking number field needs a listener to re-select this file whenever it changes this(); this.init(null, null, -1, fldMainFile, iFieldSeq, fldMainFile2, iFieldSeq2, fldMainFile3, iFieldSeq3, false, false, true); } /**
/** * Constructor. * @param fldMainFile First field in the key fields. * @param fldMainFile2 Second field in the key fields. * @param fldMainFile3 Third field in the key fields. * @param iFieldSeq The First field sequence of the key. * @param iFieldSeq2 The Second field sequence of the key (-1 for none). * @param iFieldSeq3 The Third field sequence of the key (-1 for none). */ public SubFileFilter(BaseField fldMainFile, int iFieldSeq, BaseField fldMainFile2, int iFieldSeq2, BaseField fldMainFile3, int iFieldSeq3, boolean bSetFilterIfNull) { // For this to work right, the booking number field needs a listener to re-select this file whenever it changes this(); this.init(null, null, -1, fldMainFile, iFieldSeq, fldMainFile2, iFieldSeq2, fldMainFile3, iFieldSeq3, bSetFilterIfNull, false, true); } /**
/** * Constructor. * @param fldMainFile First field in the key fields. * @param fldMainFile2 Second field in the key fields. * @param fldMainFile3 Third field in the key fields. * @param iFieldSeq The First field sequence of the key. * @param iFieldSeq2 The Second field sequence of the key (-1 for none). * @param iFieldSeq3 The Third field sequence of the key (-1 for none). */ public SubFileFilter(BaseField fldMainFile, int iFieldSeq, BaseField fldMainFile2, int iFieldSeq2, BaseField fldMainFile3, int iFieldSeq3, boolean bSetFilterIfNull) { // For this to work right, the booking number field needs a listener to re-select this file whenever it changes this(); this.init(null, null, -1, fldMainFile, iFieldSeq, fldMainFile2, iFieldSeq2, fldMainFile3, iFieldSeq3, bSetFilterIfNull, false, true); } /**
/** * Initialize class fields. */ public void init(Land recLand, Date dateTarget, short sTargetPax, int iSicPmc) { m_sTargetPax = 0; super.init(null, recLand, null, null, null, null, null, null, null, false, false, false); dateTarget = Converter.convertTimeToDate(dateTarget); m_dateTarget = dateTarget; m_sTargetPax = sTargetPax; m_iSicPmc = iSicPmc; } /**
/** * Initialize class fields. */ public void init(Land recLand, Date dateTarget, short sTargetPax, int iSicPmc) { m_sTargetPax = 0; super.init(null, recLand, null, null, null, null, null, null, null, false, false, false); dateTarget = Converter.convertTimeToDate(dateTarget); m_dateTarget = dateTarget; m_sTargetPax = sTargetPax; m_iSicPmc = iSicPmc; } /**