<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>flumotion.admin.command.component.Delete</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <th class="navbar" width="100%"></th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> Package flumotion :: <a href="flumotion.admin-module.html">Package admin</a> :: <a href="flumotion.admin.command-module.html">Package command</a> :: <a href="flumotion.admin.command.component-module.html">Module component</a> :: Class Delete </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide private</a>]</span></td></tr> </table> </td> </tr> </table> <!-- ==================== CLASS DESCRIPTION ==================== --> <h1 class="epydoc">Class Delete</h1><p class="nomargin-top"><span class="codelink"><a href="flumotion.admin.command.component-pysrc.html#Delete">source code</a></span></p> <pre class="base-tree"> <a href="flumotion.extern.command.command.Command-class.html">extern.command.command.Command</a> --+ | <a href="flumotion.extern.log.log.Loggable-class.html">extern.log.log.Loggable</a> --+ | monitor.nagios.util.LogCommand --+ | <a href="flumotion.admin.command.common.AdminCommand-class.html">common.AdminCommand</a> --+ | <strong class="uidshort">Delete</strong> </pre> <hr /> <!-- ==================== INSTANCE METHODS ==================== --> <a name="section-InstanceMethods"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Instance Methods</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-InstanceMethods" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><span class="summary-sig"><a href="flumotion.admin.command.component.Delete-class.html#doCallback" class="summary-sig-name">doCallback</a>(<span class="summary-sig-arg">self</span>, <span class="summary-sig-arg">args</span>)</span><br /> Subclasses should implement this as an alternative to the normal do method.</td> <td align="right" valign="top"> <span class="codelink"><a href="flumotion.admin.command.component-pysrc.html#Delete.doCallback">source code</a></span> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" class="summary"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="flumotion.admin.command.common.AdminCommand-class.html">common.AdminCommand</a></code></b>: <code><a href="flumotion.admin.command.common.AdminCommand-class.html#connectToManager">connectToManager</a></code>, <code><a href="flumotion.admin.command.common.AdminCommand-class.html#do">do</a></code> </p> <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="flumotion.admin.command.common.AdminCommand-class.html">common.AdminCommand</a></code></b> (private): <code><a href="flumotion.admin.command.common.AdminCommand-class.html#_callback" onclick="show_private();">_callback</a></code>, <code><a href="flumotion.admin.command.common.AdminCommand-class.html#_connectToManagerCb" onclick="show_private();">_connectToManagerCb</a></code>, <code><a href="flumotion.admin.command.common.AdminCommand-class.html#_connectToManagerEb" onclick="show_private();">_connectToManagerEb</a></code> </p></div> <p class="indent-wrapped-lines"><b>Inherited from <code>monitor.nagios.util.LogCommand</code></b>: <code>__init__</code>, <code>debug</code> </p> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="flumotion.extern.command.command.Command-class.html">extern.command.command.Command</a></code></b>: <code><a href="flumotion.extern.command.command.Command-class.html#addOptions">addOptions</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#getRootCommand">getRootCommand</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#handleOptions">handleOptions</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#outputHelp">outputHelp</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#outputUsage">outputUsage</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#parse">parse</a></code> </p> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="flumotion.extern.log.log.Loggable-class.html">extern.log.log.Loggable</a></code></b>: <code><a href="flumotion.extern.log.log.Loggable-class.html#doLog">doLog</a></code>, <code><a href="flumotion.extern.log.log.Loggable-class.html#error">error</a></code>, <code><a href="flumotion.extern.log.log.Loggable-class.html#info">info</a></code>, <code><a href="flumotion.extern.log.log.Loggable-class.html#log">log</a></code>, <code><a href="flumotion.extern.log.log.Loggable-class.html#logFunction">logFunction</a></code>, <code><a href="flumotion.extern.log.log.Loggable-class.html#logObjectName">logObjectName</a></code>, <code><a href="flumotion.extern.log.log.Loggable-class.html#warning">warning</a></code>, <code><a href="flumotion.extern.log.log.Loggable-class.html#warningFailure">warningFailure</a></code>, <code><a href="flumotion.extern.log.log.Loggable-class.html#writeMarker">writeMarker</a></code> </p> </td> </tr> </table> <!-- ==================== CLASS VARIABLES ==================== --> <a name="section-ClassVariables"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Class Variables</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-ClassVariables" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a name="description"></a><span class="summary-name">description</span> = <code title="'Delete a component.'"><code class="variable-quote">'</code><code class="variable-string">Delete a component.</code><code class="variable-quote">'</code></code><br /> longer paragraph explaining the command </td> </tr> <tr> <td colspan="2" class="summary"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="flumotion.extern.command.command.Command-class.html">extern.command.command.Command</a></code></b>: <code><a href="flumotion.extern.command.command.Command-class.html#aliasedSubCommands">aliasedSubCommands</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#aliases">aliases</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#name">name</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#parentCommand">parentCommand</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#parser">parser</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#subCommandClasses">subCommandClasses</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#subCommands">subCommands</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#summary">summary</a></code>, <code><a href="flumotion.extern.command.command.Command-class.html#usage">usage</a></code> </p> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="flumotion.extern.log.log.Loggable-class.html">extern.log.log.Loggable</a></code></b>: <code><a href="flumotion.extern.log.log.Loggable-class.html#logCategory">logCategory</a></code> </p> </td> </tr> </table> <!-- ==================== METHOD DETAILS ==================== --> <a name="section-MethodDetails"></a> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Method Details</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-MethodDetails" class="privatelink" onclick="toggle_private();" >hide private</a>]</span></td> </tr> </table> </td> </tr> </table> <a name="doCallback"></a> <div> <table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr><td> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr valign="top"><td> <h3 class="epydoc"><span class="sig"><span class="sig-name">doCallback</span>(<span class="sig-arg">self</span>, <span class="sig-arg">args</span>)</span> </h3> </td><td align="right" valign="top" ><span class="codelink"><a href="flumotion.admin.command.component-pysrc.html#Delete.doCallback">source code</a></span> </td> </tr></table> <p>Subclasses should implement this as an alternative to the normal do method. It will be called after a connection to the manager is made.</p> <p>Don't forget to return a deferred you create to properly chain execution.</p> <dl class="fields"> <dt>Overrides: <a href="flumotion.admin.command.common.AdminCommand-class.html#doCallback">common.AdminCommand.doCallback</a> <dd><em class="note">(inherited documentation)</em></dd> </dt> </dl> </td></tr></table> </div> <br /> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <th class="navbar" width="100%"></th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Sun Sep 13 13:13:58 2009 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>