|
||||||||||
| 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.order.server.OrderGen
public abstract class OrderGen
This class implements the generic server part of Order. It provides the mapping between typeIds and classnames of all pages in the component.
| Field Summary | |
|---|---|
static short |
OrderEditFormClass
the unique typeId for the page OrderEditForm |
static short |
OrderSearchFormClass
the unique typeId for the page OrderSearchForm |
static short |
Page1Class
the unique typeId for the page Page1 |
static short |
Page2Class
the unique typeId for the page Page2 |
| Fields inherited from class org.openxma.dsl.platform.xma.SpringComponentServer |
|---|
applicationContext |
| Fields inherited from class at.spardat.xma.component.Component |
|---|
session_ |
| Constructor Summary | |
|---|---|
OrderGen(at.spardat.xma.session.XMASessionServer session,
short id)
Initializes the OrderGen. |
|
| Method Summary | |
|---|---|
CustomerView |
getCustomer()
returns the customer |
java.lang.String |
getModelClass(short typeId)
Gets the full classname for the given typeId of a page in this component. |
OrderStateView |
getOrder()
returns the order |
java.util.Collection |
getOrderItems()
returns the orderItems |
java.util.Collection |
getOrders()
returns the orders |
static java.lang.String |
getShortModelClass(short typeId)
Gets the short classname for the given typeId of a page in this component. |
void |
setCustomer(CustomerView customer)
sets the customer |
void |
setOrder(OrderStateView order)
sets the order |
void |
setOrderItems(java.util.Collection orderItems)
sets the orderItems |
void |
setOrders(java.util.Collection orders)
sets the orders |
| 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, 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 |
|---|
public static final short OrderSearchFormClass
public static final short OrderEditFormClass
public static final short Page1Class
public static final short Page2Class
| Constructor Detail |
|---|
public OrderGen(at.spardat.xma.session.XMASessionServer session,
short id)
session - the XMASession, this OrderGen belongs to.id - the unique id of this Order.| 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
public OrderStateView getOrder()
public void setOrder(OrderStateView order)
public java.util.Collection getOrders()
public void setOrders(java.util.Collection orders)
public java.util.Collection getOrderItems()
public void setOrderItems(java.util.Collection orderItems)
public CustomerView getCustomer()
public void setCustomer(CustomerView customer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||