Package caldavclientlibrary :: Package admin :: Package xmlaccounts :: Package commands :: Module removerecord :: Class RemoveRecord
[hide private]
[frames] | no frames]

Class RemoveRecord

source code

     object --+    
              |    
command.Command --+
                  |
                 RemoveRecord

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
usage(self) source code
int
execute(self, argv)
Execute the command specified by the command line arguments.
source code
 
doCommand(self)
Run the command.
source code
 
doRemove(self)
Removes an existing record from the directory.
source code

Inherited from command.Command: allRecordsAllowed, getMemberList, getTypeArgument, loadAccounts, mapType, promptPassword, writeAccounts

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  CMDNAME = 'remove'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

usage(self)

source code 
Overrides: command.Command.usage

execute(self, argv)

source code 

Execute the command specified by the command line arguments.

Parameters:
  • argv (list) - command line arguments.
Returns: int
1 for success, 0 for failure.
Overrides: command.Command.execute

doCommand(self)

source code 

Run the command.

Overrides: command.Command.doCommand