Package Ganga :: Package GPIDev :: Package Lib :: Package Registry :: Module RegistrySliceProxy :: Class RegistrySliceProxy
[hide private]
[frames] | no frames]

Class RegistrySliceProxy

source code

object --+
         |
        RegistrySliceProxy
Known Subclasses:

This object is an access list to registry slices

Instance Methods [hide private]
 
__init__(self, _impl)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
ids(self, minid=None, maxid=None)
Return a list of ids of all objects.
source code
 
clean(self, confirm=False, force=False)
Cleans this registry completely.
source code
 
incomplete_ids(self) source code
 
__iter__(self)
Looping.
source code
 
__contains__(self, j) source code
 
__len__(self) source code
 
select(self, minid=None, maxid=None, **attrs)
Select a subset of objects.
source code
 
_display(self, interactive=0)
str(x)
source code
 
__str__(self, interactive=0)
str(x)
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, _impl)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

clean(self, confirm=False, force=False)

source code 

Cleans this registry completely. Returns True on success, False on failure

__iter__(self)

source code 
Looping. Example:
for j in jobs:
  print j.id

select(self, minid=None, maxid=None, **attrs)

source code 

Select a subset of objects. Examples for jobs: jobs.select(10): select jobs with ids higher or equal to 10; jobs.select(10,20) select jobs with ids in 10,20 range (inclusive); jobs.select(status='new') select all jobs with new status; jobs.select(name='some') select all jobs with some name; jobs.select(application='Executable') select all jobs with Executable application; jobs.select(backend='Local') select all jobs with Local backend.

__str__(self, interactive=0)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)