| 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,
                       ome.util.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)  | 
ome.model.core.OriginalFile | 
RepositoryDao.findRepoFile(ServiceFactory sf,
            ome.util.SqlAction sql,
            String uuid,
            CheckedPath checked,
            String mimetype)
As  
RepositoryDao.findRepoFile(String, CheckedPath, String, Current) but
 can be called from within a transaction. | 
ome.model.core.OriginalFile | 
RepositoryDaoImpl.findRepoFile(ServiceFactory sf,
            ome.util.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<ome.model.core.OriginalFile> | 
RepositoryDaoImpl.getOriginalFiles(ServiceFactory sf,
                ome.util.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
 RepoRawFileStore 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,
       ome.util.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)  | 
ome.model.core.OriginalFile | 
RepositoryDao.register(String repoUuid,
        CheckedPath checked,
        String mimetype,
        ServiceFactory sf,
        ome.util.SqlAction sql)
Like {@link #register(String, CheckedPath, String, Ice.Current) but
 does not create a new transaction. 
 | 
ome.model.core.OriginalFile | 
RepositoryDaoImpl.register(String repoUuid,
        CheckedPath checked,
        String mimetype,
        ServiceFactory sf,
        ome.util.SqlAction sql)
Returned 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,
                  ome.util.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,
                  ome.util.SqlAction sql)  | 
protected List<ome.model.core.OriginalFile> | 
RepositoryDaoImpl.createOriginalFile(ServiceFactory sf,
                  ome.util.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,
               ome.util.SqlAction sql,
               EventContext effectiveEventContext)
Checks for the top-level user directory restriction before calling
  
PublicRepositoryI#makeCheckedDirs(LinkedList | 
protected void | 
PublicRepositoryI.makeCheckedDirs(LinkedList<CheckedPath> paths,
               boolean parents,
               org.hibernate.Session s,
               ServiceFactory sf,
               ome.util.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.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.