|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.vos.ResponseVO
org.compiere.vos.ChangeVO
public class ChangeVO
Consequences of - Field Value Changes - New Row - Save (Update/Insert) Row
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.compiere.vos.ResponseVO |
|---|
ResponseVO.Message |
| Field Summary | |
|---|---|
HashMap<String,String> |
changedComponents
Components that are changed now only support display/non-display flag |
HashMap<String,String> |
changedContext
Changed or New Window Context Map |
HashMap<String,ArrayList<NamePair>> |
changedDropDowns
Changed Drop Down Lists Map< FieldName,ArrayList |
HashMap<String,String> |
changedFields
Changed or New Values Map< ColumnName,ColumnValue > |
String |
newConfirmedFieldValue
New Confirmed Value for Field Changes |
WindowVO |
newWindowVO
Populate this to completely replace the WindowVO of the currently open window |
HashMap<Integer,QueryVO> |
queryComponents
The map of component IDs to QueryVOs. |
String[] |
rowData
Row Data |
boolean |
updateCurrentRow
If this is set, the row represented by the current WindowCtx object will be updated. |
boolean |
updateWindowVO
Set this to true to request the client UI to re-render the entire window. |
| Fields inherited from class org.compiere.vos.ResponseVO |
|---|
commands, hasError, hasResults, hasWarning, messages, params, passThrough, targetWinCmd |
| Constructor Summary | |
|---|---|
ChangeVO()
Change VO |
|
ChangeVO(boolean error,
String message)
Change VO Error/Info Message |
|
ChangeVO(String message)
Change VO Info Message |
|
| Method Summary | |
|---|---|
void |
addAll(ChangeVO add)
Add all values for change vo |
String |
addChangedComponent(String tableName,
String value)
Add Changed Component |
ArrayList<NamePair> |
addChangedDropDown(String columnName,
ArrayList<NamePair> data)
Add Changed Drop Down Values |
String |
addChangedValue(String columnName,
boolean value)
Add Changed Value |
String |
addChangedValue(String columnName,
byte[] value)
Add Changed Value |
String |
addChangedValue(String columnName,
int value)
Add Changed Value |
String |
addChangedValue(String columnName,
Object value)
Add Changed Value |
void |
addContextAll(Ctx ctx,
int windowNo)
Set Context - merge changedContext to Ctx |
ChangeVO |
cleanup()
Cleanup Values |
void |
mergeTo(HashMap<String,String> to)
|
String |
setContext(Ctx ctx,
int windowNo,
String columnName,
boolean value)
Set Context - add to changed Context |
String |
setContext(Ctx ctx,
int windowNo,
String columnName,
int value)
Set Context - add to changed Context |
String |
setContext(Ctx ctx,
int windowNo,
String columnName,
Number value)
Set Context - add to changed Context |
String |
setContext(Ctx ctx,
int windowNo,
String columnName,
String value)
Set Context - add to changed Context |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.vos.ResponseVO |
|---|
addError, addParam, addSuccess, addWarning, getMessages, getParam, getProcessID, hasError, hasResults, hasWarning, isPassThrough, isRefreshAll, setParams, setPassThrough, setProcessID, setRefreshAll, showResults, toDisplay |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String newConfirmedFieldValue
public HashMap<String,String> changedFields
public HashMap<String,ArrayList<NamePair>> changedDropDowns
public HashMap<String,String> changedContext
public HashMap<String,String> changedComponents
public String[] rowData
public HashMap<Integer,QueryVO> queryComponents
public boolean updateCurrentRow
public boolean updateWindowVO
public WindowVO newWindowVO
| Constructor Detail |
|---|
public ChangeVO()
public ChangeVO(String message)
error - error flagmessage - info message
public ChangeVO(boolean error,
String message)
error - error flagmessage - Error/Info message| Method Detail |
|---|
public String addChangedComponent(String tableName,
String value)
ColumnName - columnvalue - new valueprevious - value or null
public String addChangedValue(String columnName,
Object value)
columnName - columnvalue - new valueprevious - value or null
public String addChangedValue(String columnName,
boolean value)
columnName - columnvalue - new valueprevious - value or null
public String addChangedValue(String columnName,
int value)
columnName - columnvalue - new valueprevious - value or null
public String addChangedValue(String columnName,
byte[] value)
columnName - columnvalue - new valueprevious - value or null
public ArrayList<NamePair> addChangedDropDown(String columnName,
ArrayList<NamePair> data)
columnName - columndata - ArrayListprevious - value or null
public String setContext(Ctx ctx,
int windowNo,
String columnName,
String value)
ctx - transitory contextwindowNo - window nocolumnName - columnvalue - new valueprevious - value or null
public String setContext(Ctx ctx,
int windowNo,
String columnName,
int value)
ctx - transitory contextwindowNo - window nocolumnName - columnvalue - new valueprevious - value or null
public String setContext(Ctx ctx,
int windowNo,
String columnName,
boolean value)
ctx - transitory contextwindowNo - window nocolumnName - columnvalue - new valueprevious - value or null
public String setContext(Ctx ctx,
int windowNo,
String columnName,
Number value)
ctx - transitory contextwindowNo - window nocolumnName - columnvalue - new valueprevious - value or null
public void addContextAll(Ctx ctx,
int windowNo)
ctx - transitory contextwindowNo - window noprevious - value or nullpublic void mergeTo(HashMap<String,String> to)
public void addAll(ChangeVO add)
add - change VO to be addedpublic ChangeVO cleanup()
public String toString()
toString in class ResponseVO
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||