Package omero :: Package plugins :: Module upload :: Class UploadControl
[hide private]
[frames] | no frames]

Class UploadControl

source code


Instance Methods [hide private]
 
help(self, args=None) source code
 
calcSha1(self, filename) source code
 
createOriginalFile(self, id, name, filename) source code
 
uploadFile(self, filename, originalFile=None) source code
 
uploadFromString(self, string, originalFile) source code
 
readCommandArgs(self, commandline) source code
 
returnSource(self, filename) source code
 
uploadDefaultScripts(self, args) source code
 
uploadFromCommandline(self, commandline) source code
 
__call__(self, *args)
Main dispatch method for a control instance.
source code

Inherited from cli.BaseControl: __init__

Class Variables [hide private]
  SCRIPT_ARG = 'scripts'
  PYTABLE_ARG = 'pytable'
  FILE_ARG = 'files'
Method Details [hide private]

help(self, args=None)

source code 
Overrides: cli.BaseControl.help

__call__(self, *args)
(Call operator)

source code 

Main dispatch method for a control instance. The default implementation assumes that the *args consists of either no elements or exactly one list of strings ==> (["str"],)

If no args are present, _noargs is called. Subclasses may want to read from stdin or drop into a shell from _noargs().

Otherwise, the rest of the arguments are passed to the method named by the first argument, if _likes() returns True.

Overrides: cli.BaseControl.__call__
(inherited documentation)