public class NewItemsWizardPageController extends DefaultPageController
transitions| Constructor and Description |
|---|
NewItemsWizardPageController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addErrorMessage(Wizard wizard,
PropertyDescriptor requiredProperty,
java.lang.String resourceId,
java.lang.Object... args) |
void |
cancel(Wizard wizard,
WizardPage page)
This method is invoked when the cancel button is pressed.
|
protected TypedObject |
createItem(Wizard wizard,
ObjectType objectType,
ObjectValueContainer objectValueContainer) |
protected java.util.List<TypedObject> |
createItems(Wizard wizard,
WizardPage page) |
protected void |
dispatchEventAfterChange(TypedObject typedObject) |
protected void |
dispatchEventAfterCreate(java.util.List<TypedObject> typedObjects) |
protected void |
dispatchEventAfterCreate(TypedObject typedObject) |
void |
done(Wizard wizard,
WizardPage page)
This method is invoked when the done button is pressed.
|
protected TypeService |
getCockpitTypeService() |
protected ModelService |
getModelService() |
protected NewItemService |
getNewItemService() |
protected SystemService |
getSystemService() |
protected <T> T |
getValue(ObjectValueContainer container,
java.lang.String qualifier) |
protected boolean |
isPropertyOmitted(ObjectValueContainer valueContainer,
PropertyDescriptor mandatoryProperty) |
protected void |
postProcessNewItems(Wizard wizard,
WizardPage page,
java.util.List<TypedObject> newItems) |
void |
setCockpitTypeService(TypeService typeService) |
void |
setModelService(ModelService modelService) |
void |
setNewItemService(NewItemService newItemService) |
void |
setSystemService(SystemService systemService) |
protected void |
updateRelatedAreas() |
boolean |
validate(Wizard wizard,
WizardPage page)
This method is invoked before leaving a page.
|
beforeBack, beforeNext, evaluateAttribute, evaluateTransition, getFirstPage, initPage, next, previous, setTransitionsprotected TypeService getCockpitTypeService()
public void setCockpitTypeService(TypeService typeService)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected SystemService getSystemService()
public void setSystemService(SystemService systemService)
protected NewItemService getNewItemService()
public void setNewItemService(NewItemService newItemService)
public void done(Wizard wizard, WizardPage page)
WizardPageControllerdone in interface WizardPageControllerdone in class DefaultPageControllerwizard - the wizard which contains the pagepage - the currently accessed pageprotected void postProcessNewItems(Wizard wizard, WizardPage page, java.util.List<TypedObject> newItems) throws WizardConfirmationException
WizardConfirmationExceptionpublic void cancel(Wizard wizard, WizardPage page)
WizardPageControllercancel in interface WizardPageControllercancel in class DefaultPageControllerwizard - the wizard which contains the pagepage - the currently accessed pagepublic boolean validate(Wizard wizard, WizardPage page)
WizardPageControllervalidate in interface WizardPageControllervalidate in class DefaultPageControllerprotected boolean isPropertyOmitted(ObjectValueContainer valueContainer, PropertyDescriptor mandatoryProperty)
protected java.util.List<TypedObject> createItems(Wizard wizard, WizardPage page) throws WizardConfirmationException
WizardConfirmationExceptionprotected TypedObject createItem(Wizard wizard, ObjectType objectType, ObjectValueContainer objectValueContainer) throws WizardConfirmationException
WizardConfirmationExceptionprotected void dispatchEventAfterCreate(TypedObject typedObject)
protected void dispatchEventAfterChange(TypedObject typedObject)
protected void dispatchEventAfterCreate(java.util.List<TypedObject> typedObjects)
protected void updateRelatedAreas()
protected void addErrorMessage(Wizard wizard, PropertyDescriptor requiredProperty, java.lang.String resourceId, java.lang.Object... args)
protected <T> T getValue(ObjectValueContainer container, java.lang.String qualifier)
Copyright © 2018 SAP SE. All Rights Reserved.