| Package | Description | 
|---|---|
| ome.api | 
 Contains the central verbs of the Omero System. 
 | 
| ome.model.annotations | |
| ome.model.meta | |
| 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.sessions | |
| ome.services.sharing | 
 ome.api.IShare support infrastructure. 
 | 
| ome.system | 
 Provides the necessary container structure for the entire Omero system. 
 | 
| omero.cmd.admin | 
| Modifier and Type | Method and Description | 
|---|---|
Session | 
ISession.createSession(Principal principal,
             String credentials)
Creates a new session and returns it to the user. 
 | 
Session | 
ISession.createSessionWithTimeout(Principal principal,
                        long timeToLiveMilliseconds)
 | 
Session | 
ISession.createSessionWithTimeouts(Principal principal,
                         long timeToLiveMilliseconds,
                         long timeToIdleMilliseconds)
 | 
Session | 
ISession.createUserSession(long timeToLiveMilliseconds,
                 long timeToIdleMillisecond,
                 String defaultGroup)
Allows a user to open up another session for him/herself with the given
 defaults without needing to re-enter password. 
 | 
Session | 
ISession.getSession(String sessionUuid)
Retrieves the session associated with this uuid, updating the last access
 time as well. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Session> | 
IShare.getMemberShares(boolean onlyActive)
Gets all shares where current  
Experimenter is a member. | 
Set<Session> | 
IShare.getMemberSharesFor(Experimenter user,
                  boolean onlyActive)
Gets all shares where given  
Experimenter is a member. | 
List<Session> | 
ISession.getMyOpenAgentSessions(String agent)
Like  
ISession.getMyOpenSessions() but returns only those sessions
 with the given agent string. | 
List<Session> | 
ISession.getMyOpenClientSessions()
Like  
ISession.getMyOpenSessions() but returns only those sessions
 started by official OMERO clients. | 
List<Session> | 
ISession.getMyOpenSessions()
Returns a list of open sessions for the current user. 
 | 
Set<Session> | 
IShare.getOwnShares(boolean onlyActive)
Gets all owned shares for the current  
Experimenter | 
Set<Session> | 
IShare.getSharesOwnedBy(Experimenter user,
                boolean onlyActive)
Gets all shares owned by the given  
Experimenter. | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
ISession.closeSession(Session session)
Closes session and releases all resources. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Session | 
SessionAnnotationLink.parent()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SessionAnnotationLink.link(Session parent,
    Annotation child)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Share  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Session | 
Event.session  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Set<Session> | 
Node.sessions  | 
| Modifier and Type | Method and Description | 
|---|---|
Session | 
Event.getSession()
Many-to-one field ome.model.meta.Event.session (ome.model.meta.Session) 
 | 
Session | 
Session.newInstance()  | 
Session | 
Session.proxy()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Set<Session> | 
Node.getSessions()
returns sessions . 
 | 
Iterator<Session> | 
Node.iterateSessions()
should be used rather than accessing the sessions set directly. 
 | 
Collection<Session> | 
Node.unmodifiableSessions()
Returns an unmodifiable collection-view 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Node.addSession(Session target)
use instead of setSessions . 
 | 
void | 
Node.removeSession(Session target)
removes a single element from this set and makes the inverse call on ome.model.meta.Session 
 | 
void | 
Event.setSession(Session session)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Node.addSessionSet(Collection<Session> targets)
use like addSession. 
 | 
void | 
Node.removeSessionSet(Collection<Session> targets)
use like removeSession 
 | 
protected void | 
Node.setSessions(Set<Session> sessions)
setter for sessions should be avoided. 
 | 
| Constructor and Description | 
|---|
Event(Timestamp _time,
     Experimenter _experimenter,
     ExperimenterGroup _experimenterGroup,
     EventType _type,
     Session _session)  | 
| Modifier and Type | Method and Description | 
|---|---|
Event | 
CurrentDetails.newEvent(Session session,
        EventType type,
        TokenHolder tokenHolder)  | 
| Modifier and Type | Method and Description | 
|---|---|
Session | 
SessionManagerImpl.copy(Session source)  | 
Session | 
SessionManager.createFromRequest(SessionManager.CreationRequest request)  | 
Session | 
SessionManagerImpl.createFromRequest(SessionManager.CreationRequest request)  | 
Session | 
SessionBean.createSession(Principal principal,
             String credentials)  | 
Session | 
SessionBean.createSessionWithTimeout(Principal principal,
                        long milliseconds)  | 
Session | 
SessionBean.createSessionWithTimeouts(Principal principal,
                         long timeToLiveMilliseconds,
                         long timeToIdleMilliseconds)  | 
