1 mike 1.1 <html>
2 <body bgcolor="#CCCCCC">
3 <table width="100%">
4 <tr>
|
5 karl 1.3 <td width="50%" align="bottom"><h1>EnumerateClassNames Operation</h1><td>
|
6 mike 1.1 <td width="50%" align="right">
|
7 karl 1.5 <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
|
8 mike 1.1 </td>
9 </tr>
10 </table>
|
11 karl 1.3 <hr>
|
12 karl 1.8 <form name="EnumerateClassNames" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient" >
|
13 mike 1.1 <INPUT TYPE="hidden" NAME="Operation" VALUE="EnumerateClassNames">
|
14 karl 1.8 <input type="hidden" name="hostip" value="localhost">
|
15 karl 1.9 <input type="hidden" name="portnum" value="5988">
|
16 karl 1.3 <p>
17 The <TT>enumerateClassNames</TT> operation is used to enumerate the
18 names of subclasses of a CIM Class in the target Namespace.
19 <p><b><a href="#NameSpace">NameSpace</a></b>
|
20 karl 1.9 <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">
|
21 karl 1.3 String that defines the target namespace. See <a href="getnamespaces.html">NameSpace
|
22 karl 1.4 Operations</a> for more information.<p><b><a href="http://www.opengroup.org/management#className">ClassName</a></b> <INPUT TYPE="text" NAME="ClassName" SIZE=30>
|
23 karl 1.6 Defines the name of the Class that is the basis for the enumeration.. Null (no entry) lists all
|
24 karl 1.3 class names in the Namespace<p><b><a href="#DeepInheritance">DeepInheritance</a></b>
25 <INPUT TYPE="checkbox" NAME="DeepInheritance" VALUE="true" checked>
26 If true return names of all subclasses of specified class. If false, only
27 immediate subclasses are returned.
28 <p><INPUT TYPE="submit" VALUE="Submit Request">
29 <INPUT TYPE="reset" VALUE="Reset">
|
30 mike 1.1 </form>
|
31 karl 1.8 <script>
32 EnumerateClassNames.hostip.value = opener.top.hostip;
33 EnumerateClassNames.portnum.value = opener.top.portnum;
34 window.focus();
|
35 karl 1.9 </script>
|
36 karl 1.3 <hr>
37
|
38 karl 1.8 <h2>Request Return </h2>
|
39 karl 1.3
40 <p> If successful, the method returns zero or more names of Classes that
41 meet the requested criteria as a CIM Array.
42
43 <p>If unsuccessful, one of the following status codes MUST be returned by this
44 method, where the first applicable error in the list (starting with the
45 first element of the list, and working down) is the error returned. Any
46 additional method-specific interpretation of the error in is given in
47 parentheses.
48 <UL>
49 <LI>CIM_ERR_ACCESS_DENIED
50 <LI>CIM_ERR_NOT_SUPPORTED
51 <LI>CIM_ERR_INVALID_NAMESPACE
52 <LI>CIM_ERR_INVALID_PARAMETER (including missing,
53 duplicate, unrecognized or otherwise incorrect parameters)
54 <LI>CIM_ERR_INVALID_CLASS (the CIM Class that is the
55 basis for this enumeration does not exist)
56 <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI>
57 </UL>
|
58 karl 1.5
|
59 karl 1.3 <hr>
60 <h2>Additional Information on the Fields</h2>
61 <p><a name="NameSpace"><b>NameSpace</b></a> - The NameSpace parameter is a string that defines the
62 target namespace
63
64 <p><a name="className"><b>className</b></a> - The <TT>ClassName</TT> input parameter defines the Class
|
65 karl 1.6 that is the basis for the enumeration. Note that the class named is not
66 retrieved as part of the enumeration. Thus, if there are no subclasses to
67 the named class, zero classe names are returned.
|
68 karl 1.3
69 <p><a name="DeepInheritance"><b>DeepInheritance</b></a> - If the DeepInheritance input parameter is true, this
70 specifies that the names of all subclasses of the specified Class should be
71 returned (if the ClassName input parameter is absent, this implies that the
72 names of all Classes in the target Namespace should be returned). If false,
73 only the names of immediate child subclasses are returned (if the ClassName
74 input parameter is NULL, this implies that the names of all base Classes in
|
75 karl 1.6 the target Namespace should be returned.
|
76 karl 1.3 <hr>
77
78 <h2>C++ Call</h2>
|
79 karl 1.5
|
80 karl 1.3 <PRE>
81 virtual Array<String> enumerateClassNames(
82 const String& nameSpace,
83 const String& className = String::EMPTY,
84 Boolean deepInheritance = false) = 0;
85 </PRE>
|
86 karl 1.7 <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
87 Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>
88
89 <p style="margin-top: 0; margin-bottom: 0"> <font size="2">See (<a href="http://www.opengroup.org/management">http://www.opengroup.org/management</a>)
90 for more information on Pegasus</font>
91
92 <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
93 S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Monday, March 26, 2001 03:06:48 PM<!--webbot bot="Timestamp" i-CheckSum="50711" endspan -->
94 Copyright @ The Open Group 2001 </font>
|
95 karl 1.3
96
|
97 mike 1.1 </body>
98 </html>
|