Class DecisionPage
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPage
-
- de.hybris.platform.cmscockpit.wizard.page.AbstractCmsWizardPage
-
- de.hybris.platform.cmscockpit.wizard.page.DecisionPage
-
- All Implemented Interfaces:
CmsWizardPage,WizardPage
public class DecisionPage extends AbstractCmsWizardPage
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>decisionsprotected java.lang.StringnextPageWizadIdprotected 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.cmscockpit.wizard.page.AbstractCmsWizardPage
CMSWIZARD_ERROR_CNT_SCLASS, CMSWIZARD_PAGE_CNT_SCLASS, CMSWIZARD_PAGE_CONTENT_CNT_SCLASS, CONTENT_ELEMENT_CONFIG, ERROR_SCLASS_CMSWIZARD_CNT, ERROR_SCLASS_ELEMENT_BOX_EDITOR, errorContainer, pageContainer, pageContent, SCLASS_ELEMENT_BOX_EDITOR
-
Fields inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPage
height, title, width, wizard
-
-
Constructor Summary
Constructors Constructor Description DecisionPage(java.lang.String pageTitle, CmsWizard 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 itselfDecisionPage.DecisiongetCurrentDecsison()java.util.List<DecisionPage.Decision>getDecisions()java.lang.StringgetNextPageWizadId()voidsetCurrentDecsison(DecisionPage.Decision currentDecsison)voidsetDecisions(java.util.List<DecisionPage.Decision> decisions)-
Methods inherited from class de.hybris.platform.cmscockpit.wizard.page.AbstractCmsWizardPage
clearPageComponents, getDisplayedAttributes, getErrorContainer, getPageContainer, getPageContent, getWizard, handleMessages, isCauseError, setDisplayedAttributes
-
Methods inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPage
getAttributes, getComponentURI, getController, getCurrentController, getHeight, getId, getPageComponent, getTitle, getWidth, initView, renderView, setComponentURI, setController, setId, setPageComponent, setTitle, setWizard
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.wizards.WizardPage
getAttributes, getComponentURI, getController, getHeight, getId, getTitle, getWidth, initView
-
-
-
-
Field Detail
-
DECISION_CMSWIZARD_PAGE_SCLASS
protected static final java.lang.String DECISION_CMSWIZARD_PAGE_SCLASS
- 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_NAME
protected static final java.lang.String SCLASS_ELEMENT_NAME
- 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
-
nextPageWizadId
protected java.lang.String nextPageWizadId
-
decisions
protected java.util.List<DecisionPage.Decision> decisions
-
-
Constructor Detail
-
DecisionPage
public DecisionPage(java.lang.String pageTitle, CmsWizard wizard)Creates a new decision page = used for making wizard decision- Parameters:
pageTitle- - wizard page titlewizard- - given wizard Note:
-
-
Method Detail
-
getCurrentDecsison
public DecisionPage.Decision getCurrentDecsison()
-
setCurrentDecsison
public void setCurrentDecsison(DecisionPage.Decision currentDecsison)
-
getNextPageWizadId
public java.lang.String getNextPageWizadId()
-
setDecisions
public void setDecisions(java.util.List<DecisionPage.Decision> decisions)
-
getDecisions
public java.util.List<DecisionPage.Decision> getDecisions()
-
createRepresentationItself
public org.zkoss.zk.ui.Component createRepresentationItself()
Responsible for creating a UI for itself Note:- Specified by:
createRepresentationItselfin interfaceCmsWizardPage- Specified by:
createRepresentationItselfin classAbstractCmsWizardPage
-
-