Class MCOFRetentionConfig

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

public class MCOFRetentionConfig extends X_COF_RetentionConfig
Classe de Modelo para as Configurações de Retenção de Impostos.
Version:
$Id: MCOFRetentionConfig.java, 02/02/2015 09:45:18 usr01
Author:
Tiago Ceridório (tiago.ceridorio@brerp.org, http://www.brerp.org)
See Also:
  • Constructor Details

    • MCOFRetentionConfig

      public MCOFRetentionConfig(Properties ctx, int COF_RetentionConfig_ID, String trxName)
      Parameters:
      ctx -
      COF_RetentionConfig_ID -
      trxName -
    • MCOFRetentionConfig

      public MCOFRetentionConfig(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
    • MCOFRetentionConfig

      public MCOFRetentionConfig(Properties ctx, int COF_RetentionConfig_ID, String trxName, String... virtualColumns)
    • MCOFRetentionConfig

      public MCOFRetentionConfig(Properties ctx, String COF_RetentionConfig_UU, String trxName, String... virtualColumns)
    • MCOFRetentionConfig

      public MCOFRetentionConfig(Properties ctx, String COF_RetentionConfig_UU, String trxName)
  • 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