org.hardtokenmgmt.mailsigner.ui
Class MailSignerActionResultController

java.lang.Object
  extended by org.hardtokenmgmt.core.ui.BaseController
      extended by org.hardtokenmgmt.mailsigner.ui.MailSignerActionResultController
All Implemented Interfaces:
IController

public class MailSignerActionResultController
extends BaseController

The controller displaying general information about an action in the MailSigner control panel.

Controller Memory Settings:

Version:
$Id$
Author:
Philip Vendil

Field Summary
 
Fields inherited from class org.hardtokenmgmt.core.ui.BaseController
view
 
Constructor Summary
MailSignerActionResultController()
           
 
Method Summary
 void getControl(java.lang.String callingController)
          Method called by the Main applet when it's time for this controller to take control
 boolean isAuthorizedToController(java.security.cert.X509Certificate admin)
          Method called by the main applet to check that the administrator is authorized to this controller
static void setLayout(java.lang.String imageName, java.lang.String title, java.lang.String textRow1, java.lang.String textRow2, java.lang.String textRow3, java.lang.String textRow4, java.lang.String textRow5, java.lang.String backController, boolean freshController)
          Method that should be called before control is switched.
static void setLayout(java.lang.String imageName, java.lang.String title, java.lang.String textRow1, java.lang.String name, java.lang.String textRow2, java.lang.String textRow3, java.lang.String textRow4, java.lang.String textRow5, java.lang.String backController, boolean freshController)
          Method that should be called before control is switched.
 
Methods inherited from class org.hardtokenmgmt.core.ui.BaseController
debug, debug, error, error, getAdministratorSettings, getControllerMemory, getControllerSetting, getControllerSetting, getGlobalSettings, getHTMFAdminInterface, getProcessableToken, getTokenManager, getView, getWSRAInterface, info, info, isAdmin, isNonAdmin, switchControlTo, switchToFreshController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailSignerActionResultController

public MailSignerActionResultController()
Method Detail

getControl

public void getControl(java.lang.String callingController)
Method called by the Main applet when it's time for this controller to take control

Parameters:
callingController - class path to the controller calling this controller or null if this was the main controller.
See Also:
IController.getControl(String)

isAuthorizedToController

public boolean isAuthorizedToController(java.security.cert.X509Certificate admin)
Method called by the main applet to check that the administrator is authorized to this controller

Parameters:
admin - the certificate of the loggen in administrator.
Returns:
true if the administrator is authorized to this controller
See Also:
IController.isAuthorizedToController(X509Certificate)

setLayout

public static void setLayout(java.lang.String imageName,
                             java.lang.String title,
                             java.lang.String textRow1,
                             java.lang.String textRow2,
                             java.lang.String textRow3,
                             java.lang.String textRow4,
                             java.lang.String textRow5,
                             java.lang.String backController,
                             boolean freshController)
Method that should be called before control is switched. Telling it what information to display.

Parameters:
imageName - name of image to display
title - resource name of title
textRow1 - resource for text row 1
textRow2 - resource for text row 2
textRow3 - resource for text row 3
textRow4 - resource for text row 4
textRow5 - resource for text row 5
backController - name of back controller
freshController - if the back button should direct to a fresh or cached controller.

setLayout

public static void setLayout(java.lang.String imageName,
                             java.lang.String title,
                             java.lang.String textRow1,
                             java.lang.String name,
                             java.lang.String textRow2,
                             java.lang.String textRow3,
                             java.lang.String textRow4,
                             java.lang.String textRow5,
                             java.lang.String backController,
                             boolean freshController)
Method that should be called before control is switched. Telling it what information to display.

Parameters:
imageName - name of image to display
title - resource name of title
textRow1 - resource for text row 1
name - of managed object appended to row1
textRow2 - resource for text row 2
textRow3 - resource for text row 3
textRow4 - resource for text row 4
textRow5 - resource for text row 5
backController - name of back controller
freshController - if the back button should direct to a fresh or cached controller.