|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.component.Component
at.spardat.xma.component.ComponentServer
org.openxma.dsl.platform.xma.DslComponentServer
org.openxma.dsl.platform.xma.SpringComponentServer
org.openxma.dsl.reference.xma.customeredit.server.CustomerEditGen
public abstract class CustomerEditGen
This class implements the generic server part of CustomerEdit. It provides the mapping between typeIds and classnames of all pages in the component.
| Field Summary | |
|---|---|
static short |
CustomerEditFormClass
the unique typeId for the page CustomerEditForm |
static short |
CustomerSearchFormClass
the unique typeId for the page CustomerSearchForm |
protected java.lang.String |
mode
the mode of the component |
static short |
Page1Class
the unique typeId for the page Page1 |
static short |
Page2Class
the unique typeId for the page Page2 |
static short |
Page3Class
the unique typeId for the page Page3 |
protected java.lang.String |
selectedCustomerFirstName
firstname of the selected customer |
protected java.lang.String |
selectedCustomerId
the id of the selected customer |
protected java.lang.String |
selectedCustomerLastName
lastname of the selected customer |
| Fields inherited from class org.openxma.dsl.platform.xma.SpringComponentServer |
|---|
applicationContext |
| Fields inherited from class at.spardat.xma.component.Component |
|---|
session_ |
| Constructor Summary | |
|---|---|
CustomerEditGen(at.spardat.xma.session.XMASessionServer session,
short id)
Initializes the CustomerEditGen. |
|
| Method Summary | |
|---|---|
CustomerView |
getCustomer()
returns the customer |
java.util.Collection |
getCustomers()
returns the customers |
protected java.lang.String |
getMode()
the mode of the component |
java.lang.String |
getModelClass(short typeId)
Gets the full classname for the given typeId of a page in this component. |
java.util.Collection |
getOrders()
returns the orders |
protected at.spardat.xma.component.ComponentProperty[] |
getPropDes()
|
java.lang.String |
getSelectedCustomerFirstName()
firstname of the selected customer |
java.lang.String |
getSelectedCustomerId()
the id of the selected customer |
java.lang.String |
getSelectedCustomerLastName()
lastname of the selected customer |
static java.lang.String |
getShortModelClass(short typeId)
Gets the short classname for the given typeId of a page in this component. |
VODataView |
getVodata()
returns the vodata |
void |
setCustomer(CustomerView customer)
sets the customer |
void |
setCustomers(java.util.Collection customers)
sets the customers |
void |
setMode(java.lang.String mode)
the mode of the component |
void |
setOrders(java.util.Collection orders)
sets the orders |
protected void |
setSelectedCustomerFirstName(java.lang.String selectedCustomerFirstName)
firstname of the selected customer |
protected void |
setSelectedCustomerId(java.lang.String selectedCustomerId)
the id of the selected customer |
protected void |
setSelectedCustomerLastName(java.lang.String selectedCustomerLastName)
lastname of the selected customer |
void |
setVodata(VODataView vodata)
sets the vodata |
| Methods inherited from class org.openxma.dsl.platform.xma.SpringComponentServer |
|---|
getBean, getWebApplicationContext, newPageModel |
| Methods inherited from class org.openxma.dsl.platform.xma.DslComponentServer |
|---|
instanceDataToModel, modelToInstanceData |
| Methods inherited from class at.spardat.xma.component.ComponentServer |
|---|
cleanUpAfterServerEvent, convertToBaseException, dispose, estimateMemory, executeRemoteCall, executeRemoteCallImpl, externalize, getSession, internalize, registerServerPage, removePageModel |
| Methods inherited from class at.spardat.xma.component.Component |
|---|
commit, describe, externalizePageSet, externalizeProperties, getId, getName, getNumPageModels, getPageModel, getPageModels, getPropDes, getSCN, incrementSCN, internalizePageSet, internalizeProperties, isPageModelAlive, isStateless, model2props, props2model, registerPageModel, rollback, setId, setSCN, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String mode
protected java.lang.String selectedCustomerId
protected java.lang.String selectedCustomerFirstName
protected java.lang.String selectedCustomerLastName
public static final short CustomerSearchFormClass
public static final short CustomerEditFormClass
public static final short Page1Class
public static final short Page2Class
public static final short Page3Class
| Constructor Detail |
|---|
public CustomerEditGen(at.spardat.xma.session.XMASessionServer session,
short id)
session - the XMASession, this CustomerEditGen belongs to.id - the unique id of this CustomerEdit.| Method Detail |
|---|
public static java.lang.String getShortModelClass(short typeId)
typeId - the unique typeId
public java.lang.String getModelClass(short typeId)
getModelClass in class at.spardat.xma.component.ComponenttypeId - the unique typeId
protected java.lang.String getMode()
public void setMode(java.lang.String mode)
public java.lang.String getSelectedCustomerId()
protected void setSelectedCustomerId(java.lang.String selectedCustomerId)
public java.lang.String getSelectedCustomerFirstName()
protected void setSelectedCustomerFirstName(java.lang.String selectedCustomerFirstName)
public java.lang.String getSelectedCustomerLastName()
protected void setSelectedCustomerLastName(java.lang.String selectedCustomerLastName)
protected at.spardat.xma.component.ComponentProperty[] getPropDes()
getPropDes in class at.spardat.xma.component.Componentpublic CustomerView getCustomer()
public void setCustomer(CustomerView customer)
public java.util.Collection getCustomers()
public void setCustomers(java.util.Collection customers)
public java.util.Collection getOrders()
public void setOrders(java.util.Collection orders)
public VODataView getVodata()
public void setVodata(VODataView vodata)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||