|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.VO
org.compiere.controller.UITabVO
org.compiere.controller.UITab
public class UITab
User Interface Tab
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary |
|---|
| Fields inherited from class org.compiere.controller.UITabVO |
|---|
createdMS |
| Fields inherited from class org.compiere.framework.VO |
|---|
p_vos, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
UITab(UITabVO vo)
UI Tab |
|
| Method Summary | |
|---|---|
void |
clearLookupCache()
|
String[] |
convertToString(Object[] fromRow)
Convert To String |
ChangeVO |
deleteRow(CContext ctx,
int windowNo)
Delete existing Row |
ArrayList<Object[]> |
executeQuery(QueryVO queryVO,
HashMap<String,String> context,
CContext ctx)
Execute Query for Tab |
ArrayList<String[]> |
executeQueryString(QueryVO queryVO,
HashMap<String,String> context,
CContext ctx)
Execute Query for Tab and return results as String |
ChangeVO |
fieldChanged(CContext ctx,
int windowNo,
UIField field,
String oldValue,
String newValue)
Field Changed Consequences |
String[] |
getColumnNames()
Get Column Names |
ArrayList<String> |
getDependsOnUI()
Get the list of column names this tab Depends On for UI. |
UIField |
getField(String columnName)
Get Field |
int |
getFieldIndex(int AD_Field_ID)
Get Field Index |
int |
getFieldIndex(String columnName)
Get Field Index |
ArrayList<UIField> |
getFields()
Get Fields |
ArrayList<String> |
getIdentifierColumnNames()
Get Identifier Column Names ordered |
String |
getKeyColumnName()
Get Key Column Name |
ArrayList<String> |
getKeyColumnNames()
Get Key Columns |
int |
getKeyColumnPos()
|
ArrayList<String> |
getParentColumnNames()
Get parent Columns |
int |
getRecord_ID(String[] row)
|
ArrayList<String> |
getSavedQueryNames(int AD_Client_ID)
Get Saved Query Names |
ArrayList<String> |
getSavedQueryNamesForUser(int AD_User_ID)
Get Saved Query Names |
ArrayList<String> |
getSelectionColumnNames()
Get Selection Column Names ordered |
ArrayList<String> |
getSummaryColumnNames()
Get Summary Column Names ordered |
int |
getTabNo()
Get relative Tab No |
protected void |
initialize(ArrayList<UIField> fields,
ArrayList<UITab> previousTabs,
CContext ctx,
int windowNo,
int tabNo,
boolean isSOTrx)
Initialize |
boolean |
isCanExport(Ctx ctx)
Whether this tab can be exported by the present role. |
boolean |
isCanReport(Ctx ctx)
Whether this tab can be reported by the present role. |
boolean |
isDetailTab()
Detail Tab |
boolean |
isSOTrx()
Is Window in SO Context |
ChangeVO |
newRow(CContext ctx,
int windowNo)
New Row |
ChangeVO |
processCalloutDirect(CContext ctx,
int windowNo,
UIField field,
String oldValue,
String newValue)
Preferred Callout. |
void |
refreshDropDowns(ChangeVO change,
int windowNo,
CContext newCtx)
|
ChangeVO |
refreshRow(CContext ctx,
int windowNo)
Refresh (Insert/Update) Row of Tab |
ChangeVO |
saveRow(CContext ctx,
int windowNo,
boolean newRecord)
Save (Insert/Update) Row of Tab |
ChangeVO |
saveRow(CContext ctx,
int windowNo,
boolean newRecord,
String[] cachedRow)
Save (Insert/Update) Row of Tab |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.framework.VO |
|---|
clear, clone, containsKey, containsValue, dump, entrySet, get_xmlDocument, get_xmlString, get_xmlString, get, getData, getEmbedded, getHashMap, isEmpty, keySet, put, put, putAll, remove, setEmbedded, setHdrInfo, size, toStringX, values |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public UITab(UITabVO vo)
vo - vo| Method Detail |
|---|
public int getTabNo()
public ArrayList<String> getSavedQueryNames(int AD_Client_ID)
AD_Client_ID - client
public ArrayList<String> getSavedQueryNamesForUser(int AD_User_ID)
AD_User_ID - user
protected void initialize(ArrayList<UIField> fields,
ArrayList<UITab> previousTabs,
CContext ctx,
int windowNo,
int tabNo,
boolean isSOTrx)
fields - fieldspreviousTabs - previous tabsctx - contextwindowNo - windowtabNo - relative tabpublic ArrayList<String> getDependsOnUI()
public ArrayList<UIField> getFields()
public UIField getField(String columnName)
public int getFieldIndex(int AD_Field_ID)
public int getFieldIndex(String columnName)
public String[] getColumnNames()
public boolean isDetailTab()
public ArrayList<String> getKeyColumnNames()
public String getKeyColumnName()
public ArrayList<String> getParentColumnNames()
public ArrayList<String> getIdentifierColumnNames()
public ArrayList<String> getSelectionColumnNames()
public ArrayList<String> getSummaryColumnNames()
public boolean isSOTrx()
public ArrayList<Object[]> executeQuery(QueryVO queryVO,
HashMap<String,String> context,
CContext ctx)
queryVO - optional querycontext - record context for link columns and other variablesctx - user context
public ArrayList<String[]> executeQueryString(QueryVO queryVO,
HashMap<String,String> context,
CContext ctx)
queryVO - optional querycontext - record context for link columns and other variablesctx - user context
public String[] convertToString(Object[] fromRow)
fromRow - objects
public ChangeVO saveRow(CContext ctx,
int windowNo,
boolean newRecord)
ctx - general contextcontext - current (relevant) context of new row
public ChangeVO saveRow(CContext ctx,
int windowNo,
boolean newRecord,
String[] cachedRow)
ctx - general contextcontext - current (relevant) context of new rowcachedRow - the row cached for this user session
public ChangeVO refreshRow(CContext ctx,
int windowNo)
ctx - general contextcontext - current (relevant) context of new row
public ChangeVO deleteRow(CContext ctx,
int windowNo)
ctx - general contextcontext - current (relevant) context of row
public ChangeVO newRow(CContext ctx,
int windowNo)
ctx - contextwindowNo - window
public ChangeVO fieldChanged(CContext ctx,
int windowNo,
UIField field,
String oldValue,
String newValue)
ctx - contextfield - FieldoldValue - old field valuenewValue - new Field valuecontext - current row context
public ChangeVO processCalloutDirect(CContext ctx,
int windowNo,
UIField field,
String oldValue,
String newValue)
ctx - contextwindowNo - field - oldValue - newValue -
public boolean isCanExport(Ctx ctx)
ctx - context
public boolean isCanReport(Ctx ctx)
ctx - context
public String toString()
toString in class UITabVO
public void refreshDropDowns(ChangeVO change,
int windowNo,
CContext newCtx)
public int getRecord_ID(String[] row)
public int getKeyColumnPos()
public void clearLookupCache()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||