|
||||||||||
| 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.customeredit.server.CustomerSearchFormGen
public abstract class CustomerSearchFormGen
This class implements the generic server part of CustomerSearchForm. It implements the models of the page.
| Constructor Summary | |
|---|---|
CustomerSearchFormGen(at.spardat.xma.component.ComponentServer component)
Constructs the CustomerSearchFormGen. |
|
| Method Summary | |
|---|---|
void |
atomicWMToBusinessData(CustomerView customer)
Copies values of widget models to attributes of the provided BusinessData objects. |
void |
businessDataToAtomicWM(CustomerView customer)
Copies attribute values of the provided BusinessDatas into widget models. |
void |
createModels()
Create and initialize the WidgetModels of the page. |
at.spardat.xma.mdl.table.TableRow |
customerTableAddRow(CustomerView customers)
This method creates a TableRow object and adds it to the end of the table. |
java.lang.Object[] |
customerTableCreateCells(CustomerView customers)
This is a support method to create the table cells of one row from one or more BusinessDatas. |
void |
customerTableFill()
This method iterates over the collection and calls customerTableAddRow for each element. |
int |
customerTableGetImageFor(CustomerView customers)
This method is called from customerTableAddRow to figure out an image id for a particular row. |
abstract void |
findCustomer(at.spardat.xma.rpc.RemoteCall call,
at.spardat.xma.rpc.RemoteReply reply)
|
CustomerEdit |
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. |
void |
removeChild(at.spardat.xma.page.PageServer child)
Removes the given subpage. |
abstract void |
selectCustomer(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 CustomerSearchFormGen(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 CustomerEdit getTypedComponent()
public void modelToInstanceData()
public void instanceDataToModel()
public void atomicWMToBusinessData(CustomerView customer)
public void businessDataToAtomicWM(CustomerView customer)
public java.lang.Object[] customerTableCreateCells(CustomerView customers)
public at.spardat.xma.mdl.table.TableRow customerTableAddRow(CustomerView customers)
public int customerTableGetImageFor(CustomerView customers)
public void customerTableFill()
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 findCustomer(at.spardat.xma.rpc.RemoteCall call,
at.spardat.xma.rpc.RemoteReply reply)
public abstract void selectCustomer(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 | |||||||||