org.apache.shale.examples.mailreaderjpa
Class MainMenu

java.lang.Object
  extended by org.apache.shale.examples.mailreaderjpa.MainMenu

public class MainMenu
extends Object

Backing bean for the /mainMenu.jsp view.


Constructor Summary
MainMenu()
           
 
Method Summary
 String edit()
          Handle a request to edit the current user data.
 State getState()
          Return the per-user State instance we are associated with.
 String logoff()
          Handle a request to log off of the application.
 void setState(State state)
          Set the per-user State instance we are associated with.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainMenu

public MainMenu()
Method Detail

getState

public State getState()

Return the per-user State instance we are associated with.


setState

public void setState(State state)

Set the per-user State instance we are associated with.

Parameters:
state - The new State instance

edit

public String edit()

Handle a request to edit the current user data.


logoff

public String logoff()

Handle a request to log off of the application.



Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.