Class AbstractGenericItemPage
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPage
-
- de.hybris.platform.cockpit.wizards.generic.AbstractGenericItemPage
-
- All Implemented Interfaces:
GenericItemWizardPage
,WizardPage
- Direct Known Subclasses:
AdvancedSearchPage
,AssignColumnPage
,AssignQueryPermissionsPage
,AssignWorkflowPage
,DecisionPage
,DefaultGenericItemPage
,FillParametersPage
,GenericItemMandatoryPage
,GenericTypeSelectorPage
,JasperMediaChoosePage
,UploadMediaPage
public abstract class AbstractGenericItemPage extends DefaultPage implements GenericItemWizardPage
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONTENT_ELEMENT_CONFIG
protected static java.lang.String
ERROR_SCLASS_ELEMENT_BOX_EDITOR
protected static java.lang.String
ERROR_SCLASS_WIZARD_CNT
protected org.zkoss.zul.Div
errorContainer
protected static java.lang.String
INFO_SCLASS_ELEMENT_BOX_EDITOR
protected static java.lang.String
INFO_SCLASS_WIZARD_CNT
protected org.zkoss.zul.Div
pageContainer
protected org.zkoss.zul.Div
pageContent
protected static java.lang.String
SCLASS_ELEMENT_BOX_EDITOR
protected static java.lang.String
WARNING_SCLASS_ELEMENT_BOX_EDITOR
protected static java.lang.String
WARNING_SCLASS_WIZARD_CNT
protected static java.lang.String
WIZARD_ERROR_CNT_SCLASS
protected static java.lang.String
WIZARD_PAGE_CNT_SCLASS
protected static java.lang.String
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 AbstractGenericItemPage()
AbstractGenericItemPage(java.lang.String pageTitle)
AbstractGenericItemPage(java.lang.String pageTitle, Wizard wizard)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
clearPageComponents()
abstract org.zkoss.zk.ui.Component
createRepresentationItself()
This is an general method responsible for creating UI representation of given pagejava.util.List<java.lang.String>
getDisplayedAttributes()
org.zkoss.zul.Div
getErrorContainer()
java.lang.String
getNextPageWizardId()
org.zkoss.zul.Div
getPageContainer()
org.zkoss.zul.Div
getPageContent()
GenericItemWizard
getWizard()
protected void
handleMessages(java.util.List<Message> messages)
int
isCauseError(PropertyDescriptor descriptor)
void
setDisplayedAttributes(java.util.List<java.lang.String> displayedAttributes)
void
setNextPageWizardId(java.lang.String nextPageWizardId)
-
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
-
-
-
-
Field Detail
-
ERROR_SCLASS_WIZARD_CNT
protected static final java.lang.String ERROR_SCLASS_WIZARD_CNT
- See Also:
- Constant Field Values
-
WARNING_SCLASS_WIZARD_CNT
protected static final java.lang.String WARNING_SCLASS_WIZARD_CNT
- See Also:
- Constant Field Values
-
INFO_SCLASS_WIZARD_CNT
protected static final java.lang.String INFO_SCLASS_WIZARD_CNT
- See Also:
- Constant Field Values
-
SCLASS_ELEMENT_BOX_EDITOR
protected static final java.lang.String SCLASS_ELEMENT_BOX_EDITOR
- See Also:
- Constant Field Values
-
ERROR_SCLASS_ELEMENT_BOX_EDITOR
protected static final java.lang.String ERROR_SCLASS_ELEMENT_BOX_EDITOR
- See Also:
- Constant Field Values
-
WARNING_SCLASS_ELEMENT_BOX_EDITOR
protected static final java.lang.String WARNING_SCLASS_ELEMENT_BOX_EDITOR
- See Also:
- Constant Field Values
-
INFO_SCLASS_ELEMENT_BOX_EDITOR
protected static final java.lang.String INFO_SCLASS_ELEMENT_BOX_EDITOR
- See Also:
- Constant Field Values
-
WIZARD_PAGE_CNT_SCLASS
protected static final java.lang.String WIZARD_PAGE_CNT_SCLASS
- See Also:
- Constant Field Values
-
WIZARD_ERROR_CNT_SCLASS
protected static final java.lang.String WIZARD_ERROR_CNT_SCLASS
- See Also:
- Constant Field Values
-
WIZARD_PAGE_CONTENT_CNT_SCLASS
protected static final java.lang.String WIZARD_PAGE_CONTENT_CNT_SCLASS
- See Also:
- Constant Field Values
-
CONTENT_ELEMENT_CONFIG
public static final java.lang.String CONTENT_ELEMENT_CONFIG
- See Also:
- Constant Field Values
-
pageContainer
protected org.zkoss.zul.Div pageContainer
-
pageContent
protected org.zkoss.zul.Div pageContent
-
errorContainer
protected org.zkoss.zul.Div errorContainer
-
-
Constructor Detail
-
AbstractGenericItemPage
public AbstractGenericItemPage()
-
AbstractGenericItemPage
public AbstractGenericItemPage(java.lang.String pageTitle)
-
AbstractGenericItemPage
public AbstractGenericItemPage(java.lang.String pageTitle, Wizard wizard)
-
-
Method Detail
-
getNextPageWizardId
public java.lang.String getNextPageWizardId()
-
setNextPageWizardId
public void setNextPageWizardId(java.lang.String nextPageWizardId)
-
getPageContainer
public org.zkoss.zul.Div getPageContainer()
- Returns:
- the pageContainer
-
getErrorContainer
public org.zkoss.zul.Div getErrorContainer()
- Returns:
- the errorContainer
-
getDisplayedAttributes
public java.util.List<java.lang.String> getDisplayedAttributes()
- Returns:
- the displayedAttributes
-
setDisplayedAttributes
public void setDisplayedAttributes(java.util.List<java.lang.String> displayedAttributes)
- Parameters:
displayedAttributes
- the displayedAttributes to set
-
getPageContent
public org.zkoss.zul.Div getPageContent()
- Returns:
- the pageContent
-
clearPageComponents
protected void clearPageComponents()
-
createRepresentationItself
public abstract org.zkoss.zk.ui.Component createRepresentationItself()
This is an general method responsible for creating UI representation of given page Note:
Here we should create graphical representation of particular page- Specified by:
createRepresentationItself
in interfaceGenericItemWizardPage
-
isCauseError
public int isCauseError(PropertyDescriptor descriptor)
-
handleMessages
protected void handleMessages(java.util.List<Message> messages)
- Overrides:
handleMessages
in classDefaultPage
-
getWizard
public GenericItemWizard getWizard()
- Specified by:
getWizard
in interfaceGenericItemWizardPage
- Overrides:
getWizard
in classDefaultPage
-
-