(file) Return to GetClass.html CVS log (file) (dir) Up to [Pegasus] / pegasus / cgi / htdocs

  1 mike  1.1 <html>
  2 karl  1.2   <body bgcolor="#CCCCCC">
  3 mike  1.1     <table width="100%">
  4                 <tr>
  5 karl  1.5 	<td width="50%" align="bottom"><h1>GetClass CIM Operation</h1><td>
  6 mike  1.1 	<td width="50%" align="right">
  7 karl  1.4 	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
  8 mike  1.1         </td>
  9                 </tr>
 10               </table>
 11 karl  1.2     <hr>
 12 karl  1.8     <form name="GetClass" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
 13 mike  1.1       <INPUT TYPE="hidden" NAME="Operation" VALUE="GetClass">
 14 karl  1.10       <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
 15                  <INPUT TYPE="hidden" NAME="debug" VALUE="">
 16            
 17 karl  1.2        <p>The <TT>GetClass</TT> method returns a single CIM Class from the target Namespace
 18                  where the ClassName input parameter defines the name of the class to be retrieved.
 19 karl  1.9        <p><b>NameSpace</b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">
 20 karl  1.5        String that defines the target namespace. See <a href="getnamespaces.html">NameSpace
 21                  Operations</a> for more information<p><b>ClassName</b> <INPUT TYPE="text" NAME="ClassName" SIZE=30>
 22                  Defines the name of the Class to be retrieved. See <a href="EnumerateClassNames.html">Enumerate
 23                  Class Names</a> for a list of classes
 24                  <p><b>LocalOnly</b> <INPUT TYPE="checkbox" NAME="LocalOnly" VALUE="true" checked>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 25                  If true only CIM Elements overridden within definition of class are
 26                  returned.
 27                  <p><b>IncludeQualifiers</b> <INPUT TYPE="checkbox" NAME="IncludeQualifiers" VALUE="true">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 28                  If checked, show Qualifiers for class and returned Properties, Methods,
 29                  and Method Parameters.
 30                  <p><b>IncludeClassOrigins</b> <INPUT TYPE="checkbox" NAME="IncludeClassOrigins" VALUE="true">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 31                  If checked (TRUE), CLASSORIGIN attribute will be returned for all
 32 karl  1.10.2.1       appropriate elements
 33                      <p>ShowMof&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 34                      <input type="checkbox" name="ShowMof" value="ON">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 35                      If checked, the output shows the MOF reconstruction of the class also.<p><b>PropertyList </b> <INPUT TYPE="text" NAME="PropertyList" SIZE=30 VALUE="NULL">
 36 karl  1.5            NOTE: <b> NOT IMPLEMENTED </b>Null or array of property names to filter
 37                      request. <a href="#PropertyList">See below</a>.
 38                      <p><INPUT TYPE="submit" VALUE="Submit Request">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 39                      <INPUT TYPE="reset" VALUE="Reset Form">
 40 karl  1.7      	</form>
 41                    <hr>
 42                      <h2>RETURN Results</h2>
 43                      <p>If successful, the return value is a single CIM Class.If unsuccessful, one of the
 44 karl  1.5            CIM status codes show below MUST be returned by this method,
 45                	where the first applicable error in the list (starting with the first element of the list,
 46                	and working down) is the error returned. Any additional method-specific interpretation of
 47                	the error in is given in parentheses.&nbsp;
 48                	<UL>
 49                	<LI>CIM_ERR_INVALID_NAMESPACE
 50                	<LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate,
 51                	    unrecognized or otherwise incorrect parameters)
 52                	<LI>CIM_ERR_ACCESS_DENIED
 53                	<LI>CIM_ERR_INVALID_CLASS (the CIM Class does not exist in the
 54                	    specified namespace)
 55                	<LI>CIM_ERR_NOT_FOUND (the CIM Class does exist, but the
 56                	requested 	CIM Instance does not exist in the specified namespace)
 57                	<LI>CIM_ERR_FAILED (some other unspecified error occurred)
 58                	</LI>
 59                    </UL>
 60                
 61 karl  1.7          <hr>
 62                
 63                      <h2>ADDITIONAL Description of Fields</h2>
 64 karl  1.5            <p><a name="LocalOnly"><b>LocalOnly</b></a> -
 65 karl  1.2            If the <TT>LocalOnly</TT> input parameter is true, this specifies that only CIM
 66                      Elements (properties, methods and qualifiers) overriden within the definition of
 67                      the Class are returned.  If false, all elements are returned.  This parameter
 68                      therefore effects a CIM Server-side mechanism to filter certain elements of the
 69                      returned object based on whether or not they have been propagated from the parent
 70                      Class (as defined by the PROPAGATED attribute).
 71 karl  1.5            <p><b><a name="IncludeQualifiers">IncludeQualifiers</a></b> -
 72 karl  1.2            If the <TT>IncludeQualifiers</TT> input parameter is true, this specifies that
 73                      all Qualifiers for that Class (including Qualifiers on the Class and on any
 74                      returned Properties, Methods or Method Parameters) MUST be included as <QUALIFIER>
 75                      elements in the response.  If false no QUALIFIER elements are present in the
 76 karl  1.5            returned Class.<p><b><a name="IncludeClassOrigins">IncludeClassOrigin</a>s</b>
 77                      -
 78 karl  1.2            If the <TT>IncludeClassOrigin</TT> input parameter is true, this specifies that
 79                      the CLASSORIGIN attribute MUST be present on all appropriate elements in the returned
 80                      Class. If false, no CLASSORIGIN attributes are present in the returned Class.
 81 karl  1.5            <p><b><a name="PropertyList">PropertyList</a> -&nbsp; </b>If the <TT>PropertyList</TT> input parameter is not NULL, the members of the array
 82 karl  1.2            define one or more Property names.  The returned Class MUST NOT include elements for any
 83                      Properties missing from this list. Note that if <TT>LocalOnly</TT> is specified as true this acts
 84                      as an additional filter on the set of Properties returned (for example, if Property A is
 85                      included in the <TT>PropertyList</TT> but <TT>LocalOnly</TT> is set to true and A is not local to the
 86                      requested Class, then it will not be included in the response). If the <TT>PropertyList</TT>
 87                      input parameter is an empty array this signifies that no Properties are included in
 88                      the response. If the PropertyList input parameter is NULL this specifies that all
 89                      Properties (subject to the conditions expressed by the other parameters) are included
 90                      in the response.
 91                      <p>If the <TT>PropertyList</TT> contains duplicate elements, the Server MUST ignore
 92                      the duplicates but otherwise process the request normally. If the PropertyList contains
 93                      elements which are invalid Property names for the target Class, the Server MUST ignore
 94                      such entries but otherwise process the request normally.
 95 karl  1.7          <hr>
 96                      <h2>C++ Pegasus API
 97                    </h2>
 98                      <pre>
 99                          virtual CIMClass getClass(
100                	    const String&amp; nameSpace,
101                	    const String&amp; className,
102                	    Boolean localOnly = true,
103                	    Boolean includeQualifiers = true,
104                	    Boolean includeClassOrigin = false,
105                	    const Array<String>&amp; propertyList = StringArray()) = 0;
106                	    </pre>
107                  <hr>
108                
109                     <p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
110                     Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>
111                
112                     <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>)
113                     for more information on Pegasus</font>
114                
115                     <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
116 karl  1.10.2.1     S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Friday, July 27, 2001 04:56:27 PM<!--webbot bot="Timestamp" i-CheckSum="54839" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
117 karl  1.7           Copyright @ The Open Group 2001&nbsp;</font>
118 karl  1.8            <p>
119                	</form>
120                   <script>
121 karl  1.10            document.GetClass.hostaddress.value = top.hostAddress;
122                       document.GetClass.debug.value = top.debug;
123                       document.GetClass.NameSpace.value = top.NameSpace;
124                	   window.focus();
125 karl  1.9         </script>
126 mike  1.1        </body>
127                </html>

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2