Class MChangeRequest

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

public class MChangeRequest extends X_M_ChangeRequest
Change Request Model
Version:
$Id: MChangeRequest.java,v 1.2 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MChangeRequest

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

      public MChangeRequest(Properties ctx, int M_ChangeRequest_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      M_ChangeRequest_ID - ix
      trxName - trx
    • MChangeRequest

      public MChangeRequest(MRequest request, MGroup group)
      CRM Request Constructor
      Parameters:
      request - request
      group - request group
    • MChangeRequest

      public MChangeRequest(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - trx
  • Method Details

    • getRequests

      public MRequest[] getRequests()
      Get CRM Requests of Change Requests TODO: implement it or delete
      Returns:
      requests
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved