Class ReferencePage
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPage
-
- de.hybris.platform.cmscockpit.wizard.page.AbstractCmsWizardPage
-
- de.hybris.platform.cmscockpit.wizard.page.ReferencePage
-
- All Implemented Interfaces:
CmsWizardPage,WizardPage
public class ReferencePage extends AbstractCmsWizardPage
-
-
Field Summary
Fields Modifier and Type Field Description protected TypedObjectchosenReferenceprotected static java.lang.StringCOCKPIT_ID_CREATE_PAGE_TEMPLATES_PREFIXprotected ObjectTyperootSelectorTypeprotected static java.lang.StringSCLASS_ELEMENT_BOXprotected static java.lang.StringSCLASS_ELEMENT_IMAGEprotected static java.lang.StringSCLASS_ELEMENT_NAMEprotected static java.lang.StringTYPE_SELECTOR_CMSWIZARD_PAGE_SCLASSprotected static java.lang.StringTYPE_SELECTOR_CMSWIZARD_ROW_SCLASS-
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 ReferencePage(java.lang.String pageTitle, Wizard wizard)
-
Method Summary
-
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, 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
-
-
-
-
Field Detail
-
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
-
SCLASS_ELEMENT_NAME
protected static final java.lang.String SCLASS_ELEMENT_NAME
- See Also:
- Constant Field Values
-
TYPE_SELECTOR_CMSWIZARD_PAGE_SCLASS
protected static final java.lang.String TYPE_SELECTOR_CMSWIZARD_PAGE_SCLASS
- See Also:
- Constant Field Values
-
TYPE_SELECTOR_CMSWIZARD_ROW_SCLASS
protected static final java.lang.String TYPE_SELECTOR_CMSWIZARD_ROW_SCLASS
- See Also:
- Constant Field Values
-
COCKPIT_ID_CREATE_PAGE_TEMPLATES_PREFIX
protected static final java.lang.String COCKPIT_ID_CREATE_PAGE_TEMPLATES_PREFIX
- See Also:
- Constant Field Values
-
chosenReference
protected TypedObject chosenReference
-
rootSelectorType
protected ObjectType rootSelectorType
-
-
Constructor Detail
-
ReferencePage
public ReferencePage(java.lang.String pageTitle, Wizard wizard)
-
-
Method Detail
-
getCmsAdminPageService
public CMSAdminPageService getCmsAdminPageService()
-
getTypeService
public TypeService getTypeService()
-
getChosenReference
public TypedObject getChosenReference()
- Returns:
- the chosenReference
-
getRootSelectorType
public ObjectType getRootSelectorType()
- Returns:
- the rootSelectorType
-
setRootSelectorType
public void setRootSelectorType(ObjectType rootSelectorType)
- Parameters:
rootSelectorType- the rootSelectorType to set
-
getReferences
public java.util.List<TypedObject> getReferences()
-
initView
public void initView(Wizard wizard, org.zkoss.zk.ui.Component comp)
- Specified by:
initViewin interfaceWizardPage- Overrides:
initViewin classDefaultPage
-
createRepresentationItself
public org.zkoss.zk.ui.Component createRepresentationItself()
- Specified by:
createRepresentationItselfin interfaceCmsWizardPage- Specified by:
createRepresentationItselfin classAbstractCmsWizardPage
-
doItemSelected
protected void doItemSelected(TypedObject processedObject)
-
getElementConfiguration
protected ContentElementConfiguration getElementConfiguration(TypedObject object)
-
getContentElementConfiguration
protected ContentElementListConfiguration getContentElementConfiguration(ObjectTemplate objectTemplate)
-
getContentElementConfiguration
protected ContentElementListConfiguration getContentElementConfiguration()
For getting configuration for a specific ObjectTemplate please usegetContentElementConfiguration(ObjectTemplate)instead!
-
getUIConfigurationService
protected UIConfigurationService getUIConfigurationService()
-
getElementConfigurationForTypedObject
protected ContentElementConfiguration getElementConfigurationForTypedObject(TypedObject object, ContentElementConfiguration configuartionfromtype)
This method will create a new contentElementConfiguration with a previewIconImage for every template of type PageTemplateTypeModal
-
-