public class DefaultOMEROSession extends Object implements OMEROSession
| Constructor and Description |
|---|
DefaultOMEROSession(OMEROLocation credentials,
client c,
OMEROService omeroService) |
DefaultOMEROSession(OMEROLocation credentials,
OMEROService omeroService) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
omero.api.RawPixelsStorePrx |
createPixels(OMEROFormat.Metadata meta)
Obtains a raw pixels store for writing to a new image which will be
associated with the given metadata.
|
client |
getClient()
Gets the
omero.client associated with this OMEROSession |
ExperimenterData |
getExperimenter()
Gets the
Experimenter associated with this OMEROSession |
Gateway |
getGateway()
Gets the
Gateway associated with this OMEROSession |
SecurityContext |
getSecurityContext()
Gets the
SecurityContext associated with this OMEROSession |
omero.api.ServiceFactoryPrx |
getSession()
Gets the
ServiceFactoryPrx associated with this OMEROSession |
String |
getSessionID()
Gets the session ID associated with this OMEROSession
|
Image |
loadImage(OMEROFormat.Metadata meta)
Gets an OMERO
Image descriptor, loading remotely as needed. |
String |
loadImageName(OMEROFormat.Metadata meta)
Gets the metadata's associated image name, loading remotely as needed.
|
Pixels |
loadPixels(OMEROFormat.Metadata meta)
Gets an OMERO
Pixels descriptor, loading remotely as needed. |
long |
loadPixelsID(OMEROFormat.Metadata meta)
Gets the metadata's associated pixels ID, loading remotely as needed.
|
omero.api.RawPixelsStorePrx |
openPixels(OMEROFormat.Metadata meta)
Obtains a raw pixels store for reading from the pixels associated with the
given metadata.
|
public DefaultOMEROSession(OMEROLocation credentials, OMEROService omeroService) throws ServerError, Glacier2.PermissionDeniedException, Glacier2.CannotCreateSessionException
ServerErrorGlacier2.PermissionDeniedExceptionGlacier2.CannotCreateSessionExceptionpublic DefaultOMEROSession(OMEROLocation credentials, client c, OMEROService omeroService) throws ServerError, Glacier2.PermissionDeniedException, Glacier2.CannotCreateSessionException
ServerErrorGlacier2.PermissionDeniedExceptionGlacier2.CannotCreateSessionExceptionpublic client getClient()
OMEROSessionomero.client associated with this OMEROSessiongetClient in interface OMEROSessionpublic omero.api.ServiceFactoryPrx getSession()
OMEROSessionServiceFactoryPrx associated with this OMEROSessiongetSession in interface OMEROSessionpublic SecurityContext getSecurityContext()
OMEROSessionSecurityContext associated with this OMEROSessiongetSecurityContext in interface OMEROSessionpublic ExperimenterData getExperimenter()
OMEROSessionExperimenter associated with this OMEROSessiongetExperimenter in interface OMEROSessionpublic Gateway getGateway()
OMEROSessionGateway associated with this OMEROSessiongetGateway in interface OMEROSessionpublic String getSessionID()
OMEROSessiongetSessionID in interface OMEROSessionpublic Pixels loadPixels(OMEROFormat.Metadata meta) throws ServerError
OMEROSessionPixels descriptor, loading remotely as needed.loadPixels in interface OMEROSessionServerErrorpublic Image loadImage(OMEROFormat.Metadata meta) throws ServerError
OMEROSessionImage descriptor, loading remotely as needed.loadImage in interface OMEROSessionServerErrorpublic long loadPixelsID(OMEROFormat.Metadata meta) throws ServerError
OMEROSessionloadPixelsID in interface OMEROSessionServerErrorpublic String loadImageName(OMEROFormat.Metadata meta) throws ServerError
OMEROSessionloadImageName in interface OMEROSessionServerErrorpublic omero.api.RawPixelsStorePrx openPixels(OMEROFormat.Metadata meta) throws ServerError
OMEROSessionopenPixels in interface OMEROSessionServerErrorpublic omero.api.RawPixelsStorePrx createPixels(OMEROFormat.Metadata meta) throws ServerError, FormatException
OMEROSessioncreatePixels in interface OMEROSessionServerErrorFormatExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface OMEROSessionCopyright © 2014–2022 ImageJ. All rights reserved.