|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.ui.Message
public class Message
A simple message Class which is created for display in the message area of
the UI. It is used in conjnction with
Constructor Summary | |
---|---|
Message(String message)
Constructor to ceate a simple message |
|
Message(String message,
boolean isError)
Constructor to create a message which can be an error message |
|
Message(String message,
String arg)
Constructor to create a simple message with a single argument substitution |
|
Message(String message,
String[] args)
Constructor to create a simple message with argument substitution |
|
Message(String message,
String[] args,
boolean isError)
Constructor to create a message with argument substitution which can be an error message |
|
Message(String message,
String arg,
boolean isError)
Constructor to create a message with single argument substitution which can be an error message |
Method Summary | |
---|---|
static void |
addVetoMessageToScreen(HttpServletRequest request,
HookVeto hookVeto)
add a veto message to screen. |
String[] |
getArgs()
|
String |
getContainerId()
|
String |
getText()
|
boolean |
isError()
|
boolean |
isWarning()
|
void |
setArgs(String[] args)
|
void |
setError(boolean isError)
|
void |
setText(String message)
|
void |
setWarning(boolean isWarning)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Message(String message)
message
- key in ResourceBundle that returns textpublic Message(String message, String[] args)
message
- key in ResourceBundle that returns textargs
- values to substitute in format text keyed by messagepublic Message(String message, String arg)
message
- key in ResourceBundle that returns textarg
- value to substitute in format text keyed by messagepublic Message(String message, boolean isError)
message
- key in ResourceBundle that returns textisError
- booleanpublic Message(String message, String arg, boolean isError)
message
- key in ResourceBundle that returns textarg
- value to substitute in messageisError
- booleanpublic Message(String message, String[] args, boolean isError)
message
- args
- values to substitute in messageisError
- booleanMethod Detail |
---|
public String[] getArgs()
public void setArgs(String[] args)
args
- the args to set.public String getContainerId()
public String getText()
public void setText(String message)
message
- the message to set.public boolean isError()
public void setError(boolean isError)
isError
- boolean.public boolean isWarning()
public void setWarning(boolean isWarning)
isWarning
- boolean.public static void addVetoMessageToScreen(HttpServletRequest request, HookVeto hookVeto)
request
- hookVeto
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |