Version: 5.1.4-ice35-b55

OmeroBlitz Api
Home Previous Up Next Index

omero::api::RawFileStore

Overview

[ "ami", "amd" ] interface RawFileStore extends StatefulServiceInterface

Raw file gateway which provides access to the OMERO file repository. Note: methods on this service are protected by a "DOWNLOAD" restriction. See also RawFileStore.html

Operation Index

setFileId
This method manages the state of the service.
getFileId
Returns the current file id or null if none has been set.
read
size
truncate
write
exists
save

Operations

void setFileId(long fileId) throws ServerError

This method manages the state of the service. This method will throw a SecurityViolation if for the current user context either the file is not readable or a omero::constants::permissions:DOWNLOAD restriction is in place.

RLong getFileId() throws ServerError

Returns the current file id or null if none has been set.

::Ice::ByteSeq read(long position, int length) throws ServerError

long size() throws ServerError

bool truncate(long length) throws ServerError

void write(::Ice::ByteSeq buf, long position, int length) throws ServerError

bool exists() throws ServerError

model::OriginalFile save() throws ServerError


Home Previous Up Next Index