|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.page.Page
at.spardat.xma.page.PageServer
org.openxma.dsl.reference.xma.order.server.OrderSearchFormGen
public abstract class OrderSearchFormGen
This class implements the generic server part of OrderSearchForm. It implements the models of the page.
| Constructor Summary | |
|---|---|
OrderSearchFormGen(at.spardat.xma.component.ComponentServer component)
Constructs the OrderSearchFormGen. |
|
| Method Summary | |
|---|---|
void |
atomicWMToBusinessData(OrderStateView order)
Copies values of widget models to attributes of the provided BusinessData objects. |
void |
businessDataToAtomicWM(OrderStateView order)
Copies attribute values of the provided BusinessDatas into widget models. |
void |
createModels()
Create and initialize the WidgetModels of the page. |
abstract void |
findOrder(at.spardat.xma.rpc.RemoteCall call,
at.spardat.xma.rpc.RemoteReply reply)
|
Order |
getTypedComponent()
Returns the component this page belongs to, casted to its actual type. |
short |
getTypeId()
Returns a unique id to identify the type of this Page. |
at.spardat.xma.mdl.WModel[] |
getWModels()
Returns an array of all WidgetModels of this page. |
void |
instanceDataToModel()
Copies attribute values of the BusinessData instance variables into their attached widget models. |
void |
modelToInstanceData()
Copies values of all attached widget models to attributes of the BusinessData instance variables. |
at.spardat.xma.mdl.table.TableRow |
orderTableAddRow(OrderView orders)
This method creates a TableRow object and adds it to the end of the table. |
java.lang.Object[] |
orderTableCreateCells(OrderView orders)
This is a support method to create the table cells of one row from one or more BusinessDatas. |
void |
orderTableFill()
This method iterates over the collection and calls orderTableAddRow for each element. |
int |
orderTableGetImageFor(OrderView orders)
This method is called from orderTableAddRow to figure out an image id for a particular row. |
void |
removeChild(at.spardat.xma.page.PageServer child)
Removes the given subpage. |
abstract void |
selectOrder(at.spardat.xma.rpc.RemoteCall call,
at.spardat.xma.rpc.RemoteReply reply)
|
void |
setChild(at.spardat.xma.page.PageServer child)
Sets the given subpage. |
protected void |
setWModels(at.spardat.xma.mdl.WModel[] models)
Replaces the model array generated by guidesigner. |
| Methods inherited from class at.spardat.xma.page.PageServer |
|---|
cleanUpAfterServerEvent, clear, estimateMemory, getComponent, getParent, setParentId |
| Methods inherited from class at.spardat.xma.page.Page |
|---|
changed, commit, describe, display, equalsCS, externalize, getId, getNumWModels, getWModel, internalize, isAtServer, isStateless, randomlyChange, rollback, setId, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OrderSearchFormGen(at.spardat.xma.component.ComponentServer component)
component - the component this page belongs to| Method Detail |
|---|
public void createModels()
public at.spardat.xma.mdl.WModel[] getWModels()
getWModels in class at.spardat.xma.page.Pageprotected void setWModels(at.spardat.xma.mdl.WModel[] models)
public short getTypeId()
getTypeId in class at.spardat.xma.page.Pagepublic Order getTypedComponent()
public void modelToInstanceData()
public void instanceDataToModel()
public void atomicWMToBusinessData(OrderStateView order)
public void businessDataToAtomicWM(OrderStateView order)
public java.lang.Object[] orderTableCreateCells(OrderView orders)
public at.spardat.xma.mdl.table.TableRow orderTableAddRow(OrderView orders)
public int orderTableGetImageFor(OrderView orders)
public void orderTableFill()
public void setChild(at.spardat.xma.page.PageServer child)
setChild in class at.spardat.xma.page.PageServerchild - the subpage to set.public void removeChild(at.spardat.xma.page.PageServer child)
removeChild in class at.spardat.xma.page.PageServerchild - the subpage to set.
public abstract void findOrder(at.spardat.xma.rpc.RemoteCall call,
at.spardat.xma.rpc.RemoteReply reply)
public abstract void selectOrder(at.spardat.xma.rpc.RemoteCall call,
at.spardat.xma.rpc.RemoteReply reply)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||