|
SageTV Platform V7.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsage.api.SystemMessageAPI
public class SystemMessageAPI
| Constructor Summary | |
|---|---|
SystemMessageAPI()
|
|
| Method Summary | |
|---|---|
void |
DeleteAllSystemMessages()
Deletes all the SystemMessages from the queue. |
void |
DeleteSystemMessage(sage.msg.SystemMessage message)
Deletes the specified SystemMessage from the queue. |
int |
GetSystemAlertLevel()
Gets the global alert level in the system. |
long |
GetSystemMessageEndTime(sage.msg.SystemMessage message)
Gets the time when this SystemMessage was last posted. |
int |
GetSystemMessageLevel(sage.msg.SystemMessage message)
Returns the alert level for the SystemMessage that was specified. |
int |
GetSystemMessageRepeatCount(sage.msg.SystemMessage message)
Gets the number of times this message was repeated. |
sage.msg.SystemMessage[] |
GetSystemMessages()
Returns the list of SystemMessage objects currently in the queue. |
java.lang.String |
GetSystemMessageString(sage.msg.SystemMessage message)
Gets the 'message string' associated with this SystemMessage. |
long |
GetSystemMessageTime(sage.msg.SystemMessage message)
Gets the time when this SystemMessage was first posted. |
int |
GetSystemMessageTypeCode(sage.msg.SystemMessage message)
Returns an integer which represents the type of SystemMessage that was specified. |
java.lang.String |
GetSystemMessageTypeName(sage.msg.SystemMessage message)
Returns a localized string which represents the type of SystemMessage that was specified. |
java.lang.String |
GetSystemMessageVariable(sage.msg.SystemMessage message,
java.lang.String VarName)
Returns the SystemMessage variable property associated with the specified SystemMessage. |
java.lang.String[] |
GetSystemMessageVariableNames(sage.msg.SystemMessage message)
Returns the names of the variables associated with the specified SystemMessage. |
boolean |
IsSystemMessageObject(java.lang.Object SystemMessage)
Returns true if the passed in argument is a SystemMessage object |
void |
PostSystemMessage(int MessageCode,
int MessageLevel,
java.lang.String MessageString,
java.util.Properties MessageVariables)
Creates a new SystemMessage and posts it to the message queue. |
void |
ResetSystemAlertLevel()
Resets the global alert level in the system back to zero. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemMessageAPI()
| Method Detail |
|---|
public int GetSystemAlertLevel()
public sage.msg.SystemMessage[] GetSystemMessages()
public void ResetSystemAlertLevel()
public void DeleteAllSystemMessages()
public void DeleteSystemMessage(sage.msg.SystemMessage message)
message - the SystemMessage object to deletepublic java.lang.String GetSystemMessageString(sage.msg.SystemMessage message)
message - the SystemMessage object to get the 'message string' for
public long GetSystemMessageTime(sage.msg.SystemMessage message)
message - the SystemMessage object to get the time of
public long GetSystemMessageEndTime(sage.msg.SystemMessage message)
message - the SystemMessage object to get the end time of
public int GetSystemMessageRepeatCount(sage.msg.SystemMessage message)
message - the SystemMessage object to get the repeat count for
public java.lang.String GetSystemMessageTypeName(sage.msg.SystemMessage message)
message - the SystemMessage object to get the type of
public int GetSystemMessageTypeCode(sage.msg.SystemMessage message)
message - the SystemMessage object to get the type of
public int GetSystemMessageLevel(sage.msg.SystemMessage message)
message - the SystemMessage object to get the alert level of
public java.lang.String GetSystemMessageVariable(sage.msg.SystemMessage message,
java.lang.String VarName)
message - the SystemMessage object to lookup the variable inVarName - the name of the variable to lookup in this SystemMessage (string based values)
public void PostSystemMessage(int MessageCode,
int MessageLevel,
java.lang.String MessageString,
java.util.Properties MessageVariables)
MessageCode - the integer code that specifies the type of messageMessageLevel - the integer code specifying the level of the message; 0=Status(does not raise global level),1=Info, 2=Warning, 3=ErrorMessageString - a localized message string that explains what the message is in detailMessageVariables - a java.util.Properties object which has name->value pairs that represent variables corresponding to the details of this messagepublic boolean IsSystemMessageObject(java.lang.Object SystemMessage)
SystemMessage - the object to test to see if it is a SystemMessage object
public java.lang.String[] GetSystemMessageVariableNames(sage.msg.SystemMessage message)
message - the SystemMessage object to get the variable names of
|
SageTV Platform V7.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||