Class UploadMediaPageController
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPageController
-
- de.hybris.platform.cmscockpit.wizard.controller.UploadMediaPageController
-
- All Implemented Interfaces:
WizardPageController
public class UploadMediaPageController extends DefaultPageController
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPageController
transitions
-
-
Constructor Summary
Constructors Constructor Description UploadMediaPageController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeNext(Wizard wizard, WizardPage page)This method is invoked before proceeding to the next page.voiddone(Wizard wizard, WizardPage page)This method is invoked when the done button is pressed.MediaInfoServicegetMediaInfoService()MediaServicegetMediaService()TypeServicegetTypeService()voidinitPage(Wizard wizard, WizardPage page)This method is invoked whenever a wizard page is created.voidsetMediaInfoService(MediaInfoService mediaInfoService)voidsetMediaService(MediaService mediaService)protected voidupdateMediaModel(MediaModel currentMediaModel, org.zkoss.util.media.Media mediaContent)-
Methods inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPageController
beforeBack, cancel, evaluateAttribute, evaluateTransition, getFirstPage, next, previous, setTransitions, validate
-
-
-
-
Method Detail
-
done
public void done(Wizard wizard, WizardPage page) throws WizardConfirmationException
Description copied from interface:WizardPageControllerThis method is invoked when the done button is pressed.- Specified by:
donein interfaceWizardPageController- Overrides:
donein classDefaultPageController- Parameters:
wizard- the wizard which contains the pagepage- the currently accessed page- Throws:
WizardConfirmationException
-
beforeNext
public void beforeNext(Wizard wizard, WizardPage page)
Description copied from interface:WizardPageControllerThis method is invoked before proceeding to the next page.- Specified by:
beforeNextin interfaceWizardPageController- Overrides:
beforeNextin classDefaultPageController- Parameters:
wizard- the wizard which contains the pagepage- the currently accessed page
-
initPage
public void initPage(Wizard wizard, WizardPage page)
Description copied from interface:WizardPageControllerThis method is invoked whenever a wizard page is created. Implement it to do some preparations for your page.- Specified by:
initPagein interfaceWizardPageController- Overrides:
initPagein classDefaultPageController- Parameters:
wizard- the wizard which contains the pagepage- the currently accessed page
-
updateMediaModel
protected void updateMediaModel(MediaModel currentMediaModel, org.zkoss.util.media.Media mediaContent)
-
setMediaService
public void setMediaService(MediaService mediaService)
-
getMediaService
public MediaService getMediaService()
-
setMediaInfoService
public void setMediaInfoService(MediaInfoService mediaInfoService)
-
getMediaInfoService
public MediaInfoService getMediaInfoService()
-
getTypeService
public TypeService getTypeService()
-
-