Package | Description |
---|---|
ome.api |
Contains the central verbs of the Omero System.
|
ome.api.local |
Non-client service API for OMERO
This includes interfaces for the local administration of the OMERO server.
|
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.security.sharing | |
ome.services |
Base services package for OMERO API services
This includes classes that implement OMERO API services described as interfaces in the
OMERO Common component.
|
ome.services.blitz.impl | |
ome.services.delete |
Implementations of the ome.api.IDelete service.
|
ome.services.graphs |
Server classes for handling complicated graphs of model objects.
|
ome.services.sessions | |
ome.system |
Provides the necessary container structure for the entire Omero system.
|
omero.cmd | |
omero.util |
Modifier and Type | Method and Description |
---|---|
EventContext |
StatefulServiceInterface.getCurrentEventContext()
Returns the current
EventContext for this instance. |
EventContext |
IAdmin.getEventContext()
returns an implementation of
EventContext loaded with the
security for the current user and thread. |
Modifier and Type | Method and Description |
---|---|
EventContext |
LocalAdmin.getEventContextQuiet()
Like
IAdmin.getEventContext() but will not reload the context. |
Modifier and Type | Method and Description |
---|---|
EventContext |
AdminImpl.getEventContext() |
EventContext |
AdminImpl.getEventContextQuiet() |
Modifier and Type | Method and Description |
---|---|
EventContext |
SecuritySystem.getEventContext()
Calls
SecuritySystem.getEventContext(boolean) with a false as "refresh". |
EventContext |
SecuritySystemHolder.getEventContext() |
EventContext |
SecuritySystem.getEventContext(boolean refresh)
If refresh is false, returns the current
EventContext stored
in the session. |
EventContext |
SecuritySystemHolder.getEventContext(boolean refresh) |
Modifier and Type | Method and Description |
---|---|
void |
SecurityFilter.enable(org.hibernate.Session sess,
EventContext ec)
Enables this filter with the settings from this filter.
|
void |
SecurityFilterHolder.enable(org.hibernate.Session sess,
EventContext ec) |
boolean |
SecurityFilter.passesFilter(org.hibernate.Session session,
ome.model.internal.Details d,
EventContext c)
tests that the
Details argument passes the security test that
this filter defines. |
boolean |
SecurityFilterHolder.passesFilter(org.hibernate.Session s,
ome.model.internal.Details d,
EventContext c) |
Modifier and Type | Class and Description |
---|---|
class |
BasicEventContext
EventContext implementation for use within the security system. |
static class |
BasicSecurityWiring.CloseOnNoSessionContext |
Modifier and Type | Method and Description |
---|---|
EventContext |
CurrentDetails.getCurrentEventContext()
Public view on the data contained here.
|
EventContext |
BasicACLVoter.getEventContext() |
EventContext |
BasicSecuritySystem.getEventContext() |
EventContext |
BasicSecuritySystem.getEventContext(boolean refresh) |
Modifier and Type | Method and Description |
---|---|
protected Collection<Long> |
AllGroupsSecurityFilter.configGroup(EventContext ec,
List<Long> list) |
void |
AllGroupsSecurityFilter.enable(org.hibernate.Session sess,
EventContext ec)
Since we assume that the group is "-1" for this method, we have to pass
in lists of all groups as we did before group permissions (~4.2).
|
void |
OneGroupSecurityFilter.enable(org.hibernate.Session sess,
EventContext ec) |
boolean |
AbstractSecurityFilter.isAdminOrPi(EventContext c) |
boolean |
AbstractSecurityFilter.isNonPrivate(EventContext c) |
boolean |
AbstractSecurityFilter.isShare(EventContext c) |
boolean |
AllGroupsSecurityFilter.passesFilter(org.hibernate.Session session,
ome.model.internal.Details d,
EventContext c)
tests that the
Details argument passes the security test that
this filter defines. |
boolean |
OneGroupSecurityFilter.passesFilter(org.hibernate.Session session,
ome.model.internal.Details d,
EventContext c)
tests that the
Details argument passes the security test that
this filter defines. |
Constructor and Description |
---|
BasicEventContext(Principal p,
SessionStats stats,
EventContext ec)
Copy-constructor to not have to allow the mutator
SimpleEventContext.copy(EventContext)
or BasicEventContext.copyContext(EventContext) out of the EventContext
hierarchy. |
Modifier and Type | Method and Description |
---|---|
EventContext |
SharingSecuritySystem.getEventContext() |
EventContext |
SharingSecuritySystem.getEventContext(boolean refresh) |
Modifier and Type | Method and Description |
---|---|
EventContext |
AbstractStatefulBean.getCurrentEventContext() |
EventContext |
RenderingBean.getCurrentEventContext()
Implemented as specified by the
RenderingEngine interface. |
EventContext |
ThumbnailBean.getCurrentEventContext() |
Modifier and Type | Method and Description |
---|---|
EventContext |
ServiceFactoryI.getEventContext()
Doesn't take current into account
|
EventContext |
ServiceFactoryI.getEventContext(Ice.Current current)
Takes current into account
|
Modifier and Type | Method and Description |
---|---|
int |
Deletion.start(EventContext ec,
ome.util.SqlAction sql,
org.hibernate.Session session,
String type,
long id,
Map<String,String> options)
Returns the number of steps that are available.
|
Modifier and Type | Field and Description |
---|---|
EventContext |
GraphStep.ec
An event context which has been initialized for a particular group, i.e.
|
Modifier and Type | Method and Description |
---|---|
QueryBuilder |
BaseGraphSpec.chgrpQuery(EventContext ec,
String table,
GraphOpts opts) |
QueryBuilder |
GraphSpec.chgrpQuery(EventContext ec,
String table,
GraphOpts opts)
Return a
QueryBuilder which has been properly initialized to take the parameters "id"
and "grp" and then have QueryBuilder.query(Session) called. |
QueryBuilder |
LightSourceGraphSpec.chgrpQuery(EventContext ec,
String table,
GraphOpts opts) |
QueryBuilder |
BaseGraphSpec.chmodQuery(EventContext ec,
String table,
GraphOpts opts) |
QueryBuilder |
GraphSpec.chmodQuery(EventContext ec,
String table,
GraphOpts opts) |
QueryBuilder |
BaseGraphSpec.deleteQuery(EventContext ec,
String table,
GraphOpts opts) |
QueryBuilder |
GraphSpec.deleteQuery(EventContext ec,
String table,
GraphOpts opts) |
QueryBuilder |
RenderingDefGraphSpec.deleteQuery(EventContext ec,
String table,
GraphOpts opts)
Uses direct SQL in order to workaround any security filters
which may be in place since rdefs are considered outside of
the security system.
|
void |
BaseGraphSpec.permissionsClause(EventContext ec,
QueryBuilder qb,
boolean sqlQuery)
Appends a clause to the
QueryBuilder based on the current user. |
void |
GraphOpts.push(GraphOpts.Op op,
boolean modified,
EventContext ec)
Adds the given operation to the current list if the user
has permissions to do so.
|
void |
GraphEntry.push(GraphOpts opts,
EventContext ec) |
void |
GraphStep.setEventContext(EventContext ec) |
Constructor and Description |
---|
GraphState(EventContext ec,
GraphStepFactory factory,
ome.util.SqlAction sql,
org.hibernate.Session session,
GraphSpec spec) |
Modifier and Type | Interface and Description |
---|---|
interface |
SessionContext
Extends
EventContext to hold a Session . |
Modifier and Type | Class and Description |
---|---|
class |
SessionContextImpl |
Modifier and Type | Method and Description |
---|---|
EventContext |
SessionManager.getEventContext(Principal principal)
Provides a partial
EventContext for the current Session . |
EventContext |
SessionManagerImpl.getEventContext(Principal principal) |
EventContext |
SessionManager.reload(String uuid)
Similar to
SessionManager.getEventContext(Principal) but uses the internal
reload logic to get a fresh representation of the context. |
EventContext |
SessionManagerImpl.reload(String uuid) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleEventContext
simple, non-thread-safe, serializable
EventContext |
Modifier and Type | Method and Description |
---|---|
boolean |
PreferenceContext.canRead(EventContext ec,
String key) |
protected void |
SimpleEventContext.copy(EventContext ec)
Copies all values directly from the given instance into this instance.
|
Constructor and Description |
---|
SimpleEventContext(EventContext ec)
copy constructor.
|
Modifier and Type | Method and Description |
---|---|
EventContext |
Helper.getEventContext()
Provides an
EventContext instance without reloading the session,
via LocalAdmin.getEventContextQuiet() . |
Modifier and Type | Method and Description |
---|---|
static omero.sys.EventContext |
IceMapper.convert(EventContext ctx) |
Version: 4.4.12-ice34-b116
Copyright © 2014 The University of Dundee & Open Microscopy Environment. All Rights Reserved.