Class TemplatesForCmsSitePage
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPage
-
- de.hybris.platform.cockpit.wizards.generic.AbstractGenericItemPage
-
- de.hybris.platform.cmscockpit.wizard.cmssite.pages.TemplatesForCmsSitePage
-
- All Implemented Interfaces:
GenericItemWizardPage,WizardPage
public class TemplatesForCmsSitePage extends AbstractGenericItemPage
Represents page that displays allBaseStoreinstances defined within system. Note:
User can choose severalBaseStoreby selecting associated checkbox. At leaset one base store should be selected!- See Also:
GenericItemWizard
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCHECKBOX_VALUE_ATTRIBUTEprotected static java.lang.StringWIZARD_TEMPLATE_CONTEXT_INFOprotected static java.lang.StringWIZARD_TEMPLATE_LIST_ENTRYprotected static java.lang.StringWIZARD_TEMPLATES_CONTAINERprotected static java.lang.StringWIZARD_TEMPLATES_LISTBOXprotected static java.lang.StringWIZARD_TEMPLATES_LISTBOX_ODD-
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 TemplatesForCmsSitePage()TemplatesForCmsSitePage(java.lang.String pageTitle)TemplatesForCmsSitePage(java.lang.String pageTitle, GenericItemWizard wizard)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.zkoss.zk.ui.ComponentcreateRepresentationItself()This is an general method responsible for creating UI representation of given pageprotected java.util.List<CatalogVersionModel>getAllActiveCatalogVersions()CatalogServicegetCatalogService()protected CMSAdminPageServicegetCmsAdminPageService()protected org.zkoss.zul.ListModelgetInitializedListModel()protected java.util.Collection<PageTemplateModel>getPagetTemplates()-
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, getController, getCurrentController, getHeight, getId, getPageComponent, getTitle, getWidth, initView, renderView, setComponentURI, setController, setId, setPageComponent, setTitle, setWizard
-
-
-
-
Field Detail
-
WIZARD_TEMPLATES_CONTAINER
protected static final java.lang.String WIZARD_TEMPLATES_CONTAINER
- See Also:
- Constant Field Values
-
WIZARD_TEMPLATES_LISTBOX
protected static final java.lang.String WIZARD_TEMPLATES_LISTBOX
- See Also:
- Constant Field Values
-
WIZARD_TEMPLATES_LISTBOX_ODD
protected static final java.lang.String WIZARD_TEMPLATES_LISTBOX_ODD
- See Also:
- Constant Field Values
-
WIZARD_TEMPLATE_LIST_ENTRY
protected static final java.lang.String WIZARD_TEMPLATE_LIST_ENTRY
- See Also:
- Constant Field Values
-
WIZARD_TEMPLATE_CONTEXT_INFO
protected static final java.lang.String WIZARD_TEMPLATE_CONTEXT_INFO
- See Also:
- Constant Field Values
-
CHECKBOX_VALUE_ATTRIBUTE
protected static final java.lang.String CHECKBOX_VALUE_ATTRIBUTE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TemplatesForCmsSitePage
public TemplatesForCmsSitePage()
-
TemplatesForCmsSitePage
public TemplatesForCmsSitePage(java.lang.String pageTitle)
-
TemplatesForCmsSitePage
public TemplatesForCmsSitePage(java.lang.String pageTitle, GenericItemWizard wizard)
-
-
Method Detail
-
createRepresentationItself
public org.zkoss.zk.ui.Component createRepresentationItself()
Description copied from class:AbstractGenericItemPageThis is an general method responsible for creating UI representation of given page Note:
Here we should create graphical representation of particular page- Specified by:
createRepresentationItselfin interfaceGenericItemWizardPage- Specified by:
createRepresentationItselfin classAbstractGenericItemPage
-
getInitializedListModel
protected org.zkoss.zul.ListModel getInitializedListModel()
-
getPagetTemplates
protected java.util.Collection<PageTemplateModel> getPagetTemplates()
-
getAllActiveCatalogVersions
protected java.util.List<CatalogVersionModel> getAllActiveCatalogVersions()
-
getCatalogService
public CatalogService getCatalogService()
-
getCmsAdminPageService
protected CMSAdminPageService getCmsAdminPageService()
-
-