Class UploadMediaPage
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPage
-
- de.hybris.platform.cockpit.wizards.generic.AbstractGenericItemPage
-
- de.hybris.platform.cockpit.wizards.generic.UploadMediaPage
-
- All Implemented Interfaces:
GenericItemWizardPage,WizardPage
- Direct Known Subclasses:
UploadJasperMediaPage
public class UploadMediaPage extends AbstractGenericItemPage
-
-
Field Summary
-
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 UploadMediaPage()
-
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 org.zkoss.zk.ui.ComponentcreateRowComponent()WizardPageControllergetController()org.zkoss.util.media.MediagetMedia()MediaInfoServicegetMediaInfoService()MediaServicegetMediaService()voidsetMedia(org.zkoss.util.media.Media media)voidsetMediaInfoService(MediaInfoService mediaInfoService)voidsetMediaService(MediaService mediaService)protected voidupdateMediaContent(org.zkoss.zul.Image img, org.zkoss.util.media.Media media)protected voidupdateMediaModel(MediaModel currentMediaModel)-
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
-
-
-
-
Method Detail
-
updateMediaContent
protected void updateMediaContent(org.zkoss.zul.Image img, org.zkoss.util.media.Media media)
-
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
-
setMedia
public void setMedia(org.zkoss.util.media.Media media)
-
getMedia
public org.zkoss.util.media.Media getMedia()
-
createRowComponent
protected org.zkoss.zk.ui.Component createRowComponent()
-
getController
public WizardPageController getController()
- Specified by:
getControllerin interfaceWizardPage- Overrides:
getControllerin classDefaultPage
-
updateMediaModel
protected void updateMediaModel(MediaModel currentMediaModel)
-
setMediaService
public void setMediaService(MediaService mediaService)
-
getMediaService
public MediaService getMediaService()
-
setMediaInfoService
public void setMediaInfoService(MediaInfoService mediaInfoService)
-
getMediaInfoService
public MediaInfoService getMediaInfoService()
-
-