Package omero :: Package gateway :: Class BlitzObjectWrapper
[hide private]
[frames] | no frames]

Class BlitzObjectWrapper

source code


Object wrapper class.

Instance Methods [hide private]
 
__init__(self, conn=None, obj=None, cache={}, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__eq__(self, a) source code
 
__bstrap__(self) source code
 
__prepare__(self, **kwargs) source code
 
__repr__(self)
repr(x)
source code
 
_getChildWrapper(self) source code
 
_getParentWrapper(self) source code
 
__loadedHotSwap__(self) source code
 
_getParentLink(self) source code
 
_moveLink(self, newParent)
moves this object from the current parent container to a new one
source code
 
findChildByName(self, name, description=None) source code
 
getDetails(self) source code
 
getDate(self) source code
 
save(self) source code
 
saveAs(self, details)
Save this object, keeping the object owner the same as the one on provided details
source code
 
canWrite(self) source code
 
canOwnerWrite(self) source code
 
canDelete(self) source code
 
isOwned(self) source code
 
isLeaded(self) source code
 
isEditable(self) source code
 
isPublic(self) source code
 
isShared(self) source code
 
isPrivate(self) source code
 
isReadOnly(self) source code
 
countChildren(self)
Counts available number of child objects.
source code
 
countChildren_cached(self)
countChildren, but caching the first result, useful if you need to call this multiple times in a single sequence, but have no way of storing the value between them.
source code
 
listChildren(self, ns=None, val=None, params=None)
Lists available child objects.
source code
 
listParents(self, single=True, withlinks=False)
Lists available parent objects.
source code
 
getAncestry(self) source code
 
_loadAnnotationLinks(self) source code
 
_getAnnotationLinks(self, ns=None) source code
 
removeAnnotations(self, ns) source code
 
getAnnotation(self, ns=None)
ets the first annotation in the ns namespace, linked to this object
source code
 
listAnnotations(self, ns=None)
List annotations in the ns namespace, linked to this object
source code
 
_linkAnnotation(self, ann) source code
 
linkAnnotation(self, ann, sameOwner=True) source code
 
simpleMarshal(self, xtra=None, parents=False) source code
 
__getattr__(self, attr) source code
 
getId(self)
Gets this object ID
source code
 
getName(self)
Gets this object name
source code
 
getDescription(self)
Gets this object description
source code
 
getOwner(self)
Gets user who is the owner of this object.
source code
 
getOwnerFullName(self)
Gets full name of the owner of this object.
source code
 
getOwnerOmeName(self)
Gets omeName of the owner of this object.
source code
 
creationEventDate(self)
Gets event time in timestamp format (yyyy-mm-dd hh:mm:ss.fffffff) when object was created.
source code
 
updateEventDate(self)
Gets event time in timestamp format (yyyy-mm-dd hh:mm:ss.fffffff) when object was updated.
source code
 
setName(self, value) source code
 
setDescription(self, value) source code

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

Class Variables [hide private]
  OMERO_CLASS = None
hash(x)
  LINK_CLASS = None
hash(x)
  CHILD_WRAPPER_CLASS = None
hash(x)
  PARENT_WRAPPER_CLASS = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, conn=None, obj=None, cache={}, **kwargs)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

countChildren(self)

source code 

Counts available number of child objects.

Returns:
Long. The number of child objects available

countChildren_cached(self)

source code 

countChildren, but caching the first result, useful if you need to call this multiple times in a single sequence, but have no way of storing the value between them. It is actually a hack to support django template's lack of break in for loops

Returns:
Long

listChildren(self, ns=None, val=None, params=None)

source code 

Lists available child objects.

Returns:
Generator yielding child objects.

listParents(self, single=True, withlinks=False)

source code 

Lists available parent objects.

Returns:
Generator yielding parent objects

getAnnotation(self, ns=None)

source code 

ets the first annotation in the ns namespace, linked to this object

Returns:
#AnnotationWrapper or None

listAnnotations(self, ns=None)

source code 

List annotations in the ns namespace, linked to this object

Returns:
Generator yielding AnnotationWrapper

getId(self)

source code 

Gets this object ID

Returns:
Long or None

getName(self)

source code 

Gets this object name

Returns:
String or None

getDescription(self)

source code 

Gets this object description

Returns:
String

getOwner(self)

source code 

Gets user who is the owner of this object.

Returns:
_ExperimenterWrapper

getOwnerFullName(self)

source code 

Gets full name of the owner of this object.

Returns:
String or None

getOwnerOmeName(self)

source code 

Gets omeName of the owner of this object.

Returns:
String

creationEventDate(self)

source code 

Gets event time in timestamp format (yyyy-mm-dd hh:mm:ss.fffffff) when object was created.

Returns:
Long

updateEventDate(self)

source code 

Gets event time in timestamp format (yyyy-mm-dd hh:mm:ss.fffffff) when object was updated.

Returns:
Long