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

Diff for /pegasus/cgi/htdocs/Attic/DeleteClass.html between version 1.3 and 1.4

version 1.3, 2001/03/27 17:55:17 version 1.4, 2001/06/11 23:20:45
Line 1 
Line 1 
 <html> <html>
   <body bgcolor="#CCCCCC">   <body bgcolor="#CCCCCC">
     <table width="766">      <table width="100%">
       <tr>       <tr>
         <td width="387" align="bottom"><h1>Delete Class CIM Operation</h1><td width="67">          <td width="50%" align="bottom"><h1>DeleteClass</h1><td>
         <td width="292" align="right">          <td width="50%" align="right">
           <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">           <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
         </td>         </td>
       </tr>       </tr>
     </table>     </table>
     <hr>      <hr></hr>
     <form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">      <form name="DeleteClass" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
       <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteClass">       <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteClass">
         <input type="hidden" name="hostip" value="localhost">
     The <TT>DeleteClass</TT> method deletes a single CIM Class from the        <input type="hidden" name="portnum" value="8888">
         target Namespace.&nbsp;<p>NameSpace <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv20">&nbsp;&nbsp;&nbsp;        <p>NameSpace <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv20">
       Defines the target namespace from which the class will be delted        <p>ClassName <INPUT TYPE="text" NAME="ClassName" SIZE=30>
       <p>ClassName <INPUT TYPE="text" NAME="ClassName" SIZE=30>&nbsp;&nbsp;&nbsp;&nbsp;        <p><INPUT TYPE="submit" VALUE="DeleteClass">
       Name of the class to be deleted.        <p><INPUT TYPE="reset" VALUE="Reset">
       <p><INPUT TYPE="submit" VALUE="DeleteClass">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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">  
       <p>&nbsp;  
     </form>     </form>
      <script>
     <hr>     DeleteClass.hostip.value = opener.top.hostip;
     <h2>Return Results</h2>     DeleteClass.portnum.value = opener.top.portnum;
     <p>     window.focus();
      </script>
  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>Addtitional Information</h2>  
   
     The <TT>DeleteClass</TT> method deletes a single CIM Class from the  
         target Namespace.&nbsp;  
     <p>The NameSpace parameter is a string that defines the  
         target namespace \Ref{NAMESPACE}&nbsp;  
     <p>The ClassName input parameter defines the name of the  
         Class to be deleted.&nbsp;  
     <hr>  
     <h2>Pegasus API in operations.h</h2>  
     <pre>  
     virtual void deleteClass(  
         const String&amp; nameSpace,  
         const String&amp; className) = 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 -->Monday, March 26, 2001 02:57:40 PM<!--webbot bot="Timestamp" i-CheckSum="50226" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
      Copyright @ The Open Group 2001&nbsp;</font>  
  
   </body>   </body>
 </html> </html>


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2