Table Of Contents

Previous topic

omero.api package

Next topic

omero.cmd.graphs package

This Page

omero.cmd package

Module contents

Simplified API that is intended for passing

class omero.cmd.Chgrp(type='', id=0, options=None, grp=0)

Bases: omero.cmd.GraphModify

_ice_type = <IcePy.TypeInfo object at 0x114bd0c0>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Chgrp2(targetObjects=None, childOptions=None, dryRun=False, groupId=0)

Bases: omero.cmd.GraphModify2

Move model objects into a different experimenter group. The user must be either an administrator, or the owner of the objects and a member of the target group.

_ice_type = <IcePy.TypeInfo object at 0x114bd2b8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Chgrp2Prx

Bases: omero.cmd.GraphModify2Prx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Chgrp2Response(includedObjects=None, deletedObjects=None)

Bases: omero.cmd.OK

Result of moving model objects into a different experimenter group.

_ice_type = <IcePy.TypeInfo object at 0x114bd2e8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Chgrp2ResponsePrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ChgrpPrx

Bases: omero.cmd.GraphModifyPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ChgrpRsp

Bases: omero.cmd.Response

_ice_type = <IcePy.TypeInfo object at 0x114bd0f0>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ChgrpRspPrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Chmod(type='', id=0, options=None, permissions='')

Bases: omero.cmd.GraphModify

Modifies the permissions settings for the given object. Most permission modifications will be quite fast and will specify this as returning a small number of steps in the status object. When lowering a READ setting, however, all existing data will need to be checked and there will be a minimum of one step per table in the database.

At the moment, the only supported type is “”/ExperimenterGroup””.

_ice_type = <IcePy.TypeInfo object at 0x114bd120>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Chmod2(targetObjects=None, childOptions=None, dryRun=False, permissions='')

Bases: omero.cmd.GraphModify2

Change the permissions on model objects. The user must be an administrator, the owner of the objects, or an owner of the objects’ group. The only permitted target object type is ExperimenterGroup.

_ice_type = <IcePy.TypeInfo object at 0x114bd318>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Chmod2Prx

Bases: omero.cmd.GraphModify2Prx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Chmod2Response(includedObjects=None, deletedObjects=None)

Bases: omero.cmd.OK

Result of changing the permissions on model objects.

_ice_type = <IcePy.TypeInfo object at 0x114bd348>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Chmod2ResponsePrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ChmodPrx

Bases: omero.cmd.GraphModifyPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ChmodRsp

Bases: omero.cmd.Response

_ice_type = <IcePy.TypeInfo object at 0x114bd150>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ChmodRspPrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Chown(type='', id=0, options=None, user=0)

Bases: omero.cmd.GraphModify

_ice_type = <IcePy.TypeInfo object at 0x114bd180>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Chown2(targetObjects=None, childOptions=None, dryRun=False, userId=0)

Bases: omero.cmd.GraphModify2

Change the ownership of model objects. The user must be an administrator, or they must be an owner of the objects’ group, with the target user a member of the objects’ group.

_ice_type = <IcePy.TypeInfo object at 0x114bd378>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Chown2Prx

Bases: omero.cmd.GraphModify2Prx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Chown2Response(includedObjects=None, deletedObjects=None)

Bases: omero.cmd.OK

Result of changing the ownership of model objects.

_ice_type = <IcePy.TypeInfo object at 0x114bd3a8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Chown2ResponsePrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ChownPrx

Bases: omero.cmd.GraphModifyPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ChownRsp

Bases: omero.cmd.Response

_ice_type = <IcePy.TypeInfo object at 0x114bd1b0>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ChownRspPrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.CmdCallback

Bases: Ice.Object

_ice_type = <IcePy.TypeInfo object at 0x39f1240>
_op_finished = <IcePy.Operation object at 0x39f1270>
_op_step = <IcePy.Operation object at 0x39f1258>
finished(rsp, s, current=None)

Called when the command has completed in any fashion including cancellation. The Status#flags list will contain information about whether or not the process was cancelled.

ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
step(complete, total, current=None)

