Class MSalesRegion

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

public class MSalesRegion extends X_C_SalesRegion implements ImmutablePOSupport
Sales Region Model
Version:
$Id: MSalesRegion.java,v 1.3 2006/07/30 00:54:54 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MSalesRegion

      public MSalesRegion(Properties ctx, String C_SalesRegion_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      C_SalesRegion_UU - UUID key
      trxName - Transaction
    • MSalesRegion

      public MSalesRegion(Properties ctx, int C_SalesRegion_ID, String trxName)
      Default Constructor
      Parameters:
      ctx - context
      C_SalesRegion_ID - id
      trxName - transaction
    • MSalesRegion

      public MSalesRegion(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
    • MSalesRegion

      public MSalesRegion(MSalesRegion copy)
      Copy constructor
      Parameters:
      copy -
    • MSalesRegion

      public MSalesRegion(Properties ctx, MSalesRegion copy)
      Copy constructor
      Parameters:
      ctx -
      copy -
    • MSalesRegion

      public MSalesRegion(Properties ctx, MSalesRegion copy, String trxName)
      Copy constructor
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • get

      public static MSalesRegion get(int C_SalesRegion_ID)
      Get SalesRegion from Cache (immutable)
      Parameters:
      C_SalesRegion_ID - id
      Returns:
      MSalesRegion
    • get

      public static MSalesRegion get(Properties ctx, int C_SalesRegion_ID)
      Get SalesRegion from Cache (immutable)
      Parameters:
      ctx - context
      C_SalesRegion_ID - id
      Returns:
      MSalesRegion
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      Description copied from class: PO
      Called after Save for Post-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - true if it is a new record
      success - true if save operation was success
      Returns:
      if save was a success
    • afterDelete

      protected boolean afterDelete(boolean success)
      Description copied from class: PO
      Execute after Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterDelete in class PO
      Parameters:
      success - true if record deleted
      Returns:
      true if delete is a success
    • markImmutable

      public MSalesRegion markImmutable()
      Description copied from interface: ImmutablePOSupport
      mark PO as immutable
      Specified by:
      markImmutable in interface ImmutablePOSupport
      Returns:
      PO