Package org.javlo.service.remote
Class RemoteMessage
- java.lang.Object
-
- org.javlo.service.remote.RemoteMessage
-
public class RemoteMessage extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADMIN_LEVEL
static int
ERROR
static int
GOD_LEVEL
static int
INFO
static int
USER_LEVEL
static int
WARNING
-
Constructor Summary
Constructors Constructor Description RemoteMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDeleveredClient(String clientId)
Date
getCreationDate()
String
getId()
int
getLevel()
String
getMessage(Map<String,String> i18nAccess)
int
getType()
boolean
isDelivered(String clientId)
void
setLevel(int level)
void
setMessage(String message)
void
setMessageKey(String messageKey)
void
setType(int type)
-
-
-
Field Detail
-
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
-
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
-
INFO
public static final int INFO
- See Also:
- Constant Field Values
-
GOD_LEVEL
public static final int GOD_LEVEL
- See Also:
- Constant Field Values
-
ADMIN_LEVEL
public static final int ADMIN_LEVEL
- See Also:
- Constant Field Values
-
USER_LEVEL
public static final int USER_LEVEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLevel
public int getLevel()
-
setLevel
public void setLevel(int level)
-
getId
public String getId()
-
isDelivered
public boolean isDelivered(String clientId)
-
addDeleveredClient
public void addDeleveredClient(String clientId)
-
setType
public void setType(int type)
-
getType
public int getType()
-
setMessage
public void setMessage(String message)
-
setMessageKey
public void setMessageKey(String messageKey)
-
getCreationDate
public Date getCreationDate()
-
-