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.String
ADVANCED_SEARCH_PAGE
protected BrowserModel
browserModel
protected static java.lang.String
CMSITEM_UID_PREFIX
protected CreateContext
createContext
protected ObjectTemplate
currentType
protected static java.lang.String
DECISION_PAGE
protected static java.lang.String
DEFAULT_ELEMENT_IMAGE
protected static java.lang.String
DEFAULT_WIZARD_FRAME
protected static java.lang.String
MANDATORY_PAGE
protected org.zkoss.zk.ui.Component
parent
protected static java.lang.String
TYPE_SELECTOR
protected UIConfigurationService
uiConfigurationService
protected static java.lang.String
WIZARD_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 void
doAfterCancel()
void
doAfterDone(AbstractGenericItemPage page)
java.util.Map<java.lang.String,? extends java.lang.Object>
getParameters()
protected UIConfigurationService
getUIConfigurationService()
protected WizardConfiguration
getWizardConfiguration()
boolean
isActiaveAfterCreate()
boolean
isAllowCreate()
boolean
isAllowSelect()
boolean
isDisplaySubTypes()
void
setActiaveAfterCreate(boolean actiaveAfterCreate)
void
setAllowCreate(boolean allowCreate)
void
setAllowSelect(boolean allowSelect)
void
setCreateContext(CreateContext createContext)
void
setDisplaySubTypes(boolean displaySubTypes)
void
setParameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
void
setPredefinedValues(java.util.Map<java.lang.String,java.lang.Object> predefinedValues)
Wizard
start()
-
-
-
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)
-
-