Class NewItemWizard
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.generic.NewItemWizard
-
public class NewItemWizard extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringADVANCED_SEARCH_PAGEprotected BrowserModelbrowserModelprotected static java.lang.StringCMSITEM_UID_PREFIXprotected CreateContextcreateContextprotected ObjectTemplatecurrentTypeprotected static java.lang.StringDECISION_PAGEprotected static java.lang.StringDEFAULT_ELEMENT_IMAGEprotected static java.lang.StringDEFAULT_WIZARD_FRAMEprotected static java.lang.StringMANDATORY_PAGEprotected org.zkoss.zk.ui.Componentparentprotected static java.lang.StringTYPE_SELECTORprotected UIConfigurationServiceuiConfigurationServiceprotected static java.lang.StringWIZARD_CONFIG
-
Constructor Summary
Constructors Constructor Description NewItemWizard(ObjectTemplate currentType, org.zkoss.zk.ui.Component parent, BrowserModel browserModel)NewItemWizard(org.zkoss.zk.ui.Component parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoAfterCancel()voiddoAfterDone(AbstractGenericItemPage page)java.util.Map<java.lang.String,? extends java.lang.Object>getParameters()protected UIConfigurationServicegetUIConfigurationService()protected WizardConfigurationgetWizardConfiguration()booleanisActiaveAfterCreate()booleanisAllowCreate()booleanisAllowSelect()booleanisDisplaySubTypes()voidsetActiaveAfterCreate(boolean actiaveAfterCreate)voidsetAllowCreate(boolean allowCreate)voidsetAllowSelect(boolean allowSelect)voidsetCreateContext(CreateContext createContext)voidsetDisplaySubTypes(boolean displaySubTypes)voidsetParameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)voidsetPredefinedValues(java.util.Map<java.lang.String,java.lang.Object> predefinedValues)Wizardstart()
-
-
-
Field Detail
-
MANDATORY_PAGE
protected static final java.lang.String MANDATORY_PAGE
- See Also:
- Constant Field Values
-
DECISION_PAGE
protected static final java.lang.String DECISION_PAGE
- See Also:
- Constant Field Values
-
TYPE_SELECTOR
protected static final java.lang.String TYPE_SELECTOR
- See Also:
- Constant Field Values
-
ADVANCED_SEARCH_PAGE
protected static final java.lang.String ADVANCED_SEARCH_PAGE
- See Also:
- Constant Field Values
-
WIZARD_CONFIG
protected static final java.lang.String WIZARD_CONFIG
- See Also:
- Constant Field Values
-
DEFAULT_WIZARD_FRAME
protected static final java.lang.String DEFAULT_WIZARD_FRAME
- See Also:
- Constant Field Values
-
CMSITEM_UID_PREFIX
protected static final java.lang.String CMSITEM_UID_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_ELEMENT_IMAGE
protected static final java.lang.String DEFAULT_ELEMENT_IMAGE
- See Also:
- Constant Field Values
-
parent
protected org.zkoss.zk.ui.Component parent
-
currentType
protected ObjectTemplate currentType
-
browserModel
protected BrowserModel browserModel
-
createContext
protected CreateContext createContext
-
uiConfigurationService
protected UIConfigurationService uiConfigurationService
-
-
Constructor Detail
-
NewItemWizard
public NewItemWizard(ObjectTemplate currentType, org.zkoss.zk.ui.Component parent, BrowserModel browserModel)
-
NewItemWizard
public NewItemWizard(org.zkoss.zk.ui.Component parent)
-
-
Method Detail
-
isActiaveAfterCreate
public boolean isActiaveAfterCreate()
-
setActiaveAfterCreate
public void setActiaveAfterCreate(boolean actiaveAfterCreate)
-
isDisplaySubTypes
public boolean isDisplaySubTypes()
-
setDisplaySubTypes
public void setDisplaySubTypes(boolean displaySubTypes)
-
isAllowSelect
public boolean isAllowSelect()
-
setAllowSelect
public void setAllowSelect(boolean allowSelect)
-
setParameters
public void setParameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
-
getParameters
public java.util.Map<java.lang.String,? extends java.lang.Object> getParameters()
-
setCreateContext
public void setCreateContext(CreateContext createContext)
-
getWizardConfiguration
protected WizardConfiguration getWizardConfiguration()
-
start
public Wizard start()
-
getUIConfigurationService
protected UIConfigurationService getUIConfigurationService()
-
doAfterCancel
public void doAfterCancel()
-
doAfterDone
public void doAfterDone(AbstractGenericItemPage page)
-
setAllowCreate
public void setAllowCreate(boolean allowCreate)
-
isAllowCreate
public boolean isAllowCreate()
-
setPredefinedValues
public void setPredefinedValues(java.util.Map<java.lang.String,java.lang.Object> predefinedValues)
-
-