Package | Description |
---|---|
ome.services.blitz.repo |
Modifier and Type | Field and Description |
---|---|
CheckedPath |
ManagedImportLocationI.logFile |
Modifier and Type | Field and Description |
---|---|
List<CheckedPath> |
ManagedImportLocationI.checkedPaths |
Modifier and Type | Method and Description |
---|---|
protected CheckedPath |
PublicRepositoryI.checkPath(String path,
omero.model.ChecksumAlgorithm checksumAlgorithm,
Ice.Current curr)
Create a new
CheckedPath object based on the given user input. |
CheckedPath |
CheckedPath.child(String name)
Returns a new
CheckedPath that has the given path appended
to the end of this instances path. |
CheckedPath |
ManagedImportLocationI.getLogFile()
Return the server-side
CheckedPath instance which can be used
for writing a log file for a fileset. |
CheckedPath |
ManagedImportLocationI.getTarget()
Return the server-side
CheckedPath instance which can be passed to
a Bio-Formats reader. |
CheckedPath |
CheckedPath.mustEdit() |
CheckedPath |
CheckedPath.mustExist()
Checks for existence of the original path, throwing an exception if
not present.
|
CheckedPath |
CheckedPath.parent()
Returns a new
CheckedPath using File.getParent() and
passing in all other values. |
Modifier and Type | Method and Description |
---|---|
protected void |
RepositoryDaoImpl.canWriteParentDirectory(ServiceFactory sf,
SqlAction sql,
String repoUuid,
CheckedPath parent)
Throw a
SecurityViolation if the current
context cannot write to the parent directory. |
protected omero.api.RawFileStorePrx |
PublicRepositoryI.createRepoRFS(CheckedPath checked,
String mode,
Ice.Current __current)
Create, initialize, and register an
RepoRawFileStoreI
with the proper setting (read or write). |
protected omero.model.OriginalFile |
PublicRepositoryI.findInDb(CheckedPath checked,
String mode,
Ice.Current current)
Find the given path in the DB or create.
|
protected omero.model.OriginalFile |
PublicRepositoryI.findOrCreateInDb(CheckedPath checked,
String mode,
Ice.Current curr) |
protected omero.model.OriginalFile |
PublicRepositoryI.findOrCreateInDb(CheckedPath checked,
String mode,
String mimetype,
Ice.Current curr) |
OriginalFile |
RepositoryDao.findRepoFile(ServiceFactory sf,
SqlAction sql,
String uuid,
CheckedPath checked,
String mimetype)
As
RepositoryDao.findRepoFile(String, CheckedPath, String, Current) but
can be called from within a transaction. |
OriginalFile |
RepositoryDaoImpl.findRepoFile(ServiceFactory sf,
SqlAction sql,
String uuid,
CheckedPath checked,
String mimetype) |
omero.model.OriginalFile |
RepositoryDao.findRepoFile(String uuid,
CheckedPath checked,
String mimetype,
Ice.Current current)
Delegate to
SqlAction.findRepoFile(String, String, String, String)
for looking up the id of the file, and then load it normally via
IQuery. |
omero.model.OriginalFile |
RepositoryDaoImpl.findRepoFile(String uuid,
CheckedPath checked,
String mimetype,
Ice.Current current) |
protected List<OriginalFile> |
RepositoryDaoImpl.getOriginalFiles(ServiceFactory sf,
SqlAction sql,
String repoUuid,
CheckedPath checked) |
List<omero.model.OriginalFile> |
RepositoryDao.getOriginalFiles(String repoUuid,
CheckedPath checked,
Ice.Current current)
Return a non-null, possibly empty list of
OriginalFile elements
which are accessible to the given user at the given path. |
List<omero.model.OriginalFile> |
RepositoryDaoImpl.getOriginalFiles(String repoUuid,
CheckedPath checked,
Ice.Current current) |
RawFileStore |
RepositoryDao.getRawFileStore(long fileId,
CheckedPath checked,
String mode,
Ice.Current current)
Create a
RawFileBean (i.e. an implementation of
RawFileStore which can be passed to
RepoRawFileStoreI for performing internal functions. |
RawFileStore |
RepositoryDaoImpl.getRawFileStore(long fileId,
CheckedPath checked,
String mode,
Ice.Current current) |
protected void |
RepositoryDaoImpl.internalMkdir(CheckedPath file)
This method should only be used by the register public method in order to
guarantee that the DB is kept in sync with the file system.
|
void |
PublicRepositoryI.makeDir(CheckedPath checked,
boolean parents,
org.hibernate.Session s,
ServiceFactory sf,
SqlAction sql,
EventContext effectiveEventContext) |
omero.model.OriginalFile |
RepositoryDao.register(String repoUuid,
CheckedPath checked,
String mimetype,
Ice.Current current)
Register an OriginalFile object
|
omero.model.OriginalFile |
RepositoryDaoImpl.register(String repoUuid,
CheckedPath checked,
String mimetype,
Ice.Current current) |
OriginalFile |
RepositoryDao.register(String repoUuid,
CheckedPath checked,
String mimetype,
ServiceFactory sf,
SqlAction sql)
Like
RepositoryDao.register(String, CheckedPath, String, Ice.Current) but
does not create a new transaction. |
OriginalFile |
RepositoryDaoImpl.register(String repoUuid,
CheckedPath checked,
String mimetype,
ServiceFactory sf,
SqlAction sql)
Returns original file object is "live" within the Hibernate session.
|
omero.RMap |
RepositoryDao.treeList(String repoUuid,
CheckedPath checked,
Ice.Current __current) |
omero.RMap |
RepositoryDaoImpl.treeList(String repoUuid,
CheckedPath checked,
Ice.Current current) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryDao.createOrFixUserDir(String uuid,
List<CheckedPath> path,
org.hibernate.Session s,
ServiceFactory sf,
SqlAction sql)
Checks that the given
CheckedPath objects exist (via
RepositoryDao.findRepoFile(String, CheckedPath, String, Ice.Current) )
and are in the "user" group. |
void |
RepositoryDaoImpl.createOrFixUserDir(String repoUuid,
List<CheckedPath> checkedPaths,
org.hibernate.Session s,
ServiceFactory sf,
SqlAction sql) |
protected List<OriginalFile> |
RepositoryDaoImpl.createOriginalFile(ServiceFactory sf,
SqlAction sql,
String repoUuid,
List<CheckedPath> checked,
omero.model.ChecksumAlgorithm checksumAlgorithm,
String mimetype)
Primary location for creating original files from a
CheckedPath
instance. |
protected void |
ManagedRepositoryI.makeCheckedDirs(LinkedList<CheckedPath> paths,
boolean parents,
org.hibernate.Session s,
ServiceFactory sf,
SqlAction sql,
EventContext effectiveEventContext)
Checks for the top-level user directory restriction before calling
PublicRepositoryI.makeCheckedDirs(LinkedList, boolean, Session, ServiceFactory, SqlAction, ome.system.EventContext) |
protected void |
PublicRepositoryI.makeCheckedDirs(LinkedList<CheckedPath> paths,
boolean parents,
org.hibernate.Session s,
ServiceFactory sf,
SqlAction sql,
EventContext effectiveEventContext)
Internal method to be used by subclasses to perform any extra checks on
the listed of
CheckedPath instances before allowing the creation
of directories. |
void |
RepositoryDao.makeDirs(PublicRepositoryI repo,
List<CheckedPath> dirs,
boolean parents,
Ice.Current c)
Create a number of directories in a single transaction, using the
PublicRepositoryI instance as a callback for implementation
specific logic. |
void |
RepositoryDaoImpl.makeDirs(PublicRepositoryI repo,
List<CheckedPath> dirs,
boolean parents,
Ice.Current __current) |
omero.model.Fileset |
RepositoryDao.saveFileset(String repoUuid,
omero.model.Fileset fs,
omero.model.ChecksumAlgorithm checksumAlgorithm,
List<CheckedPath> paths,
Ice.Current current)
Fill the various fields of the
Fileset and then save the
entire instance into the database. |
omero.model.Fileset |
RepositoryDaoImpl.saveFileset(String repoUuid,
omero.model.Fileset _fs,
omero.model.ChecksumAlgorithm checksumAlgorithm,
List<CheckedPath> paths,
Ice.Current current) |
Version: 5.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.