edu.nrao.sss.webapp
Class ServerErrorStatus

java.lang.Object
  extended by edu.nrao.sss.webapp.ServerErrorStatus

public class ServerErrorStatus
extends Object

Keeps track of whether or not a server error has been reported and holds a list of error messages to be displayed to the user.


Field Summary
static String SERVER_ERROR_STATUS_EL
           
 
Constructor Summary
ServerErrorStatus()
           
 
Method Summary
 void addErrorMessage(String msg)
          Adds an error message and sets the server errors exist flag.
 void clearErrors(ActionEvent e)
          clears the error list
 List<String> getErrorMessages()
           
 boolean getServerErrorsExist()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER_ERROR_STATUS_EL

public static final String SERVER_ERROR_STATUS_EL
See Also:
Constant Field Values
Constructor Detail

ServerErrorStatus

public ServerErrorStatus()
Method Detail

getServerErrorsExist

public boolean getServerErrorsExist()
Returns:
true if error messages have been added

clearErrors

public void clearErrors(ActionEvent e)
clears the error list


getErrorMessages

public List<String> getErrorMessages()
Returns:
a list of errors messages that have been added.

addErrorMessage

public void addErrorMessage(String msg)
Adds an error message and sets the server errors exist flag.



Copyright © 2009. All Rights Reserved.