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, setTexts
public CreateContractWizardController()
public void doOK(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
isAddMembershipMode
- accountMembershipXri
- formFields
- org.openmdx.base.exception.ServiceException
protected void createContract(SalesContract contract) throws org.openmdx.base.exception.ServiceException
contract
- org.openmdx.base.exception.ServiceException
public void doRefresh(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
formFields
- org.openmdx.base.exception.ServiceException
public void doCancel() throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public void doCreateOpportunity(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount
- formFields
- org.openmdx.base.exception.ServiceException
public void doCreateQuote(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount
- formFields
- org.openmdx.base.exception.ServiceException
public void doCreateSalesOrder(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount
- formFields
- org.openmdx.base.exception.ServiceException
public void doCreateInvoice(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount
- formFields
- org.openmdx.base.exception.ServiceException
public void doAddPosition(Integer contractPositionCount, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount
- formFields
- org.openmdx.base.exception.ServiceException
public void doSetBillingAddress(Integer contractPositionCount, String addressXri, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount
- addressXri
- formFields
- org.openmdx.base.exception.ServiceException
public void doSetShippingAddress(Integer contractPositionCount, String addressXri, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount
- addressXri
- formFields
- org.openmdx.base.exception.ServiceException
public void doDeletePosition(Integer contractPositionCount, Integer deletePositionIndex, Map<String,Object> formFields) throws org.openmdx.base.exception.ServiceException
contractPositionCount
- deletePositionIndex
- formFields
- org.openmdx.base.exception.ServiceException
public 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.AbstractWizardController
org.openmdx.base.exception.ServiceException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.