|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.io.nio.AbstractFileSystemService
ome.io.nio.OriginalFilesService
public class OriginalFilesService
Raw file service which provides access to FileBuffers
.
Field Summary |
---|
Fields inherited from class ome.io.nio.AbstractFileSystemService |
---|
FILES_PATH, PIXELS_PATH, ROOT_DEFAULT, THUMBNAILS_PATH |
Constructor Summary | |
---|---|
OriginalFilesService(String path)
Constructor |
Method Summary | |
---|---|
boolean |
exists(ome.model.core.OriginalFile file)
Returns whether or not an OriginalFile exists on disk. |
FileBuffer |
getFileBuffer(ome.model.core.OriginalFile file)
Returns FileBuffer based on OriginalFile path |
void |
removeFiles(List<Long> fileIds)
Removes files from data repository based on a parameterized List of Long file ids |
Methods inherited from class ome.io.nio.AbstractFileSystemService |
---|
createSubpath, getFilesPath, getPixelsPath, getThumbnailPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OriginalFilesService(String path)
path
- Method Detail |
---|
public FileBuffer getFileBuffer(ome.model.core.OriginalFile file)
file
-
public void removeFiles(List<Long> fileIds)
fileIds
- - Long file keys to be deleted
ome.conditions.ResourceError
- If deletion fails.public boolean exists(ome.model.core.OriginalFile file)
file
- The original file metadata.
|
||||||||||
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.