Package | Description |
---|---|
ome.services.blitz.repo |
Modifier and Type | Field and Description |
---|---|
CheckedPath |
ManagedImportLocationI.logFile |
Modifier and Type | Field and Description |
---|---|
java.util.List<CheckedPath> |
ManagedImportLocationI.checkedPaths |
Modifier and Type | Method and Description |
---|---|
protected CheckedPath |
PublicRepositoryI.checkPath(java.lang.String path,
omero.model.ChecksumAlgorithm checksumAlgorithm,
Ice.Current curr)
Create a new
CheckedPath object based on the given user input. |
CheckedPath |
CheckedPath.child(java.lang.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,
java.lang.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,
java.lang.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,
java.lang.String mode,
Ice.Current current)
Find the given path in the DB or create.
|
protected omero.model.OriginalFile |
PublicRepositoryI.findOrCreateInDb(CheckedPath checked,
java.lang.String mode,
Ice.Current curr) |
protected omero.model.OriginalFile |
PublicRepositoryI.findOrCreateInDb(CheckedPath checked,
java.lang.String mode,
java.lang.String mimetype,
Ice.Current curr) |
OriginalFile |
RepositoryDao.findRepoFile(ServiceFactory sf,
SqlAction sql,
java.lang.String uuid,
CheckedPath checked,
java.lang.String mimetype)
As
RepositoryDao.findRepoFile(String, CheckedPath, String, Current) but
can be called from within a transaction. |
OriginalFile |
RepositoryDaoImpl.findRepoFile(ServiceFactory sf,
SqlAction sql,
java.lang.String uuid,
CheckedPath checked,
java.lang.String mimetype) |
omero.model.OriginalFile |
RepositoryDao.findRepoFile(java.lang.String uuid,
CheckedPath checked,
java.lang.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(java.lang.String uuid,
CheckedPath checked,
java.lang.String mimetype,
Ice.Current current) |
protected java.util.List<OriginalFile> |
RepositoryDaoImpl.getOriginalFiles(ServiceFactory sf,
SqlAction sql,
java.lang.String repoUuid,
CheckedPath checked) |
java.util.List<omero.model.OriginalFile> |
RepositoryDao.getOriginalFiles(java.lang.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. |
java.util.List<omero.model.OriginalFile> |
RepositoryDaoImpl.getOriginalFiles(java.lang.String repoUuid,
CheckedPath checked,
Ice.Current current) |
RawFileStore |
RepositoryDao.getRawFileStore(long fileId,
CheckedPath checked,
java.lang.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,
java.lang.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(java.lang.String repoUuid,
CheckedPath checked,
java.lang.String mimetype,
Ice.Current current)
Register an OriginalFile object
|
omero.model.OriginalFile |
RepositoryDaoImpl.register(java.lang.String repoUuid,
CheckedPath checked,
java.lang.String mimetype,
Ice.Current current) |
OriginalFile |
RepositoryDao.register(java.lang.String repoUuid,
CheckedPath checked,
java.lang.String mimetype,
ServiceFactory sf,
SqlAction sql,
org.hibernate.Session session)
Like
RepositoryDao.register(String, CheckedPath, String, Ice.Current) but
does not create a new transaction. |
OriginalFile |
RepositoryDaoImpl.register(java.lang.String repoUuid,
CheckedPath checked,
java.lang.String mimetype,
ServiceFactory sf,
SqlAction sql,
org.hibernate.Session session)
Returns original file object is "live" within the Hibernate session.
|
omero.RMap |
RepositoryDao.treeList(java.lang.String repoUuid,
CheckedPath checked,
Ice.Current __current) |
omero.RMap |
RepositoryDaoImpl.treeList(java.lang.String repoUuid,
CheckedPath checked,
Ice.Current current) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryDao.createOrFixUserDir(java.lang.String uuid,
java.util.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(java.lang.String repoUuid,
java.util.List<CheckedPath> checkedPaths,
org.hibernate.Session s,
ServiceFactory sf,
SqlAction sql) |
protected java.util.List<OriginalFile> |
RepositoryDaoImpl.createOriginalFile(ServiceFactory sf,
SqlAction sql,
java.lang.String repoUuid,
java.util.List<CheckedPath> checked,
omero.model.ChecksumAlgorithm checksumAlgorithm,
java.lang.String mimetype,
org.hibernate.Session session)
Primary location for creating original files from a
CheckedPath
instance. |
protected void |
ManagedRepositoryI.makeCheckedDirs(java.util.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(java.util.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,
java.util.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,
java.util.List<CheckedPath> dirs,
boolean parents,
Ice.Current __current) |
omero.model.Fileset |
RepositoryDao.saveFileset(java.lang.String repoUuid,
omero.model.Fileset fs,
omero.model.ChecksumAlgorithm checksumAlgorithm,
java.util.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(java.lang.String repoUuid,
omero.model.Fileset _fs,
omero.model.ChecksumAlgorithm checksumAlgorithm,
java.util.List<CheckedPath> paths,
Ice.Current current) |
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.