|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vodafone360.people.datatypes.BaseDataType
com.vodafone360.people.datatypes.PushEvent
com.vodafone360.people.datatypes.SystemNotification
public class SystemNotification
BaseDataType encapsulating a System notification message received from server This message contains a code and error test and should be routed to the approproate engine(s).
| Nested Class Summary | |
|---|---|
static class |
SystemNotification.SysNotificationCode
Enumeration of System Notification codes that can be returned from Server. |
private static class |
SystemNotification.Tags
Tags associated with SystemNotification item. |
| Field Summary | |
|---|---|
private java.lang.String |
code
|
private java.lang.String |
message
|
private SystemNotification.SysNotificationCode |
mSysCode
|
| Fields inherited from class com.vodafone360.people.datatypes.PushEvent |
|---|
mEngineId, mMessageType, NAME |
| Constructor Summary | |
|---|---|
SystemNotification()
|
|
| Method Summary | |
|---|---|
static SystemNotification |
createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash,
EngineManager.EngineId engId)
Create SystemNotification message from hashtable generated by Hessian-decoder. |
SystemNotification.SysNotificationCode |
getSysCode()
Get current System Notification code. |
java.lang.String |
name()
Return name of the current Data-type. |
private void |
setEngine()
Set EngineId of Engine that needs to handle the System Notification. |
private void |
setValue(SystemNotification.Tags tag,
java.lang.Object value)
Sets the value of the member data item associated with the specified tag. |
java.lang.String |
toString()
|
| Methods inherited from class com.vodafone360.people.datatypes.PushEvent |
|---|
createPushEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String code
private java.lang.String message
private SystemNotification.SysNotificationCode mSysCode
| Constructor Detail |
|---|
public SystemNotification()
| Method Detail |
|---|
public java.lang.String name()
name in class PushEvent
public static SystemNotification createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash,
EngineManager.EngineId engId)
hash - Hashtable containing SystemNotification parameters.engId - ID for engine this message should be routed to.
private void setValue(SystemNotification.Tags tag,
java.lang.Object value)
tag - Current tagval - Value associated with the tagprivate void setEngine()
public SystemNotification.SysNotificationCode getSysCode()
public java.lang.String toString()
toString in class PushEvent
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
JavaDoc