public class DefaultGenericItemMandatoryPageController extends DefaultPageController
transitions| Constructor and Description |
|---|
DefaultGenericItemMandatoryPageController() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeNext(Wizard wizard,
WizardPage page)
This method is invoked before proceeding to the next page.
|
protected Message |
createErrorMessageForException(java.lang.Exception exception) |
protected TypedObject |
createItem(Wizard wizard,
WizardPage page) |
protected void |
dispatchEventAfterCreate(TypedObject typedObject) |
void |
done(Wizard wizard,
WizardPage page)
This method is invoked when the done button is pressed.
|
java.lang.String |
getPosition() |
protected UIConfigurationService |
getUIConfigurationService() |
protected WizardConfiguration |
getWizardConfiguration(GenericItemWizard wizard) |
protected boolean |
hasAllMandatoryFields(java.util.Map<java.lang.String,java.lang.Object> initialParameters,
ObjectType objectType) |
void |
initPage(Wizard wizard,
WizardPage page)
This method is invoked whenever a wizard page is created.
|
WizardPage |
next(Wizard wizard,
WizardPage page)
Returns for the specified wizard page the next page.
|
void |
setModelLocalizedValue(ItemModel model,
java.lang.String qualifier,
java.lang.String languageIso,
java.lang.Object value) |
void |
setModelSingleValue(ItemModel model,
java.lang.String qualifier,
java.lang.Object value) |
void |
setPosition(java.lang.String position) |
boolean |
validate(Wizard wizard,
WizardPage page)
This method is invoked before leaving a page.
|
beforeBack, cancel, evaluateAttribute, evaluateTransition, getFirstPage, previous, setTransitionspublic DefaultGenericItemMandatoryPageController()
public java.lang.String getPosition()
public void setPosition(java.lang.String position)
public void done(Wizard wizard, WizardPage page)
WizardPageControllerdone in interface WizardPageControllerdone in class DefaultPageControllerwizard - the wizard which contains the pagepage - the currently accessed pagepublic void beforeNext(Wizard wizard, WizardPage page)
WizardPageControllerbeforeNext in interface WizardPageControllerbeforeNext in class DefaultPageControllerwizard - the wizard which contains the pagepage - the currently accessed pageprotected TypedObject createItem(Wizard wizard, WizardPage page)
protected Message createErrorMessageForException(java.lang.Exception exception)
protected void dispatchEventAfterCreate(TypedObject typedObject)
public boolean validate(Wizard wizard, WizardPage page)
WizardPageControllervalidate in interface WizardPageControllervalidate in class DefaultPageControllerpublic WizardPage next(Wizard wizard, WizardPage page)
WizardPageControllernext in interface WizardPageControllernext in class DefaultPageControllerwizard - the wizard which contains the pagespage - the current pagepublic void initPage(Wizard wizard, WizardPage page)
WizardPageControllerinitPage in interface WizardPageControllerinitPage in class DefaultPageControllerwizard - the wizard which contains the pagepage - the currently accessed pageprotected WizardConfiguration getWizardConfiguration(GenericItemWizard wizard)
protected UIConfigurationService getUIConfigurationService()
protected boolean hasAllMandatoryFields(java.util.Map<java.lang.String,java.lang.Object> initialParameters,
ObjectType objectType)
public void setModelSingleValue(ItemModel model, java.lang.String qualifier, java.lang.Object value) throws AttributeNotSupportedException
AttributeNotSupportedExceptionpublic void setModelLocalizedValue(ItemModel model, java.lang.String qualifier, java.lang.String languageIso, java.lang.Object value) throws AttributeNotSupportedException
AttributeNotSupportedExceptionCopyright © 2018 SAP SE. All Rights Reserved.