|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectIce.ObjectImpl
omero.grid._RepositoryDisp
ome.services.blitz.repo.PublicRepositoryI
public class PublicRepositoryI
An implementation of he PublicRepository interface
Field Summary |
---|
Fields inherited from class omero.grid._RepositoryDisp |
---|
__ids |
Constructor Summary | |
---|---|
PublicRepositoryI(File root,
long repoObjectId,
Executor executor,
ome.util.SqlAction sql,
Principal principal)
|
Method Summary | |
---|---|
boolean |
create(String path,
Ice.Current __current)
Create a file in the repository if one doesn't already exist. |
void |
delete(String path,
Ice.Current __current)
|
omero.api.RawFileStorePrx |
file(long fileId,
Ice.Current __current)
|
boolean |
fileExists(String path,
Ice.Current __current)
Return true if a file exists in the repository. |
String |
getThumbnail(String path,
Ice.Current __current)
Get (the path of) the thumbnail image for an image file on the repository. |
String |
getThumbnailByIndex(String path,
int imageIndex,
Ice.Current __current)
Get (the path of) the thumbnail image for an image file on the repository. |
protected List<omero.model.Pixels> |
importFile(File file,
String clientSessionUuid,
Map<Integer,omero.model.Image> imageMap)
|
List<omero.model.Image> |
importFileSet(omero.model.OriginalFile keyFile,
Ice.Current __current)
Import an image set's metadata. |
List<omero.model.OriginalFile> |
listFiles(String path,
omero.grid.RepositoryListConfig config,
Ice.Current __current)
|
List<omero.grid.FileSet> |
listFileSets(String path,
omero.grid.RepositoryListConfig config,
Ice.Current __current)
Get a list of those files as importable and non-importable list. |
omero.model.OriginalFile |
load(String path,
Ice.Current __current)
Interface methods yet TODO |
String |
mimetype(String path,
Ice.Current __current)
Get the mimetype for a file. |
omero.api.RawPixelsStorePrx |
pixels(String path,
Ice.Current __current)
|
omero.api.RawFileStorePrx |
read(String path,
Ice.Current __current)
|
omero.model.OriginalFile |
register(String path,
omero.RString mimetype,
Ice.Current __current)
Register an OriginalFile using its path |
List<omero.model.IObject> |
registerFileSet(omero.model.OriginalFile keyFile,
List<omero.model.Image> imageList,
Ice.Current __current)
Register the Images in a list of Images, a single image will be a one-element list |
omero.model.OriginalFile |
registerOriginalFile(omero.model.OriginalFile omeroFile,
Ice.Current __current)
Register an OriginalFile object |
void |
rename(String path,
Ice.Current __current)
|
omero.api.RenderingEnginePrx |
render(String path,
Ice.Current __current)
|
omero.model.OriginalFile |
root(Ice.Current __current)
|
omero.api.ThumbnailStorePrx |
thumbs(String path,
Ice.Current __current)
|
void |
transfer(String srcPath,
omero.grid.RepositoryPrx target,
String targetPath,
Ice.Current __current)
|
omero.api.RawFileStorePrx |
write(String path,
Ice.Current __current)
|
Methods inherited from class omero.grid._RepositoryDisp |
---|
___create, ___delete, ___file, ___fileExists, ___getThumbnail, ___getThumbnailByIndex, ___importFileSet, ___listFiles, ___listFileSets, ___load, ___mimetype, ___pixels, ___read, ___register, ___registerFileSet, ___registerOriginalFile, ___rename, ___render, ___root, ___thumbs, ___transfer, ___write, __dispatch, __read, __read, __write, __write, create, delete, file, fileExists, getThumbnail, getThumbnailByIndex, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, importFileSet, listFiles, listFileSets, load, mimetype, pixels, read, register, registerFileSet, registerOriginalFile, rename, render, root, thumbs, transfer, write |
Methods inherited from class Ice.ObjectImpl |
---|
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __collocDispatch, clone, ice_dispatch, ice_hash, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Ice.Object |
---|
__collocDispatch, clone, equals, ice_dispatch, ice_hash, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal |
Constructor Detail |
---|
public PublicRepositoryI(File root, long repoObjectId, Executor executor, ome.util.SqlAction sql, Principal principal) throws Exception
Exception
Method Detail |
---|
public omero.model.OriginalFile root(Ice.Current __current) throws omero.ServerError
omero.ServerError
public omero.model.OriginalFile register(String path, omero.RString mimetype, Ice.Current __current) throws omero.ServerError
path
- Absolute path of the file to be registered.mimetype
- Mimetype as an RString__current
- ice context.
omero.ServerError
public omero.model.OriginalFile registerOriginalFile(omero.model.OriginalFile omeroFile, Ice.Current __current) throws omero.ServerError
obj
- OriginalFile object.__current
- ice context.
omero.ServerError
public List<omero.model.IObject> registerFileSet(omero.model.OriginalFile keyFile, List<omero.model.Image> imageList, Ice.Current __current) throws omero.ServerError
filename
- The absolute path of the parent file.imageList
- A list of Image objects.params
- Map__current
- ice context.
omero.ServerError
public List<omero.model.Image> importFileSet(omero.model.OriginalFile keyFile, Ice.Current __current) throws omero.ServerError
id
- The id of the parent original file.__current
- ice context.
omero.ServerError
protected List<omero.model.Pixels> importFile(File file, String clientSessionUuid, Map<Integer,omero.model.Image> imageMap)
public void delete(String path, Ice.Current __current) throws omero.ServerError
omero.ServerError
public List<omero.model.OriginalFile> listFiles(String path, omero.grid.RepositoryListConfig config, Ice.Current __current) throws omero.ServerError
omero.ServerError
public List<omero.grid.FileSet> listFileSets(String path, omero.grid.RepositoryListConfig config, Ice.Current __current) throws omero.ServerError
path
- A path on a repositoryconfig
- A RepositoryListConfig defining the listing config.__current
- ice context.
omero.ServerError
public String mimetype(String path, Ice.Current __current) throws omero.ServerError
path
- A path on a repository.__current
- ice context.
omero.ServerError
public String getThumbnail(String path, Ice.Current __current) throws omero.ServerError
path
- A path on a repository.__current
- ice context.
omero.ServerError
public String getThumbnailByIndex(String path, int imageIndex, Ice.Current __current) throws omero.ServerError
path
- A path on a repository.imageIndex
- The index of an image in a multi-image file set.__current
- ice context.
omero.ServerError
public boolean fileExists(String path, Ice.Current __current) throws omero.ServerError
path
- A path on a repository.__current
- ice context.
omero.ServerError
public boolean create(String path, Ice.Current __current) throws omero.ServerError
path
- A path on a repository.__current
- ice context.
omero.ServerError
public omero.model.OriginalFile load(String path, Ice.Current __current) throws omero.ServerError
omero.ServerError
public omero.api.RawPixelsStorePrx pixels(String path, Ice.Current __current) throws omero.ServerError
omero.ServerError
public omero.api.RawFileStorePrx file(long fileId, Ice.Current __current) throws omero.ServerError
omero.ServerError
public omero.api.RawFileStorePrx read(String path, Ice.Current __current) throws omero.ServerError
omero.ServerError
public void rename(String path, Ice.Current __current) throws omero.ServerError
omero.ServerError
public omero.api.RenderingEnginePrx render(String path, Ice.Current __current) throws omero.ServerError
omero.ServerError
public omero.api.ThumbnailStorePrx thumbs(String path, Ice.Current __current) throws omero.ServerError
omero.ServerError
public void transfer(String srcPath, omero.grid.RepositoryPrx target, String targetPath, Ice.Current __current) throws omero.ServerError
omero.ServerError
public omero.api.RawFileStorePrx write(String path, Ice.Current __current) throws omero.ServerError
omero.ServerError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.