Notifies clients that the given number of steps from the total is complete. This method will not necessarily be called for every step.

class omero.cmd.CmdCallbackPrx

Bases: IcePy.ObjectPrx

Notifies clients that the given number of steps from the total is complete. This method will not necessarily be called for every step.

begin_finished(rsp, s, _response=None, _ex=None, _sent=None, _ctx=None)
begin_step(complete, total, _response=None, _ex=None, _sent=None, _ctx=None)
static checkedCast(proxy, facetOrCtx=None, _ctx=None)
end_finished(_r)
end_step(_r)
finished(rsp, s, _ctx=None)
step(complete, total, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.CurrentSessionsRequest

Bases: omero.cmd.Request

Argument-less request that will produce a CurrentSessionsResponse if no omero.cmd.ERR occurs.

_ice_type = <IcePy.TypeInfo object at 0x10f7dc48>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.CurrentSessionsRequestPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.CurrentSessionsResponse(sessions=None, contexts=None, data=None)

Bases: omero.cmd.Response

Return value from omero.cmd.CurrentSessionsRequest consisting of two ordered lists of matching length. The sessions field contains a list of the OMERO omero.model.Session objects that are currently active after all timeouts have been applied. This is the value that would be returned by omero.api.ISession#getSession when joined to that session. Similarly, the contexts field contains the value that would be returned by a call to omero.api.IAdmin#getEventContext. For non-administrators, most values for all sessions other than those belonging to that user will be nulled.

_ice_type = <IcePy.TypeInfo object at 0x10f7dc78>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.CurrentSessionsResponsePrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Delete(type='', id=0, options=None)

Bases: omero.cmd.GraphModify

Delete requests will return a omero.cmd.DeleteRsp unless an error has occurred in which case a standard omero.cmd.ERR may be returned.

_ice_type = <IcePy.TypeInfo object at 0x114bd1e0>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Delete2(targetObjects=None, childOptions=None, dryRun=False)

Bases: omero.cmd.GraphModify2

Delete model objects.

_ice_type = <IcePy.TypeInfo object at 0x114bd3f0>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Delete2Prx

Bases: omero.cmd.GraphModify2Prx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Delete2Response(deletedObjects=None)

Bases: omero.cmd.OK

Result of deleting model objects.

_ice_type = <IcePy.TypeInfo object at 0x114bd420>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.Delete2ResponsePrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.DeletePrx

Bases: omero.cmd.GraphModifyPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.DeleteRsp(warning='', undeletedFiles=None, steps=0, scheduledDeletes=0, actualDeletes=0)

Bases: omero.cmd.OK

Mirrors and replaces DeleteReport. There is no “”error”” field because if there was an error than an ERR object will be returned.

_ice_type = <IcePy.TypeInfo object at 0x114bd210>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.DeleteRspPrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.DiskUsage(classes=None, objects=None)

Bases: omero.cmd.Request

Request to determine the disk usage of the given objects and their contents. File-system paths used by multiple objects are de-duplicated in the total count. Specifying a class is equivalent to specifying all its instances as objects.

Permissible classes include: ExperimenterGroup, Experimenter, Project, Dataset, Screen, Plate, Well, WellSample, Image, Pixels, Annotation, Job, Fileset, OriginalFile.

_ice_type = <IcePy.TypeInfo object at 0x10f7dfa8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.DiskUsagePrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.DiskUsageResponse(fileCountByReferer=None, bytesUsedByReferer=None, totalFileCount=None, totalBytesUsed=None)

Bases: omero.cmd.Response

Disk usage report: bytes used and non-empty file counts on the repository file-system for specific objects. The counts from the maps may sum to more than the total if different types of object refer to the same file. Common referers include: Annotation for file annotations FilesetEntry for OMERO 5 image files (OMERO.fs) Job for import logs Pixels for pyramids and OMERO 4 images and archived files Thumbnail for the image thumbnails The above map values are broken down by owner-group keys.

_ice_type = <IcePy.TypeInfo object at 0x10f7dfd8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.DiskUsageResponsePrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.DoAll(requests=None, contexts=None)

Bases: omero.cmd.Request

_ice_type = <IcePy.TypeInfo object at 0x10f7dca8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.DoAllPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.DoAllRsp(responses=None, status=None)

Bases: omero.cmd.OK

_ice_type = <IcePy.TypeInfo object at 0x10f7dcd8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.DoAllRspPrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Duplicate(targetObjects=None, childOptions=None, dryRun=False, typesToDuplicate=None, typesToReference=None, typesToIgnore=None)

Bases: omero.cmd.GraphModify2

Duplicate model objects with some selection of their subgraph. All target model objects must be in the current group context. The extra three data members allow adjustment of the related subgraph. The same type must not be listed in more than one of those data members. Use of a more specific sub-type in a data member always overrides the more general type in another.

_ice_type = <IcePy.TypeInfo object at 0x114bd480>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.DuplicatePrx

Bases: omero.cmd.GraphModify2Prx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.DuplicateResponse(duplicates=None)

Bases: omero.cmd.OK

Result of duplicating model objects.

_ice_type = <IcePy.TypeInfo object at 0x114bd4b0>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.DuplicateResponsePrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ERR(category='', name='', parameters=None)

Bases: omero.cmd.Response

_ice_type = <IcePy.TypeInfo object at 0x39f11c8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ERRPrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.FindHandles(limit=0, include=None, exclude=None)

Bases: omero.cmd.Request

_ice_type = <IcePy.TypeInfo object at 0x10f7ddc8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.FindHandlesPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.FindHandlesRsp(handles=None)

Bases: omero.cmd.OK

_ice_type = <IcePy.TypeInfo object at 0x10f7ddf8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.FindHandlesRspPrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.GraphConstraintERR(category='', name='', parameters=None, constraints=None)

Bases: omero.cmd.ERR

Returned when specifically a ome.services.graphs.GraphConstraintException is thrown. The contents of that internal exception are passed in this instance.

_ice_type = <IcePy.TypeInfo object at 0x114bd078>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.GraphConstraintERRPrx

Bases: omero.cmd.ERRPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.GraphException(category='', name='', parameters=None, message='')

Bases: omero.cmd.ERR

Returned when specifically a ome.services.graphs.GraphException is thrown. The contents of that internal exception are passed in this instance.

_ice_type = <IcePy.TypeInfo object at 0x114bd540>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.GraphExceptionPrx

Bases: omero.cmd.ERRPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.GraphModify(type='', id=0, options=None)

Bases: omero.cmd.Request

_ice_type = <IcePy.TypeInfo object at 0x114bd048>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.GraphModify2(targetObjects=None, childOptions=None, dryRun=False)

Bases: omero.cmd.Request

Base class for new requests for operating upon the model object graph.

_ice_type = <IcePy.TypeInfo object at 0x114bd288>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.GraphModify2Prx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.GraphModifyPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Handle

Bases: Ice.Object

_ice_type = <IcePy.TypeInfo object at 0x39f1090>
_op_addCallback = <IcePy.Operation object at 0x39f1288>
_op_cancel = <IcePy.Operation object at 0x39f1300>
_op_close = <IcePy.Operation object at 0x39f1318>
_op_getRequest = <IcePy.Operation object at 0x39f12b8>
_op_getResponse = <IcePy.Operation object at 0x39f12d0>
_op_getStatus = <IcePy.Operation object at 0x39f12e8>
_op_removeCallback = <IcePy.Operation object at 0x39f12a0>
addCallback(cb, current=None)

Add a callback for notifications.

cancel(current=None)

Attempts to cancel execution of this Request. Returns true if cancellation was successful. Returns false if not, in which case likely this request will run to completion.

close(current=None)

Closes this handle. If the request is running, then a cancellation will be attempted first. All uses of a handle should be surrounded by a try/finally close block.

getRequest(current=None)

Returns the request object that was used to initialize this handle. Never null.

getResponse(current=None)

Returns a response if this handle has finished execution, otherwise returns null.

getStatus(current=None)

Returns a status object for the current execution.

This will likely be the same object that would be returned as a component of the Response value.

Never null.

ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
removeCallback(cb, current=None)

Remove callback for notifications.

class omero.cmd.HandlePrx

Bases: IcePy.ObjectPrx

Add a callback for notifications.

addCallback(cb, _ctx=None)
addCallback_async(_cb, cb, _ctx=None)
begin_addCallback(cb, _response=None, _ex=None, _sent=None, _ctx=None)
begin_cancel(_response=None, _ex=None, _sent=None, _ctx=None)
begin_close(_response=None, _ex=None, _sent=None, _ctx=None)
begin_getRequest(_response=None, _ex=None, _sent=None, _ctx=None)
begin_getResponse(_response=None, _ex=None, _sent=None, _ctx=None)
begin_getStatus(_response=None, _ex=None, _sent=None, _ctx=None)
begin_removeCallback(cb, _response=None, _ex=None, _sent=None, _ctx=None)
cancel(_ctx=None)
cancel_async(_cb, _ctx=None)
static checkedCast(proxy, facetOrCtx=None, _ctx=None)
close(_ctx=None)
close_async(_cb, _ctx=None)
end_addCallback(_r)
end_cancel(_r)
end_close(_r)
end_getRequest(_r)
end_getResponse(_r)
end_getStatus(_r)
end_removeCallback(_r)
getRequest(_ctx=None)
getRequest_async(_cb, _ctx=None)
getResponse(_ctx=None)
getResponse_async(_cb, _ctx=None)
getStatus(_ctx=None)
getStatus_async(_cb, _ctx=None)
removeCallback(cb, _ctx=None)
removeCallback_async(_cb, cb, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.LegalGraphTargets(request=None)

Bases: omero.cmd.Request

Graph requests typically allow only specific model object classes to be targeted. This request lists the legal targets for a given request. The request’s fields are ignored, only its class matters.

_ice_type = <IcePy.TypeInfo object at 0x114bd4e0>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.LegalGraphTargetsPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.LegalGraphTargetsResponse(targets=None)

Bases: omero.cmd.OK

A list of the legal targets for a graph request.

_ice_type = <IcePy.TypeInfo object at 0x114bd510>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.LegalGraphTargetsResponsePrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ListRequests

Bases: omero.cmd.Request

_ice_type = <IcePy.TypeInfo object at 0x10f7dd08>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ListRequestsPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ListRequestsRsp(list=None)

Bases: omero.cmd.OK

_ice_type = <IcePy.TypeInfo object at 0x10f7dd38>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ListRequestsRspPrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ManageImageBinaries(imageId=0, togglePixels=False, deletePyramid=False)

Bases: omero.cmd.Request

Queries and modifies the various binary artifacts which may be linked to an omero.model.Image.

This can be useful, e.g., after converting pre-OMERO-5 archived original files into omero.model.Fileset.

The command works in several stages:

1. loads an omero.model.Image by id, failing if none present. 2. renames Pixels file to ‘*_bak’ 3. deletes existing Pyramidfiles if present;

This command can be run multiple times with different settings to iteratively test if the migration is working.

_ice_type = <IcePy.TypeInfo object at 0x10f7df48>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ManageImageBinariesPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ManageImageBinariesResponse(filesetId=None, archivedFiles=None, pixelsPresent=False, pyramidPresent=False, archivedSize=0, pixelSize=0, pyramidSize=0, thumbnailSize=0)

Bases: omero.cmd.Response

Response from a ManageImageBinaries Request. If no action is requested, then the fields of this instance can be examined to see what would be done if requested.

_ice_type = <IcePy.TypeInfo object at 0x10f7df78>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ManageImageBinariesResponsePrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.OK

Bases: omero.cmd.Response

_ice_type = <IcePy.TypeInfo object at 0x39f1198>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.OKPrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.OriginalMetadataRequest(imageId=0)

Bases: omero.cmd.Request

Requests the file metadata to be loaded for a given image. This should handle both the pre-FS metadata in file annotations as well as loading the metadata directly from the FS files. A OriginalMetadataResponse will be returned under normal conditions, otherwise a ERR will be returned.

_ice_type = <IcePy.TypeInfo object at 0x10f7de58>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.OriginalMetadataRequestPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.OriginalMetadataResponse(filesetId=None, fileAnnotationId=None, globalMetadata=None, seriesMetadata=None)

Bases: omero.cmd.Response

Successful response for OriginalMetadataRequest. Contains both the global and the series metadata as maps. Only one of filesetId or filesetAnnotationId will be set. Pre-FS images will have filesetAnnotationId set; otherwise filesetId will be set.

_ice_type = <IcePy.TypeInfo object at 0x10f7de88>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.OriginalMetadataResponsePrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.PopStatus(limit=0, include=None, exclude=None)

Bases: omero.cmd.Request

_ice_type = <IcePy.TypeInfo object at 0x10f7dd68>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.PopStatusPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.PopStatusRsp(list=None)

Bases: omero.cmd.OK

_ice_type = <IcePy.TypeInfo object at 0x10f7dd98>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.PopStatusRspPrx

Bases: omero.cmd.OKPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Request

Bases: Ice.Object

_ice_type = <IcePy.TypeInfo object at 0x39f1120>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.RequestPrx

Bases: IcePy.ObjectPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ResetPasswordRequest(omename='', email='')

Bases: omero.cmd.Request

Requests a reset password for the given user.

examples: - omero.cmd.ResetPasswordRequest(omename, email) sends new password to the given user

_ice_type = <IcePy.TypeInfo object at 0x10f7dbb8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ResetPasswordRequestPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.ResetPasswordResponse

Bases: omero.cmd.Response

Successful response for ResetPasswordRequest. If no valid user with matching email is found, an ERR will be returned.

_ice_type = <IcePy.TypeInfo object at 0x10f7dbe8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ResetPasswordResponsePrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Response

Bases: Ice.Object

_ice_type = <IcePy.TypeInfo object at 0x39f1168>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.ResponsePrx

Bases: IcePy.ObjectPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.SendEmailRequest(subject='', body='', html=False, userIds=None, groupIds=None, extra=None, inactive=False, everyone=False)

Bases: omero.cmd.Request

Requests an email to be send to all users of the omero determines inactive users, an active members of given groups and/or specific users.

examples: - omero.cmd.SendEmailRequest(subject, body, everyone=True) sends message to everyone who has email set and is an active user - omero.cmd.SendEmailRequest(subject, body, everyone=True, inactive=True) sends message to everyone who has email set, even inactive users - omero.cmd.SendEmailRequest(subject, body, groupIds=[...], userIds=[...] ) sends email to active members of given groups and selected users - extra=[...] allows to set extra email address if not in DB

_ice_type = <IcePy.TypeInfo object at 0x114bd570>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.SendEmailRequestPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.SendEmailResponse(total=0, success=0, invalidusers=None, invalidemails=None)

Bases: omero.cmd.Response

Successful response for SendEmailRequest. Contains a list of invalid users that has no email address set. If no recipients or invalid users found, an ERR will be returned.

  • invalidusers is a list of userIds that email didn’t pass criteria

such as was empty or less then 5 characters - invalidemails is a list of email addresses that send email failed - total is a total number of email in the pull to be sent. - success is a number of emails that were sent successfully.

_ice_type = <IcePy.TypeInfo object at 0x114bd5a0>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.SendEmailResponsePrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Session

Bases: Glacier2.Session

Starting point for all command-based OMERO.blitz interaction.

_ice_type = <IcePy.TypeInfo object at 0x39f1360>
_op_submit = <IcePy.Operation object at 0x39f1378>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
submit_async(_cb, req, current=None)
class omero.cmd.SessionPrx

Bases: Glacier2.SessionPrx

begin_submit(req, _response=None, _ex=None, _sent=None, _ctx=None)
static checkedCast(proxy, facetOrCtx=None, _ctx=None)
end_submit(_r)
submit(req, _ctx=None)
submit_async(_cb, req, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.SkipHead(targetObjects=None, childOptions=None, dryRun=False, startFrom=None, request=None)

Bases: omero.cmd.GraphModify2

Perform a request skipping the top-most model objects in the graph. This permits operating upon the (possibly indirect) children of given objects. The arguments of this SkipHead request override those of the given request only until the targeted children are reached, except that if this SkipHead request’s dryRun is set to true then the dryRun override persists throughout the operation. The response from SkipHead is as from the given request.

_ice_type = <IcePy.TypeInfo object at 0x114bd450>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.SkipHeadPrx

Bases: omero.cmd.GraphModify2Prx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.State(_n, _v)

Bases: Ice.EnumBase

ACTIVE = ACTIVE
ALL = ALL
CANCELLED = CANCELLED
FAILURE = FAILURE
INACTIVE = INACTIVE
SUCCESS = SUCCESS
_enumerators = {0: ALL, 1: ACTIVE, 2: INACTIVE, 3: SUCCESS, 4: FAILURE, 5: CANCELLED}
classmethod valueOf(_n)
class omero.cmd.Status(source=None, category='', name='', flags=None, parameters=None, currentStep=0, steps=0, startTime=0, stepStartTimes=None, stepStopTimes=None, stopTime=0)

Bases: Ice.Object

_ice_type = <IcePy.TypeInfo object at 0x39f10d8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.StatusPrx

Bases: IcePy.ObjectPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Timing(steps=0, millisPerStep=0)

Bases: omero.cmd.Request

Diagnostic command which can be used to see the overhead of callbacks. The number of steps and the simulated workload can be specified.

_ice_type = <IcePy.TypeInfo object at 0x10f7de28>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.TimingPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.Unknown(category='', name='', parameters=None)

Bases: omero.cmd.ERR

_ice_type = <IcePy.TypeInfo object at 0x39f11f8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.UnknownPrx

Bases: omero.cmd.ERRPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.UpdateSessionTimeoutRequest(session='', timeToLive=None, timeToIdle=None)

Bases: omero.cmd.Request

Proposes a change to one or both of the timeToLive and timeToIdle properties of a live session. The session uuid cannot be null. If either other argument is null, it will be ignored. Otherwise, the long value will be interpreted as the the millisecond value which should be set. Non-administrators will not be able to reduce current values. No special response is returned, but an omero.cmd.OK counts as success.

_ice_type = <IcePy.TypeInfo object at 0x10f7dc18>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.UpdateSessionTimeoutRequestPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.UsedFilesRequest(imageId=0)

Bases: omero.cmd.Request

Request to determine the original files associated with the given image. The image must have an associated Pixels object. Different response objects are returned depending on if the image is FS or pre-FS.

_ice_type = <IcePy.TypeInfo object at 0x10f7deb8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.UsedFilesRequestPrx

Bases: omero.cmd.RequestPrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.UsedFilesResponse(binaryFilesThisSeries=None, binaryFilesOtherSeries=None, companionFilesThisSeries=None, companionFilesOtherSeries=None)

Bases: omero.cmd.Response

The used files associated with an FS image.

_ice_type = <IcePy.TypeInfo object at 0x10f7df18>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.UsedFilesResponsePreFs(archivedFiles=None, companionFiles=None, originalMetadataFiles=None)

Bases: omero.cmd.Response

The used files associated with a pre-FS image.

_ice_type = <IcePy.TypeInfo object at 0x10f7dee8>
ice_id(current=None)
ice_ids(current=None)
static ice_staticId()
class omero.cmd.UsedFilesResponsePreFsPrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)
class omero.cmd.UsedFilesResponsePrx

Bases: omero.cmd.ResponsePrx

static checkedCast(proxy, facetOrCtx=None, _ctx=None)
static uncheckedCast(proxy, facet=None)