Session | 
SessionBean.createUserSession(long timeToLiveMs,
                 long timeToIdleMs,
                 String defaultGroup)  | 
Session | 
SessionManager.createWithAgent(Principal principal,
               String agent,
               String ip)  | 
Session | 
SessionManagerImpl.createWithAgent(Principal principal,
               String agent,
               String ip)  | 
Session | 
SessionManager.createWithAgent(Principal principal,
               String credentials,
               String agent,
               String ip)  | 
Session | 
SessionManagerImpl.createWithAgent(Principal _principal,
               String credentials,
               String agent,
               String ip)  | 
Session | 
SessionManager.find(String uuid)  | 
Session | 
SessionManagerImpl.find(String uuid)  | 
Session | 
SessionContext.getSession()  | 
Session | 
SessionContextImpl.getSession()  | 
Session | 
SessionBean.getSession(String sessionUuid)  | 
Session | 
SessionManager.update(Session session)
Certain fields from the  
Session instance will
 be copied and then saved to the db, as well as a new
 SessionContext created. | 
Session | 
SessionManagerImpl.update(Session session)  | 
Session | 
SessionManager.update(Session session,
      boolean trust)
Same as  
SessionManager.update(Session) but some security checks can be
 overridden. | 
Session | 
SessionManagerImpl.update(Session session,
      boolean trusted)  | 
Session | 
SessionBean.updateSession(Session session)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Session> | 
SessionManager.findByUser(String user)  | 
List<Session> | 
SessionManagerImpl.findByUser(String user)  | 
List<Session> | 
SessionManager.findByUserAndAgent(String user,
                  String... agent)
Returns a non-null, possibly empty list of session instances
 belonging to the given user and with one of the given agents. 
 | 
List<Session> | 
SessionManagerImpl.findByUserAndAgent(String user,
                  String... agents)  | 
List<Session> | 
SessionBean.getMyOpenAgentSessions(String agent)  | 
List<Session> | 
SessionBean.getMyOpenClientSessions()  | 
List<Session> | 
SessionBean.getMyOpenSessions()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
SessionBean.closeSession(Session session)  | 
Session | 
SessionManagerImpl.copy(Session source)  | 
protected void | 
SessionManagerImpl.define(Session s,
      String uuid,
      String message,
      long started,
      long idle,
      long live,
      String eventType,
      String agent,
      String ip)  | 
protected void | 
SessionManagerImpl.define(Session s,
      String uuid,
      String message,
      long started,
      SessionManager.CreationRequest req)  | 
Session | 
SessionManager.update(Session session)
Certain fields from the  
Session instance will
 be copied and then saved to the db, as well as a new
 SessionContext created. | 
Session | 
SessionManagerImpl.update(Session session)  | 
Session | 
SessionManager.update(Session session,
      boolean trust)
Same as  
SessionManager.update(Session) but some security checks can be
 overridden. | 
Session | 
SessionManagerImpl.update(Session session,
      boolean trusted)  | 
Session | 
SessionBean.updateSession(Session session)  | 
| Constructor and Description | 
|---|
SessionContextImpl(Session session,
                  List<Long> lGroups,
                  List<Long> mGroups,
                  List<String> roles,
                  SessionStats stats,
                  Roles _roles,
                  SessionContext previous)  | 
SessionContextImpl(Session session,
                  List<Long> lGroups,
                  List<Long> mGroups,
                  List<String> roles,
                  SessionStats stats,
                  SessionContext previous)  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Session> | 
ShareBean.getMemberShares(boolean active)  | 
Set<Session> | 
ShareBean.getMemberSharesFor(Experimenter user,
                  boolean active)  | 
Set<Session> | 
ShareBean.getOwnShares(boolean active)  | 
Set<Session> | 
ShareBean.getSharesOwnedBy(Experimenter user,
                boolean active)  | 
protected Set<Session> | 
ShareBean.sharesToSessions(List<ome.services.sharing.data.ShareData> datas)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Session | 
SessionInitializer.session  | 
| Modifier and Type | Method and Description | 
|---|---|
Session | 
ServiceFactory.getSession()  | 
Session | 
SessionInitializer.getSession()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ServiceFactory.setSession(Session session)  | 
void | 
SessionInitializer.setSession(Session s)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Session | 
UpdateSessionTimeoutRequestI.updateSession()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
UpdateSessionTimeoutRequestI.updateField(Session s,
           String field,
           omero.RLong value,
           boolean isAdmin)  | 
                
                
Version: 5.2.6-ice35-b35
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.