org.gcube.portlets.admin.software_upload_wizard.client.wizard
Class StrategyWizard

java.lang.Object
  extended by org.gcube.portlets.admin.software_upload_wizard.client.wizard.StrategyWizard
All Implemented Interfaces:
IWizard
Direct Known Subclasses:
AnySoftwareWizard, GCubePatchWizard, GCubePluginWizard, GCubeWebServiceStaticWizard, LibraryWizard, SoftwareRegistrationWizard, WebAppWizard

public class StrategyWizard
extends Object
implements IWizard


Constructor Summary
StrategyWizard(IWizard strategy)
           
 
Method Summary
 List<WizardCard> getCards()
           
 WizardCard getCurrentCard()
           
 int getCurrentWizardStepNumber()
           
 int getTotalWizardStepsNumber()
           
 WizardCard goToNextCard()
           
 WizardCard goToPreviousCard()
           
 boolean isOnFirstCard()
           
 boolean isOnLastCard()
           
 void setCards(List<WizardCard> cards)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrategyWizard

public StrategyWizard(IWizard strategy)
Method Detail

getCurrentCard

public WizardCard getCurrentCard()
Specified by:
getCurrentCard in interface IWizard

goToNextCard

public WizardCard goToNextCard()
                        throws Exception
Specified by:
goToNextCard in interface IWizard
Throws:
Exception

goToPreviousCard

public WizardCard goToPreviousCard()
                            throws Exception
Specified by:
goToPreviousCard in interface IWizard
Throws:
Exception

isOnFirstCard

public boolean isOnFirstCard()
Specified by:
isOnFirstCard in interface IWizard

isOnLastCard

public boolean isOnLastCard()
Specified by:
isOnLastCard in interface IWizard

getCards

public List<WizardCard> getCards()
Specified by:
getCards in interface IWizard

setCards

public void setCards(List<WizardCard> cards)
              throws Exception
Specified by:
setCards in interface IWizard
Throws:
Exception

getCurrentWizardStepNumber

public int getCurrentWizardStepNumber()
Specified by:
getCurrentWizardStepNumber in interface IWizard

getTotalWizardStepsNumber

public int getTotalWizardStepsNumber()
Specified by:
getTotalWizardStepsNumber in interface IWizard


Copyright © 2013. All Rights Reserved.