Class GridTabVO

java.lang.Object
org.compiere.model.GridTabVO
All Implemented Interfaces:
Serializable, Evaluatee

public class GridTabVO extends Object implements Evaluatee, Serializable
Tab Model Value Object
Version:
$Id: GridTabVO.java,v 1.4 2006/07/30 00:58:38 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Field Details

    • ctx

      public Properties ctx
      Context - replicated
    • WindowNo

      public int WindowNo
      Window No - replicated
    • AD_Window_ID

      public int AD_Window_ID
      AD Window - replicated
    • TabNo

      public int TabNo
      Tab No (not AD_Tab_ID) 0..
    • AD_Tab_ID

      public int AD_Tab_ID
      Tab ID
    • AD_Tab_UU

      public String AD_Tab_UU
      Tab UUID
    • Name

      public String Name
      Name
    • Description

      public String Description
      Description
    • Help

      public String Help
      Help
    • IsSingleRow

      public boolean IsSingleRow
      Single Row
    • IsReadOnly

      public boolean IsReadOnly
      Read Only
    • IsInsertRecord

      public boolean IsInsertRecord
      Insert Record
    • HasTree

      public boolean HasTree
      Tree
    • TreeDisplayedOn

      public String TreeDisplayedOn
      Tree displayed on
    • MaxQueryRecords

      public int MaxQueryRecords
      Max Query Records
    • AD_Table_ID

      public int AD_Table_ID
      Table
    • AD_Table_UU

      public String AD_Table_UU
      Table UUID
    • AD_Column_ID

      public int AD_Column_ID
      Primary Link Column
    • Parent_Column_ID

      public int Parent_Column_ID
      Parent Tab Link Column
    • TableName

      public String TableName
      Table Name
    • IsView

      public boolean IsView
      Table is View
    • AccessLevel

      public String AccessLevel
      Table Access Level
    • IsSecurityEnabled

      public boolean IsSecurityEnabled
      Security
    • IsDeleteable

      public boolean IsDeleteable
      Table Deleteable
    • IsHighVolume

      public boolean IsHighVolume
      Table High Volume
    • IsAllowAdvancedLookup

      public boolean IsAllowAdvancedLookup
      Allow use of advanced Lookup panel
    • IsLookupOnlySelection

      public boolean IsLookupOnlySelection
      Only allow Lookup using selection defined fields
    • AD_Process_ID

      public int AD_Process_ID
      Process
    • AD_Process_UU

      public String AD_Process_UU
      Process UUID
    • CommitWarning

      public String CommitWarning
      Commit Warning
    • WhereClause

      public String WhereClause
      Where
    • OrderByClause

      public String OrderByClause
      Order by
    • ReadOnlyLogic

      public String ReadOnlyLogic
      Tab Read Only
    • DisplayLogic

      public String DisplayLogic
      Tab Display
    • TabLevel

      public int TabLevel
      Level
    • AD_Image_ID

      public int AD_Image_ID
      Image
    • Included_Tab_ID

      public int Included_Tab_ID
      Included Tab
    • ReplicationType

      public String ReplicationType
      Replication Type
    • EntityType

      public String EntityType
      EntityType
    • IsSortTab

      public boolean IsSortTab
      Sort Tab
    • AD_ColumnSortOrder_ID

      public int AD_ColumnSortOrder_ID
      Column Sort
    • AD_ColumnSortYesNo_ID

      public int AD_ColumnSortYesNo_ID
      Column Displayed
    • onlyCurrentRows

      public boolean onlyCurrentRows
      Only Current Rows - derived
    • onlyCurrentDays

      public int onlyCurrentDays
      Only Current Days - derived
    • AD_TabType

      public String AD_TabType
      Tab type uses by IADTabpanel service to identify implementors
    • IsTranslationTab

      public boolean IsTranslationTab
      Is Translation Tab
    • IsAdvancedTab

      public boolean IsAdvancedTab
      Is Advanced Tab
    • IsInfoTab

      public boolean IsInfoTab
      Is Accounting Info Tab
    • deleteConfirmationLogic

      public String deleteConfirmationLogic
      Delete Confirmation Logic of AD_Tab or AD_UserDef_Tab
  • Method Details

    • create

      public static GridTabVO create(GridWindowVO wVO, int TabNo, ResultSet rs, boolean isRO, boolean onlyCurrentRows)
      Create GridTabVO VO
      Parameters:
      wVO - value object
      TabNo - tab no
      rs - ResultSet from AD_Tab_v
      isRO - true if window is r/o
      onlyCurrentRows - if true query is limited to not processed records
      Returns:
      TabVO
    • checkAccessAndShowPreference

      public static boolean checkAccessAndShowPreference(GridTabVO vo, MRole role)
      Check is vo should be visible for current session context and role
      Parameters:
      vo -
      role -
      Returns:
      true if vo is visible for current session context and role
    • updateContext

      public static void updateContext(GridTabVO vo)
      Update environment context (vo.ctx)
      Parameters:
      vo -
    • loadUserDefTab

      public static void loadUserDefTab(GridTabVO vo)
      Update GridTabVO with values from MUserDefTab
      Parameters:
      vo -
    • getSQL

      protected static String getSQL(Properties ctx)
      Get the SQL statement used for GridTabVO.create
      Parameters:
      ctx - context
      Returns:
      SQL SELECT String
    • getFields

      public ArrayList<GridFieldVO> getFields()
      Returns:
      GridFieldVOs
    • setCtx

      public void setCtx(Properties newCtx)
      Set Context including contained elements
      Parameters:
      newCtx - new context
    • get_ValueAsString

      public String get_ValueAsString(String variableName)
      Get Variable Value (Evaluatee) as string
      Specified by:
      get_ValueAsString in interface Evaluatee
      Parameters:
      variableName - name
      Returns:
      value as string
    • clone

      protected GridTabVO clone(Properties Ctx, int windowNo)
      Clone
      Parameters:
      Ctx - context
      windowNo - no
      Returns:
      GridTabVO or null
    • isInitFields

      public boolean isInitFields()
      Returns:
      true if fields have been created