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

File: [Pegasus] / pegasus / cgi / htdocs / Attic / EnumerateClassNames.html (download) / (as text)
Revision: 1.13, Thu Aug 28 17:10:40 2008 UTC (15 years, 9 months ago) by kumpf
Branch: MAIN
CVS Tags: TASK-PEP362_RestfulService-merged_out_from_trunk, TASK-PEP348_SCMO-merged_out_from_trunk, TASK-PEP317_pullop-merged_out_from_trunk, TASK-PEP317_pullop-merged_in_to_trunk, HPUX_TEST, HEAD
Changes since 1.12: +0 -0 lines
FILE REMOVED
BUG#: 7860
TITLE: pegasus/cgi directory is obsolete
DESCRIPTION: Remove unused files.

<html>
  <body bgcolor="#CCCCCC">
    <table width="100%">
      <tr>
	<td width="50%" align="bottom"><h1>EnumerateClassNames Operation</h1><td>
	<td width="50%" align="right">
	    <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
	</td>
      </tr>
    </table>
    <hr>
    <form name="EnumerateClassNames" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient" >
      <INPUT TYPE="hidden" NAME="Operation" VALUE="EnumerateClassNames">
      <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
      <INPUT TYPE="hidden" NAME="debug" VALUE="">
      <p>
    The <TT>enumerateClassNames</TT> operation is used to enumerate the
    names of subclasses of a CIM Class in the target Namespace.
      <p><b><a href="#NameSpace">NameSpace</a></b>
        <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">
      String that defines the target namespace. See <a href="enumeratenamespaces.html">NameSpace
      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>&nbsp;
      Defines the name of the Class that is the basis for the enumeration.. Null (no entry) lists all
      class names in the Namespace<p><b><a href="#DeepInheritance">DeepInheritance</a></b>
        <INPUT TYPE="checkbox" NAME="DeepInheritance" VALUE="true" checked>&nbsp;
      If true return names of all subclasses of specified class. If false, only
      immediate subclasses are returned.
      <p><INPUT TYPE="submit" VALUE="Submit Request">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <INPUT TYPE="reset" VALUE="Reset Form">
    </form>
    <hr>

    <h2>Request Return&nbsp;</h2>

    <p> If successful, the method returns zero or more names of Classes that
    meet the requested criteria as a CIM Array.

    <p>If unsuccessful, one of the following status codes MUST be returned by this
    method, where the first applicable error in the list (starting with the
    first element of the list, and working down) is the error returned. Any
    additional method-specific interpretation of the error in is given in
    parentheses.
    <UL>
      <LI>CIM_ERR_ACCESS_DENIED
      <LI>CIM_ERR_NOT_SUPPORTED
      <LI>CIM_ERR_INVALID_NAMESPACE&nbsp;
      <LI>CIM_ERR_INVALID_PARAMETER (including missing,
        duplicate,&nbsp;unrecognized or otherwise incorrect parameters)
      <LI>CIM_ERR_INVALID_CLASS (the CIM Class that is the
        basis for this enumeration does not exist)
      <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI>
    </UL>

    <hr>
    <h2>Additional Information on the Fields</h2>
    <p><a name="NameSpace"><b>NameSpace</b></a> - The NameSpace parameter is a string that defines the
    target namespace

    <p><a name="ClassName"><b>className</b></a> - The <TT>ClassName</TT> input parameter defines the Class
    that is the basis for the enumeration.&nbsp;Note that the class named is not
    retrieved as part of the enumeration. Thus, if there are no subclasses to
    the named class, zero classe names are returned.

    <p><a name="DeepInheritance"><b>DeepInheritance</b></a> - If the DeepInheritance input parameter is true, this
    specifies that the names of all subclasses of the specified Class should be
    returned (if the ClassName input parameter is absent, this implies that the
    names of all Classes in the target Namespace should be returned).  If false,
    only the names of immediate child subclasses are returned (if the ClassName
    input parameter is NULL, this implies that the names of all base Classes in
    the target Namespace should be returned.
    <hr>

    <h2>C++ Call</h2>

    <PRE>
    virtual Array<String> enumerateClassNames(
    	const String&amp; nameSpace,
    	const String&amp; className = String::EMPTY,
    	Boolean deepInheritance = false) = 0;
    </PRE>
  <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
     Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>

     <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>)
     for more information on Pegasus</font>

     <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
    S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Tuesday, January 29, 2002 11:36:22 AM<!--webbot bot="Timestamp" i-CheckSum="11606" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     Copyright @ The Open Group 2001&nbsp;</font>

   <script>
       document.EnumerateClassNames.hostaddress.value = top.hostAddress;
       document.EnumerateClassNames.debug.value = top.debug;
       document.EnumerateClassNames.NameSpace.value = top.NameSpace;
	   window.focus();
   </script>

  </body>
</html>

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2