Class DecisionPage
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPage
-
- de.hybris.platform.cockpit.wizards.generic.AbstractGenericItemPage
-
- de.hybris.platform.cockpit.wizards.generic.DecisionPage
-
- All Implemented Interfaces:
GenericItemWizardPage,WizardPage
- Direct Known Subclasses:
MappingDecisionPage
public class DecisionPage extends AbstractGenericItemPage
Represents a decision page - used form cms wizards Note:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDecisionPage.DecisionRepresents a decision - used only for cockpit wizard framework
-
Field Summary
Fields Modifier and Type Field Description protected DecisionPage.DecisioncurrentDecsisonprotected static java.lang.StringDECISION_CMSWIZARD_PAGE_SCLASSprotected static java.lang.StringDECISION_CMSWIZARD_ROW_SCLASSprotected java.util.List<DecisionPage.Decision>decisionsstatic java.lang.StringDEFAULT_ELEMENT_IMAGEprotected static java.lang.StringSCLASS_ELEMENT_BOXprotected static java.lang.StringSCLASS_ELEMENT_DESCprotected static java.lang.StringSCLASS_ELEMENT_IMAGEprotected static java.lang.StringSCLASS_ELEMENT_NAME-
Fields inherited from class de.hybris.platform.cockpit.wizards.generic.AbstractGenericItemPage
CONTENT_ELEMENT_CONFIG, ERROR_SCLASS_ELEMENT_BOX_EDITOR, ERROR_SCLASS_WIZARD_CNT, errorContainer, INFO_SCLASS_ELEMENT_BOX_EDITOR, INFO_SCLASS_WIZARD_CNT, pageContainer, pageContent, SCLASS_ELEMENT_BOX_EDITOR, WARNING_SCLASS_ELEMENT_BOX_EDITOR, WARNING_SCLASS_WIZARD_CNT, WIZARD_ERROR_CNT_SCLASS, WIZARD_PAGE_CNT_SCLASS, WIZARD_PAGE_CONTENT_CNT_SCLASS
-
Fields inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPage
height, title, width, wizard
-
-
Constructor Summary
Constructors Constructor Description DecisionPage()DecisionPage(java.lang.String pageTitle)DecisionPage(java.lang.String pageTitle, GenericItemWizard wizard)Creates a new decision page = used for making wizard decision
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.zkoss.zk.ui.ComponentcreateRepresentationItself()Responsible for creating a UI for itselfWizardPageControllergetController()DecisionPage.DecisiongetCurrentDecsison()java.util.List<DecisionPage.Decision>getDecisions()voidsetCurrentDecsison(DecisionPage.Decision currentDecsison)voidsetDecisions(java.util.List<DecisionPage.Decision> decisions)-
Methods inherited from class de.hybris.platform.cockpit.wizards.generic.AbstractGenericItemPage
clearPageComponents, getDisplayedAttributes, getErrorContainer, getNextPageWizardId, getPageContainer, getPageContent, getWizard, handleMessages, isCauseError, setDisplayedAttributes, setNextPageWizardId
-
Methods inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPage
getAttributes, getComponentURI, getCurrentController, getHeight, getId, getPageComponent, getTitle, getWidth, initView, renderView, setComponentURI, setController, setId, setPageComponent, setTitle, setWizard
-
-
-
-
Field Detail
-
DEFAULT_ELEMENT_IMAGE
public static final java.lang.String DEFAULT_ELEMENT_IMAGE
- See Also:
- Constant Field Values
-
DECISION_CMSWIZARD_PAGE_SCLASS
protected static final java.lang.String DECISION_CMSWIZARD_PAGE_SCLASS
- See Also:
- Constant Field Values
-
SCLASS_ELEMENT_NAME
protected static final java.lang.String SCLASS_ELEMENT_NAME
- See Also:
- Constant Field Values
-
DECISION_CMSWIZARD_ROW_SCLASS
protected static final java.lang.String DECISION_CMSWIZARD_ROW_SCLASS
- See Also:
- Constant Field Values
-
SCLASS_ELEMENT_DESC
protected static final java.lang.String SCLASS_ELEMENT_DESC
- See Also:
- Constant Field Values
-
SCLASS_ELEMENT_BOX
protected static final java.lang.String SCLASS_ELEMENT_BOX
- See Also:
- Constant Field Values
-
SCLASS_ELEMENT_IMAGE
protected static final java.lang.String SCLASS_ELEMENT_IMAGE
- See Also:
- Constant Field Values
-
currentDecsison
protected DecisionPage.Decision currentDecsison
-
decisions
protected java.util.List<DecisionPage.Decision> decisions
-
-
Constructor Detail
-
DecisionPage
public DecisionPage(java.lang.String pageTitle, GenericItemWizard wizard)Creates a new decision page = used for making wizard decision- Parameters:
pageTitle- - wizard page titlewizard- - given wizard Note:
-
DecisionPage
public DecisionPage(java.lang.String pageTitle)
-
DecisionPage
public DecisionPage()
-
-
Method Detail
-
getCurrentDecsison
public DecisionPage.Decision getCurrentDecsison()
-
setCurrentDecsison
public void setCurrentDecsison(DecisionPage.Decision currentDecsison)
-
setDecisions
public void setDecisions(java.util.List<DecisionPage.Decision> decisions)
-
getDecisions
public java.util.List<DecisionPage.Decision> getDecisions()
-
getController
public WizardPageController getController()
- Specified by:
getControllerin interfaceWizardPage- Overrides:
getControllerin classDefaultPage
-
createRepresentationItself
public org.zkoss.zk.ui.Component createRepresentationItself()
Responsible for creating a UI for itself Note:- Specified by:
createRepresentationItselfin interfaceGenericItemWizardPage- Specified by:
createRepresentationItselfin classAbstractGenericItemPage
-
-