|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sysmgt.sdk.remote.ManagedSystem
ManagedSystem - represents a System on the center pane of the Director Console.
Field Summary | |
---|---|
static java.lang.String |
ATTRIB_AGENT_DATE
Agent date - timestamp |
static java.lang.String |
ATTRIB_AGENT_TIMEZONE_OFF
|
static java.lang.String |
ATTRIB_AGENT_TYPE
Agent type - string (token) |
static java.lang.String |
ATTRIB_AGENT_VERSION
Agent version - string |
static java.lang.String |
ATTRIB_ARCH_TYPE
Architecture Type - string |
static java.lang.String |
ATTRIB_COMPUTER_NAME
Computer name - String |
static java.lang.String |
ATTRIB_DOMAIN_NAME
Domain name of managed object - string |
static java.lang.String |
ATTRIB_IP_ADDRS
Standard managed object attribute - IP addresses (TWGStringArray, in dotted decimal format) |
static java.lang.String |
ATTRIB_IP_HOSTS
Standard managed object attribute - IP hosts (TWGStringArray) |
static java.lang.String |
ATTRIB_IPX_ADDRS
Standard managed object attribute - IPX addresses (TWGStringArray, with 'xxxxxxxx.yyyyyyyyyyyy" as format (hex digits)) |
static java.lang.String |
ATTRIB_IS_ACCESS_DENIED
Standard managed object attribute - access denied flag |
static java.lang.String |
ATTRIB_MAC_ADDR_LIST
MAC address list- String array |
static java.lang.String |
ATTRIB_MAC_ADDRESS
MAC address - byte array (byte[6]) |
static java.lang.String |
ATTRIB_MACHINE_TYPE_MODEL
Machine type and model - string |
static java.lang.String |
ATTRIB_MOF_ID
Standard managed object attribute - ID of managed object factory |
static java.lang.String |
ATTRIB_NAME
Standard managed object attribute - managed object name |
static java.lang.String |
ATTRIB_OS_MAJ_VER
Operating system major version - integer |
static java.lang.String |
ATTRIB_OS_MIN_VER
Operating system minor version - integer |
static java.lang.String |
ATTRIB_OS_TYPE
Operating system type : token string matching MPM types (OS2, WINDOWS_9X, WINDOWS_NT, WINDOWS, NETWARE, DOS, etc) |
static java.lang.String |
ATTRIB_SERIAL_NUMBER
Serial number - string |
static java.lang.String |
ATTRIB_STATE
Standard managed object attribute - current state |
static java.lang.String |
ATTRIB_TASKS
Standard managed object attribute - list of task IDs in object |
static java.lang.String |
ATTRIB_UUID
UUID value - byte array (byte[16]) |
static java.lang.String |
ATTRIB_WORKGROUP_NAME
Workgroup name of managed object - string |
static int |
MOSTATE_ERROR_OFFLINE
|
static int |
MOSTATE_ERROR_ONLINE
|
static int |
MOSTATE_INDETERMINATE
|
static int |
MOSTATE_INVALID_OBJECT
|
static int |
MOSTATE_NORMAL_OFFLINE
|
static int |
MOSTATE_NORMAL_ONLINE
|
static int |
MOSTATE_UNKNOWN
|
static int |
MOSTATE_UNLICENSED
|
Constructor Summary | |
---|---|
ManagedSystem(long oid,
java.lang.String lbl,
java.lang.String typ,
int stat)
Constructor |
Method Summary | |
---|---|
static java.util.List |
getAllSystems(LoginSession s)
Gets a list of all managed systems |
Attribute |
getAttribute(LoginSession s,
java.lang.String aid)
Gets the managed system attribute that matches the attribute id. |
java.util.List |
getChildSystems(LoginSession s)
In future releases, this will return the ManagedSystems that are associated under this ManagedSystem. |
CompositeStatus |
getCompositeStatus()
Gets the CompositeStatus of this managed system |
CompositeStatus |
getCompositeStatus(LoginSession s)
Gets the CompositeStatus of this managed system |
java.lang.String |
getLabel()
Gets the label (name) of the managed system |
java.lang.String |
getObjectType()
Gets the type of managed system this object is |
long |
getOid()
Gets the object ID of the managed system |
int |
getStatus()
Gets the status of the managed system |
java.util.Map |
getSystemAttributes(LoginSession s)
Gets all of the attributes for the managed system |
static ManagedSystem |
getSystemByOid(LoginSession s,
long oid)
Gets a managed system based on its object id |
static java.util.List |
getSystemsByAttribute(LoginSession s,
java.lang.String aid,
DataValue value)
Gets all systems matching the attribute id and value |
static java.util.List |
getSystemsByAttribute(LoginSession s,
java.lang.String aid,
java.lang.String value)
Gets all systems matching the attribute id and value |
static java.util.List |
getSystemsByGroup(LoginSession s,
int oid)
Get all systems in a group. |
static java.util.List |
getSystemsByLabel(LoginSession s,
java.lang.String label)
Gets a list of managed systems based on the label (name). |
static java.util.List |
getSystemsByUniqueID(LoginSession s,
long uid)
Gets managed systems by unique ID |
static java.util.List |
getSystemsByUniqueID(LoginSession s,
TWGLong uid)
Gets managed systems by unique ID |
static java.util.List |
getSystemsByUUID(LoginSession s,
byte[] uuid)
Gets managed systems by UUID |
static java.util.List |
getSystemsByUUID(LoginSession s,
TWGByteArray uuid)
Gets managed systems by UUID |
boolean |
isLocked(LoginSession s)
Returns true if this Director Server does not have access to the System. |
void |
setObjectType(java.lang.String string)
Sets the type of managed system this object is |
java.lang.String |
toString()
Returns the Managed System data as a String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int MOSTATE_INVALID_OBJECT
public static final int MOSTATE_UNKNOWN
public static final int MOSTATE_INDETERMINATE
public static final int MOSTATE_ERROR_OFFLINE
public static final int MOSTATE_NORMAL_OFFLINE
public static final int MOSTATE_ERROR_ONLINE
public static final int MOSTATE_NORMAL_ONLINE
public static final int MOSTATE_UNLICENSED
public static final java.lang.String ATTRIB_NAME
public static final java.lang.String ATTRIB_TASKS
public static final java.lang.String ATTRIB_MOF_ID
public static final java.lang.String ATTRIB_STATE
public static final java.lang.String ATTRIB_IS_ACCESS_DENIED
public static final java.lang.String ATTRIB_AGENT_TIMEZONE_OFF
public static final java.lang.String ATTRIB_IP_ADDRS
public static final java.lang.String ATTRIB_IP_HOSTS
public static final java.lang.String ATTRIB_IPX_ADDRS
public static final java.lang.String ATTRIB_DOMAIN_NAME
public static final java.lang.String ATTRIB_WORKGROUP_NAME
public static final java.lang.String ATTRIB_OS_TYPE
public static final java.lang.String ATTRIB_OS_MAJ_VER
public static final java.lang.String ATTRIB_OS_MIN_VER
public static final java.lang.String ATTRIB_AGENT_TYPE
public static final java.lang.String ATTRIB_AGENT_VERSION
public static final java.lang.String ATTRIB_AGENT_DATE
public static final java.lang.String ATTRIB_UUID
public static final java.lang.String ATTRIB_MAC_ADDRESS
public static final java.lang.String ATTRIB_COMPUTER_NAME
public static final java.lang.String ATTRIB_ARCH_TYPE
public static final java.lang.String ATTRIB_MAC_ADDR_LIST
public static final java.lang.String ATTRIB_MACHINE_TYPE_MODEL
public static final java.lang.String ATTRIB_SERIAL_NUMBER
Constructor Detail |
public ManagedSystem(long oid, java.lang.String lbl, java.lang.String typ, int stat)
oid
- the object id of the managed systemlbl
- the name of the managed systemtyp
- the type of managed systemstat
- the status of the managed systemMethod Detail |
public long getOid()
getOid
in interface TaskTarget
public java.util.List getChildSystems(LoginSession s)
getChildSystems
in interface CompositeSystem
s
- - the login session to the Director Server
CompositeSystem.getChildSystems(com.ibm.sysmgt.sdk.remote.LoginSession)
public static java.util.List getAllSystems(LoginSession s) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession token
ServerCommunicationException
RequestFailedException
public static ManagedSystem getSystemByOid(LoginSession s, long oid) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession tokenoid
- the object id for the managed system to retrieve
ServerCommunicationException
RequestFailedException
public static java.util.List getSystemsByLabel(LoginSession s, java.lang.String label) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession tokenlabel
- the name of the managed system
ServerCommunicationException
RequestFailedException
public static java.util.List getSystemsByAttribute(LoginSession s, java.lang.String aid, java.lang.String value) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession tokenaid
- the id of the managed object attribute to matchvalue
- the value of the managed object attribute to match
ServerCommunicationException
RequestFailedException
public static java.util.List getSystemsByAttribute(LoginSession s, java.lang.String aid, DataValue value) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession tokenaid
- the id of the managed object attribute to matchvalue
- the value of the managed object attribute to match
ServerCommunicationException
RequestFailedException
public static java.util.List getSystemsByGroup(LoginSession s, int oid)
s
- the LoginSession tokenoid
- the object id for the group
public Attribute getAttribute(LoginSession s, java.lang.String aid) throws RequestFailedException, ServerCommunicationException
s
- the LoginSession tokenaid
- the attribute id
RequestFailedException
ServerCommunicationException
public java.lang.String getLabel()
getLabel
in interface CompositeSystem
public boolean isLocked(LoginSession s) throws ServerCommunicationException, RequestFailedException
ServerCommunicationException
RequestFailedException
public int getStatus()
public java.util.Map getSystemAttributes(LoginSession s) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession token
ServerCommunicationException
RequestFailedException
public java.lang.String getObjectType()
public void setObjectType(java.lang.String string)
string
- the managed system typepublic CompositeStatus getCompositeStatus()
getCompositeStatus
in interface CompositeSystem
public CompositeStatus getCompositeStatus(LoginSession s) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession token
ServerCommunicationException
RequestFailedException
public java.lang.String toString()
public static java.util.List getSystemsByUniqueID(LoginSession s, long uid) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession tokenuid
- the unique ID of the managed system
ServerCommunicationException
RequestFailedException
public static java.util.List getSystemsByUniqueID(LoginSession s, TWGLong uid) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession tokenuid
- the unique ID of the managed system
ServerCommunicationException
RequestFailedException
public static java.util.List getSystemsByUUID(LoginSession s, byte[] uuid) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession tokenuuid
- the UUID of the managed system
ServerCommunicationException
RequestFailedException
public static java.util.List getSystemsByUUID(LoginSession s, TWGByteArray uuid) throws ServerCommunicationException, RequestFailedException
s
- the LoginSession tokenuuid
- the UUID of the managed system
ServerCommunicationException
RequestFailedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |