Package org.compiere.model
Class GridTabVO
- java.lang.Object
-
- org.compiere.model.GridTabVO
-
- All Implemented Interfaces:
Serializable,Evaluatee
public class GridTabVO extends Object implements Evaluatee, Serializable
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
-
-
Field Summary
Fields Modifier and Type Field Description StringAccessLevelTable Access LevelintAD_Column_IDPrimary Link ColumnintAD_ColumnSortOrder_IDColumn SortintAD_ColumnSortYesNo_IDColumn DisplayedintAD_Image_IDImageintAD_Process_IDProcessStringAD_Process_UUProcess UUIDintAD_Tab_IDTab IDStringAD_Tab_UUTab UUIDintAD_Table_IDTableStringAD_Table_UUTable UUIDStringAD_TabTypeTab type uses by IADTabpanel service to identify implementorsintAD_Window_IDAD Window - replicatedStringCommitWarningCommit WarningPropertiesctxContext - replicatedStringDescriptionDescriptionStringDisplayLogicTab DisplaybooleanHasTreeTreeStringHelpHelpintIncluded_Tab_IDIncluded TabbooleanIsAllowAdvancedLookupAllow use of advanced Lookup panelbooleanIsDeleteableTable DeleteablebooleanIsHighVolumeTable High VolumebooleanIsInsertRecordInsert RecordbooleanIsLookupOnlySelectionOnly allow Lookup using selection defined fieldsbooleanIsReadOnlyRead OnlybooleanIsSecurityEnabledSecuritybooleanIsSingleRowSingle RowbooleanIsSortTabSort TabbooleanIsViewTable is ViewintMaxQueryRecordsMax Query RecordsStringNameNameintonlyCurrentDaysOnly Current Days - derivedbooleanonlyCurrentRowsOnly Current Rows - derivedStringOrderByClauseOrder byintParent_Column_IDParent Tab Link ColumnStringReadOnlyLogicTab Read OnlyStringReplicationTypeReplication TypeStringTableNameTable NameintTabLevelLevelintTabNoTab No (not AD_Tab_ID) 0..StringTreeDisplayedOnTree displayed onStringWhereClauseWhereintWindowNoWindow No - replicated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GridTabVOclone(Properties Ctx, int windowNo)Clonestatic GridTabVOcreate(GridWindowVO wVO, int TabNo, ResultSet rs, boolean isRO, boolean onlyCurrentRows)Create MTab VOStringget_ValueAsString(String variableName)Get Variable Value (Evaluatee)ArrayList<GridFieldVO>getFields()protected static StringgetSQL(Properties ctx)Return the SQL statement used for the MTabVO.createbooleanisInitFields()voidsetCtx(Properties newCtx)Set Context including contained elements
-
-
-
Field Detail
-
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
-
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
-
-
Method Detail
-
create
public static GridTabVO create(GridWindowVO wVO, int TabNo, ResultSet rs, boolean isRO, boolean onlyCurrentRows)
Create MTab VO- Parameters:
wVO- value objectTabNo- tab nors- ResultSet from AD_Tab_visRO- true if window is r/oonlyCurrentRows- if true query is limited to not processed records- Returns:
- TabVO
-
getSQL
protected static String getSQL(Properties ctx)
Return the SQL statement used for the MTabVO.create- Parameters:
ctx- context- Returns:
- SQL SELECT String
-
getFields
public ArrayList<GridFieldVO> getFields()
-
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)- Specified by:
get_ValueAsStringin interfaceEvaluatee- Parameters:
variableName- name- Returns:
- value
-
clone
protected GridTabVO clone(Properties Ctx, int windowNo)
Clone- Parameters:
Ctx- contextwindowNo- no- Returns:
- MTabVO or null
-
isInitFields
public boolean isInitFields()
- Returns:
- the initFields
-
-