Class MCOFFCI

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_COF_FCI, I_Persistent, Evaluatee

public class MCOFFCI extends X_COF_FCI
Classe Model para FCI
Version:
$Id: MCOFFCI.java, 12 de jan de 2017 19:52:54 ceridorio
Author:
matheus.marcelino (matheus.marcelino@devcoffee.com.br, http://www.devcoffee.com.br), tiago.ceridorio (tiago.ceridorio@devcoffee.com.br>, http://www.devcoffee.com.br)
See Also:
  • Constructor Details

  • Method Details

    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Called before Save for Pre-Save Operation
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new record
      Returns:
      true if record can be saved
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      Called after Save for Post-Save Operation
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - new record
      success - true if save operation was success
      Returns:
      if save was a success
    • beforeDelete

      protected boolean beforeDelete()
      Executed before Delete operation.
      Overrides:
      beforeDelete in class PO
      Returns:
      true if record can be deleted
    • afterDelete

      protected boolean afterDelete(boolean success)
      Executed after Delete operation.
      Overrides:
      afterDelete in class PO
      Parameters:
      success - true if record deleted
      Returns:
      true if delete is a success
    • getLines

      public MCOFFCILine[] getLines(String whereClause, String orderClause)
      Get Lines of FCI
      Parameters:
      whereClause - where clause or null (starting with AND)
      orderClause - order clause
      Returns:
      lines