|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.xensource.xenapi.XenAPIObject
com.xensource.xenapi.Message
public class Message
An message for the attention of the administrator First published in XenServer 5.0.
| Nested Class Summary | |
|---|---|
static class |
Message.Record
Represents all the fields in a Message |
| Field Summary | |
|---|---|
protected String |
ref
The XenAPI reference (OpaqueRef) to this object. |
| Method Summary | |
|---|---|
static Message |
create(Connection c,
String name,
Long priority,
Types.Cls cls,
String objUuid,
String body)
First published in XenServer 5.0. |
void |
destroy(Connection c)
First published in XenServer 5.0. |
boolean |
equals(Object obj)
If obj is a Message, compares XenAPI references for equality. |
static Map<Message,Message.Record> |
get(Connection c,
Types.Cls cls,
String objUuid,
Date since)
First published in XenServer 5.0. |
static Set<Message> |
getAll(Connection c)
First published in XenServer 5.0. |
static Map<Message,Message.Record> |
getAllRecords(Connection c)
First published in XenServer 5.0. |
static Map<Message,Message.Record> |
getAllRecordsWhere(Connection c,
String expr)
First published in XenServer 5.0. |
static Message |
getByUuid(Connection c,
String uuid)
First published in XenServer 5.0. |
Message.Record |
getRecord(Connection c)
First published in XenServer 5.0. |
static Map<Message,Message.Record> |
getSince(Connection c,
Date since)
First published in XenServer 5.0. |
int |
hashCode()
|
String |
toWireString()
|
| Methods inherited from class com.xensource.xenapi.XenAPIObject |
|---|
isNull |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final String ref
| Method Detail |
|---|
public String toWireString()
toWireString in class XenAPIObjectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
public static Message create(Connection c,
String name,
Long priority,
Types.Cls cls,
String objUuid,
String body)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
name - The name of the messagepriority - The priority of the messagecls - The class of object this message is associated withobjUuid - The uuid of the object this message is associated withbody - The body of the message
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public void destroy(Connection c)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Map<Message,Message.Record> get(Connection c,
Types.Cls cls,
String objUuid,
Date since)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
cls - The class of objectobjUuid - The uuid of the objectsince - The cutoff time
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Set<Message> getAll(Connection c)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Map<Message,Message.Record> getSince(Connection c,
Date since)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
since - The cutoff time
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public Message.Record getRecord(Connection c)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Message getByUuid(Connection c,
String uuid)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
uuid - The uuid of the message
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Map<Message,Message.Record> getAllRecords(Connection c)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
public static Map<Message,Message.Record> getAllRecordsWhere(Connection c,
String expr)
throws Types.BadServerResponse,
Types.XenAPIException,
org.apache.xmlrpc.XmlRpcException
expr - The expression to match (not currently used)
Types.BadServerResponse
Types.XenAPIException
org.apache.xmlrpc.XmlRpcException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||