public class CreateContractWizardController
extends org.openmdx.portal.servlet.AbstractWizardController
| Constructor and Description |
|---|
CreateContractWizardController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
createContract(SalesContract contract)
Create contract and contract positions.
|
void |
doAddPosition(Integer contractPositionCount,
Map<String,Object> formFields)
Add position action.
|
void |
doCancel()
Cancel action.
|
void |
doCreateInvoice(Integer contractPositionCount,
Map<String,Object> formFields)
Create invoice action.
|
void |
doCreateOpportunity(Integer contractPositionCount,
Map<String,Object> formFields)
Create opportunity action.
|
void |
doCreateQuote(Integer contractPositionCount,
Map<String,Object> formFields)
Create quote action.
|
void |
doCreateSalesOrder(Integer contractPositionCount,
Map<String,Object> formFields)
Create sales order action.
|
void |
doDeletePosition(Integer contractPositionCount,
Integer deletePositionIndex,
Map<String,Object> formFields)
Delete position action.
|
void |
doOK(Integer contractPositionCount,
Map<String,Object> formFields)
OK action.
|
void |
doRefresh(Integer contractPositionCount,
Map<String,Object> formFields)
Refresh action.
|
void |
doSetBillingAddress(Integer contractPositionCount,
String addressXri,
Map<String,Object> formFields)
Set billing address action.
|
void |
doSetShippingAddress(Integer contractPositionCount,
String addressXri,
Map<String,Object> formFields)
Set shipping address action.
|
int |
getContractPositionCount() |
Account |
getCustomer() |
Map<String,Object> |
getFormFields()
Get form values.
|
org.openmdx.portal.servlet.ViewPort |
getViewPort(Writer out)
Get view port.
|
forward, getApp, getCodes, getCommand, getCurrentView, getErrorMessage, getExitAction, getFieldLabel, getFirstParameterValue, getForm, getForms, getObject, getObjectIdentity, getParameterValues, getPm, getProviderName, getRequest, getRequestId, getRequestParameter, getSegmentName, getServletPath, getServletPathPrefix, getSession, getTexts, getToolTip, getWizardName, handle, init, initFormFields, prepare, setApp, setCodes, setCurrentView, setExitAction, setForms, setObject, setObjectIdentity, setPm, setProviderName, setRequest, setRequestId, setSegmentName, setSession, setTextspublic CreateContractWizardController()
public void doOK(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
isAddMembershipMode - accountMembershipXri - formFields - org.openmdx.base.exception.ServiceExceptionprotected void createContract(SalesContract contract) throws org.openmdx.base.exception.ServiceException
contract - org.openmdx.base.exception.ServiceExceptionpublic void doRefresh(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
formFields - org.openmdx.base.exception.ServiceExceptionpublic void doCancel()
throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceExceptionpublic void doCreateOpportunity(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount - formFields - org.openmdx.base.exception.ServiceExceptionpublic void doCreateQuote(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount - formFields - org.openmdx.base.exception.ServiceExceptionpublic void doCreateSalesOrder(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount - formFields - org.openmdx.base.exception.ServiceExceptionpublic void doCreateInvoice(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount - formFields - org.openmdx.base.exception.ServiceExceptionpublic void doAddPosition(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount - formFields - org.openmdx.base.exception.ServiceExceptionpublic void doSetBillingAddress(Integer contractPositionCount, String addressXri, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount - addressXri - formFields - org.openmdx.base.exception.ServiceExceptionpublic void doSetShippingAddress(Integer contractPositionCount, String addressXri, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount - addressXri - formFields - org.openmdx.base.exception.ServiceExceptionpublic void doDeletePosition(Integer contractPositionCount, Integer deletePositionIndex, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount - deletePositionIndex - formFields - org.openmdx.base.exception.ServiceExceptionpublic int getContractPositionCount()
public Account getCustomer()
public org.openmdx.portal.servlet.ViewPort getViewPort(Writer out)
out - public void close()
throws org.openmdx.base.exception.ServiceException
close in class org.openmdx.portal.servlet.AbstractWizardControllerorg.openmdx.base.exception.ServiceExceptionThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.