|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.util.Messages
public class Messages
Set of messages.
Uses XavaResources for doing i18n.
XavaResources,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
Messages.Type
|
| Constructor Summary | |
|---|---|
Messages()
|
|
| Method Summary | |
|---|---|
void |
add(Messages.Type type,
java.lang.String idMessage,
java.lang.Object... ids)
|
void |
add(Messages messages)
|
void |
add(java.lang.String idMessage,
java.lang.Object... ids)
|
void |
clearAndClose()
Clear all error message and does not accept any more messages. |
boolean |
contains()
|
boolean |
contains(java.lang.String idMessage)
|
java.util.Collection |
getIds()
List of all ids of the messages |
java.util.Collection |
getInfosStrings(ServletRequest request)
|
java.util.Collection |
getMembers()
Qualified names of the members affected for this errors. |
java.util.Collection |
getMessagesStrings(ServletRequest request)
|
java.util.Collection |
getStrings()
List of all message texts translated using the default locale. |
java.util.Collection |
getStrings(ServletRequest request)
List of all message texts translated using the locale of the request. |
java.util.Collection |
getWarningsStrings(ServletRequest request)
|
boolean |
isEmpty()
|
boolean |
memberHas(MetaMember m)
|
void |
remove(java.lang.String idMessage)
|
void |
removeAll()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Messages()
| Method Detail |
|---|
public boolean contains(java.lang.String idMessage)
public void remove(java.lang.String idMessage)
public void removeAll()
public void clearAndClose()
If you call to add after call to this method then
no exception will throw but the message will not be added.
public void add(java.lang.String idMessage,
java.lang.Object... ids)
public void add(Messages.Type type,
java.lang.String idMessage,
java.lang.Object... ids)
public boolean contains()
public boolean isEmpty()
public java.lang.String toString()
toString in class java.lang.Objectpublic void add(Messages messages)
public java.util.Collection getStrings()
public java.util.Collection getStrings(ServletRequest request)
public java.util.Collection getMessagesStrings(ServletRequest request)
public java.util.Collection getWarningsStrings(ServletRequest request)
public java.util.Collection getInfosStrings(ServletRequest request)
public java.util.Collection getIds()
public boolean memberHas(MetaMember m)
public java.util.Collection getMembers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||