Class MPostIt

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

public class MPostIt extends X_AD_PostIt
PostIt Note Model
Version:
$Id: MPostIt.java
Author:
Nicolas Micoud
See Also:
  • Constructor Details

    • MPostIt

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

      public MPostIt(Properties ctx, int AD_PostIt_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      AD_PostIt_ID - id
      trxName - transaction
    • MPostIt

      public MPostIt(Properties ctx, int AD_Table_ID, int Record_ID, String trxName)
      Parameters:
      ctx - context
      AD_Table_ID - table
      Record_ID - record
      trxName - transaction
    • MPostIt

      public MPostIt(Properties ctx, int AD_Table_ID, int Record_ID, String Record_UU, String trxName)
      Parameters:
      ctx - context
      AD_Table_ID - table
      Record_ID - record
      trxName - transaction
    • MPostIt

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

    • getCreatedString

      public String getCreatedString()
      Returns:
      created text
    • getUpdatedString

      public String getUpdatedString()
      Returns:
      updated text
    • getID

      @Deprecated public static int getID(int Table_ID, int Record_ID)
      Deprecated.
      Parameters:
      Table_ID -
      Record_ID -
      Returns:
      AD_PostIt_ID
    • getID

      public static int getID(int Table_ID, int Record_ID, String Record_UU)
      Parameters:
      Table_ID -
      Record_ID -
      Record_UU -
      Returns:
      AD_PostIt_ID
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Before Save
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new
      Returns:
      true if can be saved