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

File: [Pegasus] / pegasus / cgi / htdocs / Attic / DeleteClass.html (download) / (as text)
Revision: 1.8, 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.7: +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>DeleteClass CIM Operation</h1><td>
	<td width="50%" align="right">
	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
        </td>
      </tr>
    </table>
    <hr>
    <form name="DeleteClass" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
      <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteClass">
      <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
      <INPUT TYPE="hidden" NAME="debug" VALUE="">
      <p>This deleteClass CIM Operation deletes a single Class from the target Namespace
      <p><b>NameSpace</b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">&nbsp;
      String that defines the target namespace. See <a
      href="enumeratenamespaces.html">NameSpace
      Operations</a> for more information
      <p><b>ClassName</b><b>&nbsp; </b><INPUT TYPE="text" NAME="ClassName" SIZE=30>&nbsp;&nbsp;
      Name of the class to be deleted
      <p><INPUT TYPE="submit" VALUE="Submit Request">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <INPUT TYPE="reset" VALUE="Reset Form">
    </form>
    
    
    <hr>
    <h2>Additional Information</h2>
    
    
    The <TT>DeleteClass</TT> method deletes a single CIM Class from the
	target Namespace.&nbsp;
    <p><b>NameSpace</b> The nameSpace parameter is a string that defines
	the target namespace.
    <p><b>ClassName</b> The <TT>className</TT> input parameter defines the name
	of the Class to be deleted.&nbsp;
    <hr>
    <h2>Return</h2>
    If successful, the specified Class (including any subclasses
	and any instances) MUST have been removed by the CIM Server.  The
	operation MUST fail if any one of these objects cannot be deleted.

	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
	    <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate,
		unrecognized or otherwise incorrect parameters)
	    <LI>CIM_ERR_NOT_FOUND (the CIM Class to be deleted does not exist)
	    <LI>CIM_ERR_CLASS_HAS_CHILDREN (the CIM Class has one or more
		subclasses which cannot be deleted)
	    <LI>CIM_ERR_CLASS_HAS_INSTANCES (the CIM Class has one or more
		instances which cannot be deleted)
	    <LI>CIM_ERR_FAILED (some other unspecified error occurred)
	</UL>
    <hr>
    <h2>
    C++ API</h2>
    <pre>
    virtual void deleteClass(
        const String&amp; nameSpace,
        const String&amp; className) = 0;
   </pre>
   <script>
       document.DeleteClass.hostaddress.value = top.hostAddress;
       document.DeleteClass.debug.value = top.debug;
       document.DeleteClass.NameSpace.value = top.NameSpace;
	   window.focus();
   </script>

  </body>
</html>

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2