Package org.compiere.model
Class GridTabVO
java.lang.Object
org.compiere.model.GridTabVO
- All Implemented Interfaces:
Serializable
,Evaluatee
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 Summary
Modifier and TypeFieldDescriptionTable Access Levelint
Primary Link Columnint
Column Sortint
Column Displayedint
Imageint
ProcessProcess UUIDint
Tab IDTab UUIDint
TableTable UUIDTab type uses by IADTabpanel service to identify implementorsint
AD Window - replicatedCommit WarningContext - replicatedDelete Confirmation Logic of AD_Tab or AD_UserDef_TabDescriptionTab DisplayEntityTypeboolean
TreeHelpint
Included Tabboolean
Is Advanced Tabboolean
Allow use of advanced Lookup panelboolean
Table Deleteableboolean
Table High Volumeboolean
Is Accounting Info Tabboolean
Insert Recordboolean
Only allow Lookup using selection defined fieldsboolean
Read Onlyboolean
Securityboolean
Single Rowboolean
Sort Tabboolean
Is Translation Tabboolean
Table is Viewint
Max Query RecordsNameint
Only Current Days - derivedboolean
Only Current Rows - derivedOrder byint
Parent Tab Link ColumnTab Read OnlyReplication TypeTable Nameint
Levelint
Tab No (not AD_Tab_ID) 0..Tree displayed onWhereint
Window No - replicated -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkAccessAndShowPreference
(GridTabVO vo, MRole role) Check is vo should be visible for current session context and roleprotected GridTabVO
clone
(Properties Ctx, int windowNo) Clonestatic GridTabVO
create
(GridWindowVO wVO, int TabNo, ResultSet rs, boolean isRO, boolean onlyCurrentRows) Create GridTabVO VOget_ValueAsString
(String variableName) Get Variable Value (Evaluatee) as stringprotected static String
getSQL
(Properties ctx) Get the SQL statement used for GridTabVO.createboolean
static void
Update GridTabVO with values fromMUserDefTab
void
setCtx
(Properties newCtx) Set Context including contained elementsstatic void
Update environment context (vo.ctx)
-
Field Details
-
ctx
Context - replicated -
WindowNo
public int WindowNoWindow No - replicated -
AD_Window_ID
public int AD_Window_IDAD Window - replicated -
TabNo
public int TabNoTab No (not AD_Tab_ID) 0.. -
AD_Tab_ID
public int AD_Tab_IDTab ID -
AD_Tab_UU
Tab UUID -
Name
Name -
Description
Description -
Help
Help -
IsSingleRow
public boolean IsSingleRowSingle Row -
IsReadOnly
public boolean IsReadOnlyRead Only -
IsInsertRecord
public boolean IsInsertRecordInsert Record -
HasTree
public boolean HasTreeTree -
TreeDisplayedOn
Tree displayed on -
MaxQueryRecords
public int MaxQueryRecordsMax Query Records -
AD_Table_ID
public int AD_Table_IDTable -
AD_Table_UU
Table UUID -
AD_Column_ID
public int AD_Column_IDPrimary Link Column -
Parent_Column_ID
public int Parent_Column_IDParent Tab Link Column -
TableName
Table Name -
IsView
public boolean IsViewTable is View -
AccessLevel
Table Access Level -
IsSecurityEnabled
public boolean IsSecurityEnabledSecurity -
IsDeleteable
public boolean IsDeleteableTable Deleteable -
IsHighVolume
public boolean IsHighVolumeTable High Volume -
IsAllowAdvancedLookup
public boolean IsAllowAdvancedLookupAllow use of advanced Lookup panel -
IsLookupOnlySelection
public boolean IsLookupOnlySelectionOnly allow Lookup using selection defined fields -
AD_Process_ID
public int AD_Process_IDProcess -
AD_Process_UU
Process UUID -
CommitWarning
Commit Warning -
WhereClause
Where -
OrderByClause
Order by -
ReadOnlyLogic
Tab Read Only -
DisplayLogic
Tab Display -
TabLevel
public int TabLevelLevel -
AD_Image_ID
public int AD_Image_IDImage -
Included_Tab_ID
public int Included_Tab_IDIncluded Tab -
ReplicationType
Replication Type -
EntityType
EntityType -
IsSortTab
public boolean IsSortTabSort Tab -
AD_ColumnSortOrder_ID
public int AD_ColumnSortOrder_IDColumn Sort -
AD_ColumnSortYesNo_ID
public int AD_ColumnSortYesNo_IDColumn Displayed -
onlyCurrentRows
public boolean onlyCurrentRowsOnly Current Rows - derived -
onlyCurrentDays
public int onlyCurrentDaysOnly Current Days - derived -
AD_TabType
Tab type uses by IADTabpanel service to identify implementors -
IsTranslationTab
public boolean IsTranslationTabIs Translation Tab -
IsAdvancedTab
public boolean IsAdvancedTabIs Advanced Tab -
IsInfoTab
public boolean IsInfoTabIs Accounting Info Tab -
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 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
-
checkAccessAndShowPreference
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
Update environment context (vo.ctx)- Parameters:
vo
-
-
loadUserDefTab
Update GridTabVO with values fromMUserDefTab
- Parameters:
vo
-
-
getSQL
Get the SQL statement used for GridTabVO.create- Parameters:
ctx
- context- Returns:
- SQL SELECT String
-
getFields
- Returns:
- GridFieldVOs
-
setCtx
Set Context including contained elements- Parameters:
newCtx
- new context
-
get_ValueAsString
Get Variable Value (Evaluatee) as string- Specified by:
get_ValueAsString
in interfaceEvaluatee
- Parameters:
variableName
- name- Returns:
- value as string
-
clone
Clone- Parameters:
Ctx
- contextwindowNo
- no- Returns:
- GridTabVO or null
-
isInitFields
public boolean isInitFields()- Returns:
- true if fields have been created
-