public class SessionI extends Session implements ome.model.ModelBased
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ANNOTATIONLINKS |
static java.lang.String |
CLOSED |
static java.lang.String |
DEFAULTEVENTTYPE |
static java.lang.String |
DETAILS |
static java.lang.String |
EVENTS |
static java.lang.String |
MESSAGE |
static java.lang.String |
NODE |
static java.lang.String |
OWNER |
static java.lang.String |
STARTED |
static java.lang.String |
SUDOER |
static java.lang.String |
TIMETOIDLE |
static java.lang.String |
TIMETOLIVE |
static java.lang.String |
USERAGENT |
static java.lang.String |
USERIP
Deprecated.
|
static java.lang.String |
UUID |
__ids, annotationLinksCountPerOwner, annotationLinksLoaded, annotationLinksSeq, closed, defaultEventType, eventsLoaded, eventsSeq, message, node, owner, serialVersionUID, started, sudoer, timeToIdle, timeToLive, userAgent, userIP, uuid, version| Constructor and Description |
|---|
SessionI() |
SessionI(long id,
boolean loaded) |
SessionI(RLong id,
boolean loaded) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllEventSet(java.util.List<Event> targets,
Ice.Current current) |
void |
addAllSessionAnnotationLinkSet(java.util.List<SessionAnnotationLink> targets,
Ice.Current current) |
void |
addEvent(Event target,
Ice.Current current) |
void |
addSessionAnnotationLink(SessionAnnotationLink target,
Ice.Current current) |
void |
addSessionAnnotationLinkToBoth(SessionAnnotationLink link,
boolean bothSides,
Ice.Current current) |
static java.util.List<SessionI> |
cast(java.util.List list)
Casts (without warning) the given list to a list of
the current type.
|
void |
clearAnnotationLinks(Ice.Current current) |
void |
clearEvents(Ice.Current current) |
java.util.List |
copyAnnotationLinks(Ice.Current current) |
java.util.List |
copyEvents(Ice.Current current) |
void |
copyObject(ome.util.Filterable model,
ome.util.ModelMapper _mapper)
Used by
IceMapper to inject an "ome.model" object into this
"omero.model" object. |
protected void |
errorIfUnloaded() |
ome.util.Filterable |
fillObject(ome.util.ReverseModelMapper _mapper)
Used by
IceMapper produce an "ome.model" object from this
"omero.model" object. |
java.util.List<SessionAnnotationLink> |
findSessionAnnotationLink(Annotation removal,
Ice.Current current) |
protected java.util.List |
getAnnotationLinks(Ice.Current current) |
java.util.Map<java.lang.Long,java.lang.Long> |
getAnnotationLinksCountPerOwner(Ice.Current current) |
RTime |
getClosed(Ice.Current current) |
RString |
getDefaultEventType(Ice.Current current) |
Details |
getDetails(Ice.Current current) |
protected java.util.List |
getEvents(Ice.Current current) |
RLong |
getId(Ice.Current current) |
RString |
getMessage(Ice.Current current) |
Node |
getNode(Ice.Current current) |
Experimenter |
getOwner(Ice.Current current) |
RTime |
getStarted(Ice.Current current) |
Experimenter |
getSudoer(Ice.Current current) |
RLong |
getTimeToIdle(Ice.Current current) |
RLong |
getTimeToLive(Ice.Current current) |
RString |
getUserAgent(Ice.Current current) |
RString |
getUserIP(Ice.Current current)
Deprecated.
|
RString |
getUuid(Ice.Current current) |
RInt |
getVersion(Ice.Current current) |
boolean |
isAnnotated(Ice.Current current)
Allows for the attachment of any omero.model.Annotation
subclasses.
|
boolean |
isAnnotationLinksLoaded() |
boolean |
isEventsLoaded() |
boolean |
isGlobal(Ice.Current current)
Marker interface which means that special rules apply
for both reading and writing these instances.
|
boolean |
isLink(Ice.Current current)
A link between two other types.
|
boolean |
isLoaded(Ice.Current current)
Tests if the objects are loaded or not.
|
boolean |
isMutable(Ice.Current current)
The server will persist changes made to these types.
|
java.util.Iterator |
iterateAnnotationLinks() |
java.util.Iterator |
iterateEvents() |
SessionAnnotationLink |
linkAnnotation(Annotation addition,
Ice.Current current) |
java.util.List<Annotation> |
linkedAnnotationList(Ice.Current current) |
IObject |
proxy(Ice.Current current)
Return another instance of the same type as this instance
constructed as if by: new InstanceI( this.id.val, false );
|
void |
reloadAnnotationLinks(Session toCopy,
Ice.Current current) |
void |
reloadEvents(Session toCopy,
Ice.Current current) |
void |
removeAllEventSet(java.util.List<Event> targets,
Ice.Current current) |
void |
removeAllSessionAnnotationLinkSet(java.util.List<SessionAnnotationLink> targets,
Ice.Current current) |
void |
removeEvent(Event target,
Ice.Current current) |
void |
removeSessionAnnotationLink(SessionAnnotationLink target,
Ice.Current current) |
void |
removeSessionAnnotationLinkFromBoth(SessionAnnotationLink link,
boolean bothSides,
Ice.Current current) |
protected void |
setAnnotationLinks(java.util.List annotationLinks,
Ice.Current current) |
void |
setClosed(RTime closed,
Ice.Current current) |
void |
setDefaultEventType(RString defaultEventType,
Ice.Current current) |
protected void |
setEvents(java.util.List events,
Ice.Current current) |
void |
setId(RLong id,
Ice.Current current) |
void |
setMessage(RString message,
Ice.Current current) |
void |
setNode(Node node,
Ice.Current current) |
void |
setOwner(Experimenter owner,
Ice.Current current) |
void |
setStarted(RTime started,
Ice.Current current) |
void |
setSudoer(Experimenter sudoer,
Ice.Current current) |
void |
setTimeToIdle(RLong timeToIdle,
Ice.Current current) |
void |
setTimeToLive(RLong timeToLive,
Ice.Current current) |
void |
setUserAgent(RString userAgent,
Ice.Current current) |
void |
setUserIP(RString userIP,
Ice.Current current)
Deprecated.
|
void |
setUuid(RString uuid,
Ice.Current current) |
void |
setVersion(RInt version,
Ice.Current current) |
IObject |
shallowCopy(Ice.Current current)
Return another instance of the same type as this instance
with all single-value entities unloaded and all members of
collections also unloaded.
|
int |
sizeOfAnnotationLinks(Ice.Current current) |
int |
sizeOfEvents(Ice.Current current) |
protected void |
throwNullCollectionException(java.lang.String propertyName) |
protected void |
toggleCollectionsLoaded(boolean load) |
void |
unlinkAnnotation(Annotation removal,
Ice.Current current) |
void |
unload(Ice.Current current)
Sets the loaded boolean to false and empties all state
from this entity to make sending it over the network
less costly.
|
void |
unloadAnnotationLinks(Ice.Current current) |
void |
unloadClosed() |
void |
unloadCollections(Ice.Current current)
Each collection can also be unloaded, independently
of the object itself.
|
void |
unloadDefaultEventType() |
void |
unloadDetails(Ice.Current current)
As with collections, the objects under details can link
to many other objects.
|
void |
unloadEvents(Ice.Current current) |
void |
unloadMessage() |
void |
unloadNode() |
void |
unloadOwner() |
void |
unloadStarted() |
void |
unloadSudoer() |
void |
unloadTimeToIdle() |
void |
unloadTimeToLive() |
void |
unloadUserAgent() |
void |
unloadUserIP()
Deprecated.
|
void |
unloadUuid() |
___addAllEventSet, ___addAllSessionAnnotationLinkSet, ___addEvent, ___addSessionAnnotationLink, ___addSessionAnnotationLinkToBoth, ___clearAnnotationLinks, ___clearEvents, ___copyAnnotationLinks, ___copyEvents, ___findSessionAnnotationLink, ___getAnnotationLinksCountPerOwner, ___getClosed, ___getDefaultEventType, ___getMessage, ___getNode, ___getOwner, ___getStarted, ___getSudoer, ___getTimeToIdle, ___getTimeToLive, ___getUserAgent, ___getUserIP, ___getUuid, ___getVersion, ___linkAnnotation, ___linkedAnnotationList, ___reloadAnnotationLinks, ___reloadEvents, ___removeAllEventSet, ___removeAllSessionAnnotationLinkSet, ___removeEvent, ___removeSessionAnnotationLink, ___removeSessionAnnotationLinkFromBoth, ___setClosed, ___setDefaultEventType, ___setMessage, ___setNode, ___setOwner, ___setStarted, ___setSudoer, ___setTimeToIdle, ___setTimeToLive, ___setUserAgent, ___setUserIP, ___setUuid, ___setVersion, ___sizeOfAnnotationLinks, ___sizeOfEvents, ___unlinkAnnotation, ___unloadAnnotationLinks, ___unloadEvents, __dispatch, __readImpl, __writeImpl, addAllEventSet, addAllSessionAnnotationLinkSet, addEvent, addSessionAnnotationLink, addSessionAnnotationLinkToBoth, clearAnnotationLinks, clearEvents, clone, copyAnnotationLinks, copyEvents, findSessionAnnotationLink, getAnnotationLinksCountPerOwner, getClosed, getDefaultEventType, getMessage, getNode, getOwner, getStarted, getSudoer, getTimeToIdle, getTimeToLive, getUserAgent, getUserIP, getUuid, getVersion, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, linkAnnotation, linkedAnnotationList, reloadAnnotationLinks, reloadEvents, removeAllEventSet, removeAllSessionAnnotationLinkSet, removeEvent, removeSessionAnnotationLink, removeSessionAnnotationLinkFromBoth, setClosed, setDefaultEventType, setMessage, setNode, setOwner, setStarted, setSudoer, setTimeToIdle, setTimeToLive, setUserAgent, setUserIP, setUuid, setVersion, sizeOfAnnotationLinks, sizeOfEvents, unlinkAnnotation, unloadAnnotationLinks, unloadEvents___getDetails, ___getId, ___isAnnotated, ___isGlobal, ___isLink, ___isLoaded, ___isMutable, ___proxy, ___setId, ___shallowCopy, ___unload, ___unloadCollections, ___unloadDetails, getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshalequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetailspublic static final java.lang.String NODE
public static final java.lang.String UUID
public static final java.lang.String OWNER
public static final java.lang.String SUDOER
public static final java.lang.String TIMETOIDLE
public static final java.lang.String TIMETOLIVE
public static final java.lang.String STARTED
public static final java.lang.String CLOSED
public static final java.lang.String MESSAGE
public static final java.lang.String DEFAULTEVENTTYPE
public static final java.lang.String USERAGENT
@Deprecated public static final java.lang.String USERIP
public static final java.lang.String EVENTS
public static final java.lang.String ANNOTATIONLINKS
public static final java.lang.String DETAILS
public SessionI()
public SessionI(long id,
boolean loaded)
public SessionI(RLong id, boolean loaded)
protected void errorIfUnloaded()
throws UnloadedEntityException
UnloadedEntityExceptionprotected void throwNullCollectionException(java.lang.String propertyName)
throws UnloadedCollectionException
UnloadedCollectionExceptionprotected void toggleCollectionsLoaded(boolean load)
public void unload(Ice.Current current)
_IObjectOperationsunload in interface _IObjectOperationscurrent - The Current object for the invocation.public boolean isLoaded(Ice.Current current)
_IObjectOperationsisLoaded in interface _IObjectOperationscurrent - The Current object for the invocation.public void unloadCollections(Ice.Current current)
_IObjectOperationsunloadCollections in interface _IObjectOperationscurrent - The Current object for the invocation.public boolean isGlobal(Ice.Current current)
_IObjectOperationsisGlobal in interface _IObjectOperationscurrent - The Current object for the invocation.public boolean isMutable(Ice.Current current)
_IObjectOperationsisMutable in interface _IObjectOperationscurrent - The Current object for the invocation.public boolean isAnnotated(Ice.Current current)
_IObjectOperationsisAnnotated in interface _IObjectOperationscurrent - The Current object for the invocation.public boolean isLink(Ice.Current current)
_IObjectOperationsisLink in interface _IObjectOperationscurrent - The Current object for the invocation.public IObject shallowCopy(Ice.Current current)
_IObjectOperationsshallowCopy in interface _IObjectOperationscurrent - The Current object for the invocation.public IObject proxy(Ice.Current current)
_IObjectOperationsproxy in interface _IObjectOperationscurrent - The Current object for the invocation.public RLong getId(Ice.Current current)
getId in interface _IObjectOperationspublic void setId(RLong id, Ice.Current current)
setId in interface _IObjectOperationspublic Details getDetails(Ice.Current current)
getDetails in interface _IObjectOperationspublic void unloadDetails(Ice.Current current)
_IObjectOperationsunloadDetails in interface _IObjectOperationscurrent - The Current object for the invocation.public RInt getVersion(Ice.Current current)
getVersion in interface _SessionOperationspublic void setVersion(RInt version, Ice.Current current)
setVersion in interface _SessionOperationspublic void unloadNode()
public Node getNode(Ice.Current current) throws UnloadedEntityException
getNode in interface _SessionOperationsUnloadedEntityExceptionpublic void setNode(Node node, Ice.Current current) throws UnloadedEntityException
setNode in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadUuid()
public RString getUuid(Ice.Current current) throws UnloadedEntityException
getUuid in interface _SessionOperationsUnloadedEntityExceptionpublic void setUuid(RString uuid, Ice.Current current) throws UnloadedEntityException
setUuid in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadOwner()
public Experimenter getOwner(Ice.Current current) throws UnloadedEntityException
getOwner in interface _SessionOperationsUnloadedEntityExceptionpublic void setOwner(Experimenter owner, Ice.Current current) throws UnloadedEntityException
setOwner in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadSudoer()
public Experimenter getSudoer(Ice.Current current) throws UnloadedEntityException
getSudoer in interface _SessionOperationsUnloadedEntityExceptionpublic void setSudoer(Experimenter sudoer, Ice.Current current) throws UnloadedEntityException
setSudoer in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadTimeToIdle()
public RLong getTimeToIdle(Ice.Current current) throws UnloadedEntityException
getTimeToIdle in interface _SessionOperationsUnloadedEntityExceptionpublic void setTimeToIdle(RLong timeToIdle, Ice.Current current) throws UnloadedEntityException
setTimeToIdle in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadTimeToLive()
public RLong getTimeToLive(Ice.Current current) throws UnloadedEntityException
getTimeToLive in interface _SessionOperationsUnloadedEntityExceptionpublic void setTimeToLive(RLong timeToLive, Ice.Current current) throws UnloadedEntityException
setTimeToLive in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadStarted()
public RTime getStarted(Ice.Current current) throws UnloadedEntityException
getStarted in interface _SessionOperationsUnloadedEntityExceptionpublic void setStarted(RTime started, Ice.Current current) throws UnloadedEntityException
setStarted in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadClosed()
public RTime getClosed(Ice.Current current) throws UnloadedEntityException
getClosed in interface _SessionOperationsUnloadedEntityExceptionpublic void setClosed(RTime closed, Ice.Current current) throws UnloadedEntityException
setClosed in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadMessage()
public RString getMessage(Ice.Current current) throws UnloadedEntityException
getMessage in interface _SessionOperationsUnloadedEntityExceptionpublic void setMessage(RString message, Ice.Current current) throws UnloadedEntityException
setMessage in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadDefaultEventType()
public RString getDefaultEventType(Ice.Current current) throws UnloadedEntityException
getDefaultEventType in interface _SessionOperationsUnloadedEntityExceptionpublic void setDefaultEventType(RString defaultEventType, Ice.Current current) throws UnloadedEntityException
setDefaultEventType in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadUserAgent()
public RString getUserAgent(Ice.Current current) throws UnloadedEntityException
getUserAgent in interface _SessionOperationsUnloadedEntityExceptionpublic void setUserAgent(RString userAgent, Ice.Current current) throws UnloadedEntityException
setUserAgent in interface _SessionOperationsUnloadedEntityException@Deprecated public void unloadUserIP()
@Deprecated public RString getUserIP(Ice.Current current) throws UnloadedEntityException
getUserIP in interface _SessionOperationsUnloadedEntityException@Deprecated public void setUserIP(RString userIP, Ice.Current current) throws UnloadedEntityException
setUserIP in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadEvents(Ice.Current current)
unloadEvents in interface _SessionOperationsprotected java.util.List getEvents(Ice.Current current)
throws UnloadedEntityException
UnloadedEntityExceptionprotected void setEvents(java.util.List events,
Ice.Current current)
throws UnloadedEntityException
UnloadedEntityExceptionpublic boolean isEventsLoaded()
public int sizeOfEvents(Ice.Current current)
throws UnloadedEntityException
sizeOfEvents in interface _SessionOperationsUnloadedEntityExceptionpublic java.util.List copyEvents(Ice.Current current)
throws UnloadedEntityException
copyEvents in interface _SessionOperationsUnloadedEntityExceptionpublic java.util.Iterator iterateEvents()
throws UnloadedEntityException
UnloadedEntityExceptionpublic void addEvent(Event target, Ice.Current current) throws UnloadedEntityException
addEvent in interface _SessionOperationsUnloadedEntityExceptionpublic void addAllEventSet(java.util.List<Event> targets, Ice.Current current) throws UnloadedEntityException
addAllEventSet in interface _SessionOperationsUnloadedEntityExceptionpublic void removeEvent(Event target, Ice.Current current) throws UnloadedEntityException
removeEvent in interface _SessionOperationsUnloadedEntityExceptionpublic void removeAllEventSet(java.util.List<Event> targets, Ice.Current current) throws UnloadedEntityException
removeAllEventSet in interface _SessionOperationsUnloadedEntityExceptionpublic void clearEvents(Ice.Current current)
throws UnloadedEntityException
clearEvents in interface _SessionOperationsUnloadedEntityExceptionpublic void reloadEvents(Session toCopy, Ice.Current current) throws UnloadedEntityException
reloadEvents in interface _SessionOperationsUnloadedEntityExceptionpublic void unloadAnnotationLinks(Ice.Current current)
unloadAnnotationLinks in interface _SessionOperationsprotected java.util.List getAnnotationLinks(Ice.Current current)
throws UnloadedEntityException
UnloadedEntityExceptionprotected void setAnnotationLinks(java.util.List annotationLinks,
Ice.Current current)
throws UnloadedEntityException
UnloadedEntityExceptionpublic boolean isAnnotationLinksLoaded()
public int sizeOfAnnotationLinks(Ice.Current current)
throws UnloadedEntityException
sizeOfAnnotationLinks in interface _SessionOperationsUnloadedEntityExceptionpublic java.util.List copyAnnotationLinks(Ice.Current current)
throws UnloadedEntityException
copyAnnotationLinks in interface _SessionOperationsUnloadedEntityExceptionpublic java.util.Iterator iterateAnnotationLinks()
throws UnloadedEntityException
UnloadedEntityExceptionpublic void addSessionAnnotationLink(SessionAnnotationLink target, Ice.Current current) throws UnloadedEntityException
addSessionAnnotationLink in interface _SessionOperationsUnloadedEntityExceptionpublic void addAllSessionAnnotationLinkSet(java.util.List<SessionAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
addAllSessionAnnotationLinkSet in interface _SessionOperationsUnloadedEntityExceptionpublic void removeSessionAnnotationLink(SessionAnnotationLink target, Ice.Current current) throws UnloadedEntityException
removeSessionAnnotationLink in interface _SessionOperationsUnloadedEntityExceptionpublic void removeAllSessionAnnotationLinkSet(java.util.List<SessionAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
removeAllSessionAnnotationLinkSet in interface _SessionOperationsUnloadedEntityExceptionpublic void clearAnnotationLinks(Ice.Current current)
throws UnloadedEntityException
clearAnnotationLinks in interface _SessionOperationsUnloadedEntityExceptionpublic void reloadAnnotationLinks(Session toCopy, Ice.Current current) throws UnloadedEntityException
reloadAnnotationLinks in interface _SessionOperationsUnloadedEntityExceptionpublic java.util.Map<java.lang.Long,java.lang.Long> getAnnotationLinksCountPerOwner(Ice.Current current)
getAnnotationLinksCountPerOwner in interface _SessionOperationspublic SessionAnnotationLink linkAnnotation(Annotation addition, Ice.Current current) throws UnloadedEntityException
linkAnnotation in interface _SessionOperationsUnloadedEntityExceptionpublic void addSessionAnnotationLinkToBoth(SessionAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException
addSessionAnnotationLinkToBoth in interface _SessionOperationsUnloadedEntityExceptionpublic java.util.List<SessionAnnotationLink> findSessionAnnotationLink(Annotation removal, Ice.Current current) throws UnloadedEntityException
findSessionAnnotationLink in interface _SessionOperationsUnloadedEntityExceptionpublic void unlinkAnnotation(Annotation removal, Ice.Current current) throws UnloadedEntityException
unlinkAnnotation in interface _SessionOperationsUnloadedEntityExceptionpublic void removeSessionAnnotationLinkFromBoth(SessionAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException, UnloadedCollectionException
removeSessionAnnotationLinkFromBoth in interface _SessionOperationsUnloadedEntityExceptionUnloadedCollectionExceptionpublic java.util.List<Annotation> linkedAnnotationList(Ice.Current current) throws UnloadedEntityException
linkedAnnotationList in interface _SessionOperationsUnloadedEntityExceptionpublic void copyObject(ome.util.Filterable model,
ome.util.ModelMapper _mapper)
IceMapper to inject an "ome.model" object into this
"omero.model" object.copyObject in interface ome.model.ModelBasedpublic ome.util.Filterable fillObject(ome.util.ReverseModelMapper _mapper)
IceMapper produce an "ome.model" object from this
"omero.model" object.fillObject in interface ome.model.ModelBasedpublic static java.util.List<SessionI> cast(java.util.List list)
java.lang.ClassCastException