|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.osivia.portal.api.notifications.Notifications
public final class Notifications
Notifications bean.
| Constructor Summary | |
|---|---|
Notifications(NotificationsType type)
Constructor. |
|
Notifications(NotificationsType type,
int duration)
Contructor with duration. |
|
| Method Summary | |
|---|---|
void |
addMessage(java.lang.String message)
Add single message to messages list. |
void |
addMessages(java.util.List<java.lang.String> messages)
Add multiple messages to messages list |
long |
getCreationTime()
Getter for creationTime. |
java.lang.Long |
getErrorCode()
Getter for errorCode. |
long |
getExpirationTime()
Getter for expirationTime. |
java.util.List<java.lang.String> |
getMessages()
Getter for messages. |
NotificationsType |
getType()
Getter for type. |
void |
setErrorCode(java.lang.Long errorCode)
Setter for errorCode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Notifications(NotificationsType type)
type - notifications type
public Notifications(NotificationsType type,
int duration)
type - notifications typeduration - duration, in millisecond| Method Detail |
|---|
public void addMessage(java.lang.String message)
message - messagepublic void addMessages(java.util.List<java.lang.String> messages)
messages - messagespublic NotificationsType getType()
public java.util.List<java.lang.String> getMessages()
public long getCreationTime()
public long getExpirationTime()
public java.lang.Long getErrorCode()
public void setErrorCode(java.lang.Long errorCode)
errorCode - the errorCode to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||