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 |
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) |
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) |
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() |
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_preMarshal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
public 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
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
UnloadedEntityException
protected void throwNullCollectionException(java.lang.String propertyName) throws UnloadedCollectionException
UnloadedCollectionException
protected void toggleCollectionsLoaded(boolean load)
public void unload(Ice.Current current)
_IObjectOperations
unload
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isLoaded(Ice.Current current)
_IObjectOperations
isLoaded
in interface _IObjectOperations
current
- The Current object for the invocation.public void unloadCollections(Ice.Current current)
_IObjectOperations
unloadCollections
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isGlobal(Ice.Current current)
_IObjectOperations
isGlobal
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isMutable(Ice.Current current)
_IObjectOperations
isMutable
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isAnnotated(Ice.Current current)
_IObjectOperations
isAnnotated
in interface _IObjectOperations
current
- The Current object for the invocation.public boolean isLink(Ice.Current current)
_IObjectOperations
isLink
in interface _IObjectOperations
current
- The Current object for the invocation.public IObject shallowCopy(Ice.Current current)
_IObjectOperations
shallowCopy
in interface _IObjectOperations
current
- The Current object for the invocation.public IObject proxy(Ice.Current current)
_IObjectOperations
proxy
in interface _IObjectOperations
current
- The Current object for the invocation.public RLong getId(Ice.Current current)
getId
in interface _IObjectOperations
public void setId(RLong id, Ice.Current current)
setId
in interface _IObjectOperations
public Details getDetails(Ice.Current current)
getDetails
in interface _IObjectOperations
public void unloadDetails(Ice.Current current)
_IObjectOperations
unloadDetails
in interface _IObjectOperations
current
- The Current object for the invocation.public RInt getVersion(Ice.Current current)
getVersion
in interface _SessionOperations
public void setVersion(RInt version, Ice.Current current)
setVersion
in interface _SessionOperations
public void unloadNode()
public Node getNode(Ice.Current current) throws UnloadedEntityException
getNode
in interface _SessionOperations
UnloadedEntityException
public void setNode(Node node, Ice.Current current) throws UnloadedEntityException
setNode
in interface _SessionOperations
UnloadedEntityException
public void unloadUuid()
public RString getUuid(Ice.Current current) throws UnloadedEntityException
getUuid
in interface _SessionOperations
UnloadedEntityException
public void setUuid(RString uuid, Ice.Current current) throws UnloadedEntityException
setUuid
in interface _SessionOperations
UnloadedEntityException
public void unloadOwner()
public Experimenter getOwner(Ice.Current current) throws UnloadedEntityException
getOwner
in interface _SessionOperations
UnloadedEntityException
public void setOwner(Experimenter owner, Ice.Current current) throws UnloadedEntityException
setOwner
in interface _SessionOperations
UnloadedEntityException
public void unloadSudoer()
public Experimenter getSudoer(Ice.Current current) throws UnloadedEntityException
getSudoer
in interface _SessionOperations
UnloadedEntityException
public void setSudoer(Experimenter sudoer, Ice.Current current) throws UnloadedEntityException
setSudoer
in interface _SessionOperations
UnloadedEntityException
public void unloadTimeToIdle()
public RLong getTimeToIdle(Ice.Current current) throws UnloadedEntityException
getTimeToIdle
in interface _SessionOperations
UnloadedEntityException
public void setTimeToIdle(RLong timeToIdle, Ice.Current current) throws UnloadedEntityException
setTimeToIdle
in interface _SessionOperations
UnloadedEntityException
public void unloadTimeToLive()
public RLong getTimeToLive(Ice.Current current) throws UnloadedEntityException
getTimeToLive
in interface _SessionOperations
UnloadedEntityException
public void setTimeToLive(RLong timeToLive, Ice.Current current) throws UnloadedEntityException
setTimeToLive
in interface _SessionOperations
UnloadedEntityException
public void unloadStarted()
public RTime getStarted(Ice.Current current) throws UnloadedEntityException
getStarted
in interface _SessionOperations
UnloadedEntityException
public void setStarted(RTime started, Ice.Current current) throws UnloadedEntityException
setStarted
in interface _SessionOperations
UnloadedEntityException
public void unloadClosed()
public RTime getClosed(Ice.Current current) throws UnloadedEntityException
getClosed
in interface _SessionOperations
UnloadedEntityException
public void setClosed(RTime closed, Ice.Current current) throws UnloadedEntityException
setClosed
in interface _SessionOperations
UnloadedEntityException
public void unloadMessage()
public RString getMessage(Ice.Current current) throws UnloadedEntityException
getMessage
in interface _SessionOperations
UnloadedEntityException
public void setMessage(RString message, Ice.Current current) throws UnloadedEntityException
setMessage
in interface _SessionOperations
UnloadedEntityException
public void unloadDefaultEventType()
public RString getDefaultEventType(Ice.Current current) throws UnloadedEntityException
getDefaultEventType
in interface _SessionOperations
UnloadedEntityException
public void setDefaultEventType(RString defaultEventType, Ice.Current current) throws UnloadedEntityException
setDefaultEventType
in interface _SessionOperations
UnloadedEntityException
public void unloadUserAgent()
public RString getUserAgent(Ice.Current current) throws UnloadedEntityException
getUserAgent
in interface _SessionOperations
UnloadedEntityException
public void setUserAgent(RString userAgent, Ice.Current current) throws UnloadedEntityException
setUserAgent
in interface _SessionOperations
UnloadedEntityException
public void unloadUserIP()
public RString getUserIP(Ice.Current current) throws UnloadedEntityException
getUserIP
in interface _SessionOperations
UnloadedEntityException
public void setUserIP(RString userIP, Ice.Current current) throws UnloadedEntityException
setUserIP
in interface _SessionOperations
UnloadedEntityException
public void unloadEvents(Ice.Current current)
unloadEvents
in interface _SessionOperations
protected java.util.List getEvents(Ice.Current current) throws UnloadedEntityException
UnloadedEntityException
protected void setEvents(java.util.List events, Ice.Current current) throws UnloadedEntityException
UnloadedEntityException
public boolean isEventsLoaded()
public int sizeOfEvents(Ice.Current current) throws UnloadedEntityException
sizeOfEvents
in interface _SessionOperations
UnloadedEntityException
public java.util.List copyEvents(Ice.Current current) throws UnloadedEntityException
copyEvents
in interface _SessionOperations
UnloadedEntityException
public java.util.Iterator iterateEvents() throws UnloadedEntityException
UnloadedEntityException
public void addEvent(Event target, Ice.Current current) throws UnloadedEntityException
addEvent
in interface _SessionOperations
UnloadedEntityException
public void addAllEventSet(java.util.List<Event> targets, Ice.Current current) throws UnloadedEntityException
addAllEventSet
in interface _SessionOperations
UnloadedEntityException
public void removeEvent(Event target, Ice.Current current) throws UnloadedEntityException
removeEvent
in interface _SessionOperations
UnloadedEntityException
public void removeAllEventSet(java.util.List<Event> targets, Ice.Current current) throws UnloadedEntityException
removeAllEventSet
in interface _SessionOperations
UnloadedEntityException
public void clearEvents(Ice.Current current) throws UnloadedEntityException
clearEvents
in interface _SessionOperations
UnloadedEntityException
public void reloadEvents(Session toCopy, Ice.Current current) throws UnloadedEntityException
reloadEvents
in interface _SessionOperations
UnloadedEntityException
public void unloadAnnotationLinks(Ice.Current current)
unloadAnnotationLinks
in interface _SessionOperations
protected java.util.List getAnnotationLinks(Ice.Current current) throws UnloadedEntityException
UnloadedEntityException
protected void setAnnotationLinks(java.util.List annotationLinks, Ice.Current current) throws UnloadedEntityException
UnloadedEntityException
public boolean isAnnotationLinksLoaded()
public int sizeOfAnnotationLinks(Ice.Current current) throws UnloadedEntityException
sizeOfAnnotationLinks
in interface _SessionOperations
UnloadedEntityException
public java.util.List copyAnnotationLinks(Ice.Current current) throws UnloadedEntityException
copyAnnotationLinks
in interface _SessionOperations
UnloadedEntityException
public java.util.Iterator iterateAnnotationLinks() throws UnloadedEntityException
UnloadedEntityException
public void addSessionAnnotationLink(SessionAnnotationLink target, Ice.Current current) throws UnloadedEntityException
addSessionAnnotationLink
in interface _SessionOperations
UnloadedEntityException
public void addAllSessionAnnotationLinkSet(java.util.List<SessionAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
addAllSessionAnnotationLinkSet
in interface _SessionOperations
UnloadedEntityException
public void removeSessionAnnotationLink(SessionAnnotationLink target, Ice.Current current) throws UnloadedEntityException
removeSessionAnnotationLink
in interface _SessionOperations
UnloadedEntityException
public void removeAllSessionAnnotationLinkSet(java.util.List<SessionAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
removeAllSessionAnnotationLinkSet
in interface _SessionOperations
UnloadedEntityException
public void clearAnnotationLinks(Ice.Current current) throws UnloadedEntityException
clearAnnotationLinks
in interface _SessionOperations
UnloadedEntityException
public void reloadAnnotationLinks(Session toCopy, Ice.Current current) throws UnloadedEntityException
reloadAnnotationLinks
in interface _SessionOperations
UnloadedEntityException
public java.util.Map<java.lang.Long,java.lang.Long> getAnnotationLinksCountPerOwner(Ice.Current current)
getAnnotationLinksCountPerOwner
in interface _SessionOperations
public SessionAnnotationLink linkAnnotation(Annotation addition, Ice.Current current) throws UnloadedEntityException
linkAnnotation
in interface _SessionOperations
UnloadedEntityException
public void addSessionAnnotationLinkToBoth(SessionAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException
addSessionAnnotationLinkToBoth
in interface _SessionOperations
UnloadedEntityException
public java.util.List<SessionAnnotationLink> findSessionAnnotationLink(Annotation removal, Ice.Current current) throws UnloadedEntityException
findSessionAnnotationLink
in interface _SessionOperations
UnloadedEntityException
public void unlinkAnnotation(Annotation removal, Ice.Current current) throws UnloadedEntityException
unlinkAnnotation
in interface _SessionOperations
UnloadedEntityException
public void removeSessionAnnotationLinkFromBoth(SessionAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException, UnloadedCollectionException
removeSessionAnnotationLinkFromBoth
in interface _SessionOperations
UnloadedEntityException
UnloadedCollectionException
public java.util.List<Annotation> linkedAnnotationList(Ice.Current current) throws UnloadedEntityException
linkedAnnotationList
in interface _SessionOperations
UnloadedEntityException
public 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.ModelBased
public ome.util.Filterable fillObject(ome.util.ReverseModelMapper _mapper)
IceMapper
produce an "ome.model" object from this
"omero.model" object.fillObject
in interface ome.model.ModelBased
public static java.util.List<SessionI> cast(java.util.List list)
java.lang.ClassCastException