Package | Description |
---|---|
ome.formats | |
ome.formats.importer.util | |
ome.logic |
The central repository of implementations which will be accessible through this server.
|
ome.security |
JBoss and OMERO security handling
This includes classes that provide security for the execution and usage of the OMERO server on
a JBoss platform.
|
ome.security.basic |
Basic OMERO security contextual classes
Basic classes that provide security context objects necessary to secure the implementation of
the OMERO server on a JBoss platform.
|
ome.services.blitz.fire | |
ome.services.blitz.repo | |
ome.services.fulltext |
All necessary classes for background indexing of metadata and attached binary
files.
|
ome.services.pixeldata | |
ome.services.procs |
Internal process and process management
This includes interfaces and classes that provide thread process management for internal
processes critical to the operation of the OMERO server.
|
ome.services.scripts | |
ome.services.search |
Internal search implementation classes.
|
ome.services.sessions | |
ome.services.util |
Helper classes to support OMERO service beans
Instead of abstract classes, IOC methods and dependency injection is used to provide service
interception for the Service (binary) bean classes.
|
ome.tools.spring |
OMERO Server tools specific to Spring
Classes/Interfaces that implement AOP, Post-processing injection, session flushing,
and factory management.
|
omero.cmd |
Constructor and Description |
---|
OMEROMetadataStore(ServiceFactory factory,
SqlAction sql)
Creates a new instance.
|
Constructor and Description |
---|
TinyImportFixture(ServiceFactory services)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ServiceFactory |
HardWiredInterceptor.getServiceFactory(MethodInvocation mi) |
Modifier and Type | Method and Description |
---|---|
static void |
HardWiredInterceptor.initializeUserAttributes(MethodInvocation mi,
ServiceFactory sf,
Principal pr,
java.util.concurrent.atomic.AtomicBoolean reusedSession)
Adds the given environment context objects to the
ReflectiveMethodInvocation.getUserAttributes()
Map for lookup in subclasses |
Modifier and Type | Method and Description |
---|---|
Node |
NodeProvider.getManagerByUuid(java.lang.String managerUuid,
ServiceFactory sf)
Retrieves a given manager node.
|
Modifier and Type | Field and Description |
---|---|
protected ServiceFactory |
BasicSecuritySystem.sf |
Modifier and Type | Method and Description |
---|---|
Node |
NodeProviderInDb.getManagerByUuid(java.lang.String managerUuid,
ServiceFactory sf) |
Node |
NodeProviderInMemory.getManagerByUuid(java.lang.String managerUuid,
ServiceFactory sf) |
Node |
NodeProviderWrapper.getManagerByUuid(java.lang.String managerUuid,
ServiceFactory sf) |
static BasicSecuritySystem |
BasicSecuritySystem.selfConfigure(SessionManager sm,
ServiceFactory sf,
SessionCache cache)
Simplified factory method which generates all the security primitives
internally.
|
Constructor and Description |
---|
BasicSecuritySystem(OmeroInterceptor interceptor,
SystemTypes sysTypes,
CurrentDetails cd,
SessionManager sessionManager,
SessionProvider sessionProvider,
EventProvider eventProvider,
Roles roles,
ServiceFactory sf,
TokenHolder tokenHolder,
java.util.List<SecurityFilter> filters,
PolicyService policyService,
ACLVoter aclVoter)
Main public constructor for this
SecuritySystem implementation. |
EventProviderInDb(ServiceFactory sf)
Main public constructor for this
EventProvider implementation. |
Constructor and Description |
---|
AopContextInitializer(ServiceFactory sf,
Principal p,
java.util.concurrent.atomic.AtomicBoolean reusedSession) |
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. |
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 FsFile |
ManagedRepositoryI.expandTemplateRootOwnedPath(omero.sys.EventContext ctx,
ServiceFactory sf)
Expand the root-owned segment of the template path.
|
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) |
protected java.util.List<OriginalFile> |
RepositoryDaoImpl.getOriginalFiles(ServiceFactory sf,
SqlAction sql,
java.lang.String repoUuid,
CheckedPath checked) |
java.lang.String |
RepositoryDao.getUserInstitution(long userId,
ServiceFactory sf)
Get the current user's institution.
|
java.lang.String |
RepositoryDaoImpl.getUserInstitution(long userId,
ServiceFactory sf) |
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 |
PublicRepositoryI.makeDir(CheckedPath checked,
boolean parents,
org.hibernate.Session s,
ServiceFactory sf,
SqlAction sql,
EventContext effectiveEventContext) |
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
FullTextIndexer.doWork(org.hibernate.Session session,
ServiceFactory sf)
Deprecated.
Runs
FullTextIndexer.doIndexing(FullTextSession) within a Lucene transaction. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
PixelDataHandler.doWork(org.hibernate.Session session,
ServiceFactory sf)
Loads
PixelDataHandler.reps EventLog instances and returns them. |
protected Pixels |
PixelDataHandler.getPixels(java.lang.Long id,
ServiceFactory sf) |
void |
PixelDataHandler.handleEventLog(EventLog eventLog,
org.hibernate.Session session,
ServiceFactory sf)
Handles only single elements from the
PersistentEventLogLoader
in order to keep transactions short and safe. |
boolean |
PixelDataHandler.process(java.lang.Long id,
ServiceFactory sf,
org.hibernate.Session s)
Here we assume that our log loader will only return
us the proper types, since we are using the specific
type defined in this package.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Job> |
ProcessManager.Work.doWork(org.hibernate.Session session,
ServiceFactory sf) |
protected Job |
ProcessManager.Work.job(ServiceFactory sf,
long id) |
void |
ProcessManager.Work.startProcess(ServiceFactory sf,
long jobId) |
Modifier and Type | Method and Description |
---|---|
protected OriginalFile |
ScriptRepoHelper.addOrReplace(org.hibernate.Session session,
SqlAction sqlAction,
ServiceFactory sf,
RepoFile repoFile,
java.lang.Long old) |
omero.model.ScriptJob |
ScriptFinder.createJob(ServiceFactory sf)
Returns a fresh (unsaved)
ScriptJob which can be passed to
acquireProcessor for background processing. |
omero.model.OriginalFileI |
ScriptFinder.getFile(ServiceFactory sf) |
protected java.util.List<OriginalFile> |
ScriptFinder.loadScripts(ServiceFactory sf,
Parameters p)
Load all scripts that match the name, hash, and format for script
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
AnnotatedWith.doWork(org.hibernate.Session session,
ServiceFactory sf) |
java.lang.Object |
Complement.doWork(org.hibernate.Session session,
ServiceFactory sf) |
java.lang.Object |
FullText.doWork(org.hibernate.Session s,
ServiceFactory sf) |
java.lang.Object |
HqlQuery.doWork(org.hibernate.Session session,
ServiceFactory sf) |
java.lang.Object |
Intersection.doWork(org.hibernate.Session session,
ServiceFactory sf) |
java.lang.Object |
SimilarTerms.doWork(org.hibernate.Session s,
ServiceFactory sf) |
java.lang.Object |
TagsAndGroups.doWork(org.hibernate.Session session,
ServiceFactory sf) |
java.lang.Object |
Union.doWork(org.hibernate.Session session,
ServiceFactory sf) |
Modifier and Type | Method and Description |
---|---|
Session |
SessionProvider.executeUpdate(ServiceFactory sf,
Session session,
java.lang.String uuid,
long userId,
java.lang.Long sudoerId) |
Session |
SessionProviderInDb.executeUpdate(ServiceFactory sf,
Session session,
java.lang.String uuid,
long userId,
java.lang.Long sudoerId) |
Session |
SessionProviderInMemory.executeUpdate(ServiceFactory sf,
Session session,
java.lang.String uuid,
long userId,
java.lang.Long sudoerId) |
Session |
SessionProviderWrapper.executeUpdate(ServiceFactory sf,
Session session,
java.lang.String uuid,
long userId,
java.lang.Long sudoerId) |
Session |
SessionProvider.findSessionById(long id,
ServiceFactory sf)
Retrieves a session by ID.
|
Session |
SessionProviderInDb.findSessionById(long id,
ServiceFactory sf) |
Session |
SessionProviderInMemory.findSessionById(long id,
ServiceFactory sf) |
Session |
SessionProviderWrapper.findSessionById(long id,
ServiceFactory sf) |
java.lang.Long |
SessionProvider.findSessionIdByUuid(java.lang.String uuid,
ServiceFactory sf) |
java.lang.Long |
SessionProviderInDb.findSessionIdByUuid(java.lang.String uuid,
ServiceFactory sf) |
java.lang.Long |
SessionProviderInMemory.findSessionIdByUuid(java.lang.String uuid,
ServiceFactory sf) |
java.lang.Long |
SessionProviderWrapper.findSessionIdByUuid(java.lang.String uuid,
ServiceFactory sf) |
Modifier and Type | Method and Description |
---|---|
X |
Executor.Work.doWork(org.hibernate.Session session,
ServiceFactory sf)
Work method.
|
Modifier and Type | Class and Description |
---|---|
class |
InternalServiceFactory
subclass of ome.system.ServiceFactory which retrieves unmanaged ("internal")
service- instances. |
class |
ManagedServiceFactory
subclass of ome.system.ServiceFactory which retrieves managed
service- instances. |
Modifier and Type | Method and Description |
---|---|
ServiceFactory |
Helper.getServiceFactory() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
HandleI.steps(SqlAction sql,
org.hibernate.Session session,
ServiceFactory sf) |
Constructor and Description |
---|
Helper(omero.cmd.Request request,
omero.cmd.Status status,
SqlAction sql,
org.hibernate.Session session,
ServiceFactory sf) |
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.