Compiere 3.1

org.compiere.vos
Class ComponentVO

java.lang.Object
  extended by org.compiere.vos.TabFieldsVO
      extended by org.compiere.vos.ComponentVO
All Implemented Interfaces:
Serializable

public class ComponentVO
extends TabFieldsVO

Model Tab Value Object

Version:
$Id: GridTabVO.java,v 1.4 2006/07/30 00:58:38 jjanke Exp $
Author:
Jorg Janke
See Also:
Serialized Form

Nested Class Summary
static class ComponentVO.ComponentType
          Indicates how a particular component should be rendered in the UI.
 
Field Summary
 String accessLevel
          Table Access Level
 int AD_Column_ID
          Primary Parent Column
 int AD_ColumnSortOrder_ID
          Column Sort
 int AD_ColumnSortYesNo_ID
          Column Displayed
 int AD_Image_ID
          Image
 int AD_InfoWindow_ID
           
 int AD_Process_ID
          Process
 int AD_Tab_ID
          Tab ID
 int AD_Table_ID
          Table
 int AD_Tree_ID
           
 boolean canExport
           
 boolean canReport
           
 String commitWarning
          Commot Warning
 ComponentVO.ComponentType componentType
          Indicates how a particular component should be rendered in the UI.
 String description
          Description
 String displayLogic
          Tab Display
 boolean hasTree
          Tree
 String help
          Help
 int Included_Tab_ID
          Included Tab
 boolean isAdvancedTab
           
 boolean isAutoRunSearch
          If set, the table will automatically execute search on itself
 boolean isDeleteable
          Table Deleteable
 boolean isDisplayed
           
 boolean isHighVolume
          Table High Volume
 boolean isInfoTab
           
 boolean isInsertRecord
          Insert Record
 boolean isReadOnly
          Read Only
 boolean isSecurityEnabled
          Security
 boolean isSingleRow
          Single Row
 boolean isSortTab
          Sort Tab
 boolean isTextSearch
           
 boolean isTranslationTab
           
 boolean isView
          Table is View
 String linkColumnName
          Fields contain MFieldVO entities
static CompiereLogger log
           
 String name
          Name
 int onlyCurrentDays
          Only Current Days - derived
 boolean onlyCurrentRows
          Only Current Rows - derived
 String orderByClause
          Order by
 String readOnlyLogic
          Tab Read Only
 int Referenced_Tab_ID
           
 String replicationType
          Replication Type
 ArrayList<String> savedQueries
           
static int SEARCH_TAB_NO
           
static String SELECTED_ROW_INDEXES
           
static String SELECTED_ROW_NOS
           
static String SELECTED_ROWS
           
 long seqNo
           
 String tableName
          Table Name
 int tabLevel
          Level
 int tabNo
          Tab No (not AD_Tab_ID) 0..
 UWindowID uid
          AD Window - replicated
 String whereClause
          Where
 int windowNO
          Window No - replicated
 
Fields inherited from class org.compiere.vos.TabFieldsVO
fieldVOs, resultCount, tableModel
 
Constructor Summary
ComponentVO()
           
 
Method Summary
 boolean equals(Object o)
           
 FieldVO getFieldVO(String columnName)
           
 ArrayList<Integer> getKeyColsPos()
          Get a temporary cache of the indexes of the FieldVOs that are tagged as primary key
static String getRowKey(String[] row, ArrayList<Integer> keyColsPos)
           
 String getRowKeyWithNames(String[] row, ArrayList<Integer> keyColsPos)
           
 int[] getWhoColsPos()
          Get the indexes of the FieldVOs that are who columns
 boolean isDisplayed(Ctx ctx, Evaluatee eval)
           
 boolean isPrinted()
           
 boolean isReadOnly(Evaluatee e)
           
 String keyColumnName()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final CompiereLogger log

windowNO

public int windowNO
Window No - replicated


uid

public UWindowID uid
AD Window - replicated


Referenced_Tab_ID

public int Referenced_Tab_ID

tabNo

public int tabNo
Tab No (not AD_Tab_ID) 0..


AD_Tab_ID

public int AD_Tab_ID
Tab ID


name

public String name
Name


description

public String description
Description


help

public String help
Help


isSingleRow

public boolean isSingleRow
Single Row


isInfoTab

public boolean isInfoTab

seqNo

public long seqNo

isReadOnly

public boolean isReadOnly
Read Only


isDisplayed

public boolean isDisplayed

isTextSearch

public boolean isTextSearch

isInsertRecord

public boolean isInsertRecord
Insert Record


isTranslationTab

public boolean isTranslationTab

isAdvancedTab

public boolean isAdvancedTab

hasTree

public boolean hasTree
Tree


AD_Table_ID

public int AD_Table_ID
Table


AD_Column_ID

public int AD_Column_ID
Primary Parent 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


AD_Process_ID

public int AD_Process_ID
Process


commitWarning

public String commitWarning
Commot 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


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


linkColumnName

public String linkColumnName
Fields contain MFieldVO entities


canExport

public boolean canExport

canReport

public boolean canReport

AD_InfoWindow_ID

public int AD_InfoWindow_ID

componentType

public ComponentVO.ComponentType componentType
Indicates how a particular component should be rendered in the UI.


SELECTED_ROWS

public static String SELECTED_ROWS

SELECTED_ROW_NOS

public static String SELECTED_ROW_NOS

SELECTED_ROW_INDEXES

public static final String SELECTED_ROW_INDEXES
See Also:
Constant Field Values

savedQueries

public ArrayList<String> savedQueries

isAutoRunSearch

public boolean isAutoRunSearch
If set, the table will automatically execute search on itself


AD_Tree_ID

public int AD_Tree_ID

SEARCH_TAB_NO

public static final int SEARCH_TAB_NO
See Also:
Constant Field Values
Constructor Detail

ComponentVO

public ComponentVO()
Method Detail

getFieldVO

public FieldVO getFieldVO(String columnName)

getKeyColsPos

public ArrayList<Integer> getKeyColsPos()
Get a temporary cache of the indexes of the FieldVOs that are tagged as primary key

Returns:

getWhoColsPos

public int[] getWhoColsPos()
Get the indexes of the FieldVOs that are who columns

Returns:
int array with the following schema: index 0: CREATED index 1: CREATEDBY index 2: UPDATED index 3: UPDATEDBY

getRowKey

public static String getRowKey(String[] row,
                               ArrayList<Integer> keyColsPos)

getRowKeyWithNames

public String getRowKeyWithNames(String[] row,
                                 ArrayList<Integer> keyColsPos)

keyColumnName

public String keyColumnName()

isPrinted

public boolean isPrinted()

isDisplayed

public boolean isDisplayed(Ctx ctx,
                           Evaluatee eval)

isReadOnly

public boolean isReadOnly(Evaluatee e)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.