@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public class WebappMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MESSAGE_TYPE_CUSTOM
A message type that is the lowest designed to be intercepted by the
plugin code on the client side and displayed in a custom way.
|
static int |
MESSAGE_TYPE_ERROR
Message type error.
|
static int |
MESSAGE_TYPE_INFO
Message type info.
|
static int |
MESSAGE_TYPE_WARN
Message type warning.
|
Constructor and Description |
---|
WebappMessage(int type,
java.lang.String title,
java.lang.String message,
boolean isUserGenerated)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
java.lang.String |
getTitle() |
int |
getType() |
boolean |
isUserGenerated() |
public static final int MESSAGE_TYPE_INFO
public static final int MESSAGE_TYPE_WARN
public static final int MESSAGE_TYPE_ERROR
public static final int MESSAGE_TYPE_CUSTOM
public WebappMessage(int type, java.lang.String title, java.lang.String message, boolean isUserGenerated)
type
- Message type.title
- Message title.message
- Message body.isUserGenerated
- true
if the message was generated by the user and
should be presented in UI.public java.lang.String getMessage()
public java.lang.String getTitle()
public int getType()
public boolean isUserGenerated()
© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.