Class MStatusLine

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

public class MStatusLine extends X_AD_StatusLine implements ImmutablePOSupport
Data Status Line Model
Version:
$Id: MStatusLine.java
Author:
Nicolas Micoud
See Also:
  • Field Details

  • Constructor Details

    • MStatusLine

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

      public MStatusLine(Properties ctx, int AD_StatusLine_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      AD_StatusLine_ID -
      trxName - transaction
    • MStatusLine

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

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

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

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

    • getSL

      public static MStatusLine getSL(int window_ID, int tab_ID, int table_ID)
      Get the status line defined for the window|tab|table (immutable)
      Parameters:
      window_ID -
      tab_ID -
      table_ID -
      Returns:
      first status line discovered, from particular to general, first check win+tab, then just win, then just tab
    • getStatusLinesWidget

      public static MStatusLine[] getStatusLinesWidget(int window_ID, int tab_ID, int table_ID)
      Get the widget lines defined for the window and tab and table (immutable)
      Parameters:
      window_ID -
      tab_ID -
      table_ID -
      Returns:
      array of widget lines discovered for table or specific tab or general window
    • getStatusLinesWidget

      public static MStatusLine[] getStatusLinesWidget(int window_ID, int tab_ID, int table_ID, int infoWindow_ID)
      Get the widget lines defined for the window and tab and table and info window (immutable)
      Parameters:
      window_ID -
      tab_ID -
      table_ID -
      infoWindow_ID -
      Returns:
      array of widget lines discovered for table or specific tab or general window or info window
    • parseLine

      public String parseLine(int windowNo)
      Parse and execute SQL statement. Combine result of execution (first row) with translated AD message.
      Parameters:
      windowNo -
      Returns:
      AD message formatted output of SQL statement execution result
    • markImmutable

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