Package omero.model
Class SessionI
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.model.IObject
-
- omero.model.Session
-
- omero.model.SessionI
-
- All Implemented Interfaces:
Ice.Object,java.io.Serializable,java.lang.Cloneable,ome.model.ModelBased,_IObjectOperations,_IObjectOperationsNC,_SessionOperations,_SessionOperationsNC
public class SessionI extends Session implements ome.model.ModelBased
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringANNOTATIONLINKSstatic java.lang.StringCLOSEDstatic java.lang.StringDEFAULTEVENTTYPEstatic java.lang.StringDETAILSstatic java.lang.StringEVENTSstatic java.lang.StringMESSAGEstatic java.lang.StringNODEstatic java.lang.StringOWNERstatic java.lang.StringSTARTEDstatic java.lang.StringSUDOERstatic java.lang.StringTIMETOIDLEstatic java.lang.StringTIMETOLIVEstatic java.lang.StringUSERAGENTstatic java.lang.StringUSERIPDeprecated.static java.lang.StringUUID-
Fields inherited from class omero.model.Session
__ids, annotationLinksCountPerOwner, annotationLinksLoaded, annotationLinksSeq, closed, defaultEventType, eventsLoaded, eventsSeq, message, node, owner, serialVersionUID, started, sudoer, timeToIdle, timeToLive, userAgent, userIP, uuid, version
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddAllEventSet(java.util.List<Event> targets, Ice.Current current)voidaddAllSessionAnnotationLinkSet(java.util.List<SessionAnnotationLink> targets, Ice.Current current)voidaddEvent(Event target, Ice.Current current)voidaddSessionAnnotationLink(SessionAnnotationLink target, Ice.Current current)voidaddSessionAnnotationLinkToBoth(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.voidclearAnnotationLinks(Ice.Current current)voidclearEvents(Ice.Current current)java.util.ListcopyAnnotationLinks(Ice.Current current)java.util.ListcopyEvents(Ice.Current current)voidcopyObject(ome.util.Filterable model, ome.util.ModelMapper _mapper)Used byIceMapperto inject an "ome.model" object into this "omero.model" object.protected voiderrorIfUnloaded()ome.util.FilterablefillObject(ome.util.ReverseModelMapper _mapper)Used byIceMapperproduce an "ome.model" object from this "omero.model" object.java.util.List<SessionAnnotationLink>findSessionAnnotationLink(Annotation removal, Ice.Current current)protected java.util.ListgetAnnotationLinks(Ice.Current current)java.util.Map<java.lang.Long,java.lang.Long>getAnnotationLinksCountPerOwner(Ice.Current current)RTimegetClosed(Ice.Current current)RStringgetDefaultEventType(Ice.Current current)DetailsgetDetails(Ice.Current current)protected java.util.ListgetEvents(Ice.Current current)RLonggetId(Ice.Current current)RStringgetMessage(Ice.Current current)NodegetNode(Ice.Current current)ExperimentergetOwner(Ice.Current current)RTimegetStarted(Ice.Current current)ExperimentergetSudoer(Ice.Current current)RLonggetTimeToIdle(Ice.Current current)RLonggetTimeToLive(Ice.Current current)RStringgetUserAgent(Ice.Current current)RStringgetUserIP(Ice.Current current)Deprecated.RStringgetUuid(Ice.Current current)RIntgetVersion(Ice.Current current)booleanisAnnotated(Ice.Current current)Allows for the attachment of any omero.model.Annotation subclasses.booleanisAnnotationLinksLoaded()booleanisEventsLoaded()booleanisGlobal(Ice.Current current)Marker interface which means that special rules apply for both reading and writing these instances.booleanisLink(Ice.Current current)A link between two other types.booleanisLoaded(Ice.Current current)Tests if the objects are loaded or not.booleanisMutable(Ice.Current current)The server will persist changes made to these types.java.util.IteratoriterateAnnotationLinks()java.util.IteratoriterateEvents()SessionAnnotationLinklinkAnnotation(Annotation addition, Ice.Current current)java.util.List<Annotation>linkedAnnotationList(Ice.Current current)IObjectproxy(Ice.Current current)Return another instance of the same type as this instance constructed as if by: new InstanceI( this.id.val, false );voidreloadAnnotationLinks(Session toCopy, Ice.Current current)voidreloadEvents(Session toCopy, Ice.Current current)voidremoveAllEventSet(java.util.List<Event> targets, Ice.Current current)voidremoveAllSessionAnnotationLinkSet(java.util.List<SessionAnnotationLink> targets, Ice.Current current)voidremoveEvent(Event target, Ice.Current current)voidremoveSessionAnnotationLink(SessionAnnotationLink target, Ice.Current current)voidremoveSessionAnnotationLinkFromBoth(SessionAnnotationLink link, boolean bothSides, Ice.Current current)protected voidsetAnnotationLinks(java.util.List annotationLinks, Ice.Current current)voidsetClosed(RTime closed, Ice.Current current)voidsetDefaultEventType(RString defaultEventType, Ice.Current current)protected voidsetEvents(java.util.List events, Ice.Current current)voidsetId(RLong id, Ice.Current current)voidsetMessage(RString message, Ice.Current current)voidsetNode(Node node, Ice.Current current)voidsetOwner(Experimenter owner, Ice.Current current)voidsetStarted(RTime started, Ice.Current current)voidsetSudoer(Experimenter sudoer, Ice.Current current)voidsetTimeToIdle(RLong timeToIdle, Ice.Current current)voidsetTimeToLive(RLong timeToLive, Ice.Current current)voidsetUserAgent(RString userAgent, Ice.Current current)voidsetUserIP(RString userIP, Ice.Current current)Deprecated.voidsetUuid(RString uuid, Ice.Current current)voidsetVersion(RInt version, Ice.Current current)IObjectshallowCopy(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.intsizeOfAnnotationLinks(Ice.Current current)intsizeOfEvents(Ice.Current current)protected voidthrowNullCollectionException(java.lang.String propertyName)protected voidtoggleCollectionsLoaded(boolean load)voidunlinkAnnotation(Annotation removal, Ice.Current current)voidunload(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.voidunloadAnnotationLinks(Ice.Current current)voidunloadClosed()voidunloadCollections(Ice.Current current)Each collection can also be unloaded, independently of the object itself.voidunloadDefaultEventType()voidunloadDetails(Ice.Current current)As with collections, the objects under details can link to many other objects.voidunloadEvents(Ice.Current current)voidunloadMessage()voidunloadNode()voidunloadOwner()voidunloadStarted()voidunloadSudoer()voidunloadTimeToIdle()voidunloadTimeToLive()voidunloadUserAgent()voidunloadUserIP()Deprecated.voidunloadUuid()-
Methods inherited from class omero.model.Session
___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
-
Methods inherited from class omero.model.IObject
___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
-
Methods inherited from class Ice.ObjectImpl
___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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.model._IObjectOperationsNC
getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
-
-
-
-
Field Detail
-
NODE
public static final java.lang.String NODE
- See Also:
- Constant Field Values
-
UUID
public static final java.lang.String UUID
- See Also:
- Constant Field Values
-
OWNER
public static final java.lang.String OWNER
- See Also:
- Constant Field Values
-
SUDOER
public static final java.lang.String SUDOER
- See Also:
- Constant Field Values
-
TIMETOIDLE
public static final java.lang.String TIMETOIDLE
- See Also:
- Constant Field Values
-
TIMETOLIVE
public static final java.lang.String TIMETOLIVE
- See Also:
- Constant Field Values
-
STARTED
public static final java.lang.String STARTED
- See Also:
- Constant Field Values
-
CLOSED
public static final java.lang.String CLOSED
- See Also:
- Constant Field Values
-
MESSAGE
public static final java.lang.String MESSAGE
- See Also:
- Constant Field Values
-
DEFAULTEVENTTYPE
public static final java.lang.String DEFAULTEVENTTYPE
- See Also:
- Constant Field Values
-
USERAGENT
public static final java.lang.String USERAGENT
- See Also:
- Constant Field Values
-
USERIP
@Deprecated public static final java.lang.String USERIP
Deprecated.- See Also:
- Constant Field Values
-
EVENTS
public static final java.lang.String EVENTS
- See Also:
- Constant Field Values
-
ANNOTATIONLINKS
public static final java.lang.String ANNOTATIONLINKS
- See Also:
- Constant Field Values
-
DETAILS
public static final java.lang.String DETAILS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SessionI
public SessionI()
-
SessionI
public SessionI(long id, boolean loaded)
-
SessionI
public SessionI(RLong id, boolean loaded)
-
-
Method Detail
-
errorIfUnloaded
protected void errorIfUnloaded() throws UnloadedEntityException- Throws:
UnloadedEntityException
-
throwNullCollectionException
protected void throwNullCollectionException(java.lang.String propertyName) throws UnloadedCollectionException- Throws:
UnloadedCollectionException
-
toggleCollectionsLoaded
protected void toggleCollectionsLoaded(boolean load)
-
unload
public void unload(Ice.Current current)
Description copied from interface:_IObjectOperationsSets the loaded boolean to false and empties all state from this entity to make sending it over the network less costly.- Specified by:
unloadin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isLoaded
public boolean isLoaded(Ice.Current current)
Description copied from interface:_IObjectOperationsTests if the objects are loaded or not. If this value is false, then any method call on this instance other than getId or setId will result in an exception.- Specified by:
isLoadedin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
unloadCollections
public void unloadCollections(Ice.Current current)
Description copied from interface:_IObjectOperationsEach collection can also be unloaded, independently of the object itself. To unload all collections, use: object.unloadCollections(); This is useful when it is possible that a collection no longer represents the state in the database, and passing the collections back to the server might delete some entities. Sending back empty collections can also save a significant amount of bandwidth, when working with large data graphs.- Specified by:
unloadCollectionsin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isGlobal
public boolean isGlobal(Ice.Current current)
Description copied from interface:_IObjectOperationsMarker interface which means that special rules apply for both reading and writing these instances.- Specified by:
isGlobalin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isMutable
public boolean isMutable(Ice.Current current)
Description copied from interface:_IObjectOperationsThe server will persist changes made to these types. Methods provided: - getVersion() - setVersion()- Specified by:
isMutablein interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isAnnotated
public boolean isAnnotated(Ice.Current current)
Description copied from interface:_IObjectOperationsAllows for the attachment of any omero.model.Annotation subclasses. Methods provided are: - linkAnnotation(Annotation) -- Specified by:
isAnnotatedin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
isLink
public boolean isLink(Ice.Current current)
Description copied from interface:_IObjectOperationsA link between two other types. Methods provided: - getParent() - getChild()- Specified by:
isLinkin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
shallowCopy
public IObject shallowCopy(Ice.Current current)
Description copied from interface:_IObjectOperationsReturn another instance of the same type as this instance with all single-value entities unloaded and all members of collections also unloaded.- Specified by:
shallowCopyin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
proxy
public IObject proxy(Ice.Current current)
Description copied from interface:_IObjectOperationsReturn another instance of the same type as this instance constructed as if by: new InstanceI( this.id.val, false );- Specified by:
proxyin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
getId
public RLong getId(Ice.Current current)
- Specified by:
getIdin interface_IObjectOperations
-
setId
public void setId(RLong id, Ice.Current current)
- Specified by:
setIdin interface_IObjectOperations
-
getDetails
public Details getDetails(Ice.Current current)
- Specified by:
getDetailsin interface_IObjectOperations
-
unloadDetails
public void unloadDetails(Ice.Current current)
Description copied from interface:_IObjectOperationsAs with collections, the objects under details can link to many other objects. Unloading the details can same bandwidth and simplify the server logic.- Specified by:
unloadDetailsin interface_IObjectOperations- Parameters:
current- The Current object for the invocation.
-
getVersion
public RInt getVersion(Ice.Current current)
- Specified by:
getVersionin interface_SessionOperations
-
setVersion
public void setVersion(RInt version, Ice.Current current)
- Specified by:
setVersionin interface_SessionOperations
-
unloadNode
public void unloadNode()
-
getNode
public Node getNode(Ice.Current current) throws UnloadedEntityException
- Specified by:
getNodein interface_SessionOperations- Throws:
UnloadedEntityException
-
setNode
public void setNode(Node node, Ice.Current current) throws UnloadedEntityException
- Specified by:
setNodein interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadUuid
public void unloadUuid()
-
getUuid
public RString getUuid(Ice.Current current) throws UnloadedEntityException
- Specified by:
getUuidin interface_SessionOperations- Throws:
UnloadedEntityException
-
setUuid
public void setUuid(RString uuid, Ice.Current current) throws UnloadedEntityException
- Specified by:
setUuidin interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadOwner
public void unloadOwner()
-
getOwner
public Experimenter getOwner(Ice.Current current) throws UnloadedEntityException
- Specified by:
getOwnerin interface_SessionOperations- Throws:
UnloadedEntityException
-
setOwner
public void setOwner(Experimenter owner, Ice.Current current) throws UnloadedEntityException
- Specified by:
setOwnerin interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadSudoer
public void unloadSudoer()
-
getSudoer
public Experimenter getSudoer(Ice.Current current) throws UnloadedEntityException
- Specified by:
getSudoerin interface_SessionOperations- Throws:
UnloadedEntityException
-
setSudoer
public void setSudoer(Experimenter sudoer, Ice.Current current) throws UnloadedEntityException
- Specified by:
setSudoerin interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadTimeToIdle
public void unloadTimeToIdle()
-
getTimeToIdle
public RLong getTimeToIdle(Ice.Current current) throws UnloadedEntityException
- Specified by:
getTimeToIdlein interface_SessionOperations- Throws:
UnloadedEntityException
-
setTimeToIdle
public void setTimeToIdle(RLong timeToIdle, Ice.Current current) throws UnloadedEntityException
- Specified by:
setTimeToIdlein interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadTimeToLive
public void unloadTimeToLive()
-
getTimeToLive
public RLong getTimeToLive(Ice.Current current) throws UnloadedEntityException
- Specified by:
getTimeToLivein interface_SessionOperations- Throws:
UnloadedEntityException
-
setTimeToLive
public void setTimeToLive(RLong timeToLive, Ice.Current current) throws UnloadedEntityException
- Specified by:
setTimeToLivein interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadStarted
public void unloadStarted()
-
getStarted
public RTime getStarted(Ice.Current current) throws UnloadedEntityException
- Specified by:
getStartedin interface_SessionOperations- Throws:
UnloadedEntityException
-
setStarted
public void setStarted(RTime started, Ice.Current current) throws UnloadedEntityException
- Specified by:
setStartedin interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadClosed
public void unloadClosed()
-
getClosed
public RTime getClosed(Ice.Current current) throws UnloadedEntityException
- Specified by:
getClosedin interface_SessionOperations- Throws:
UnloadedEntityException
-
setClosed
public void setClosed(RTime closed, Ice.Current current) throws UnloadedEntityException
- Specified by:
setClosedin interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadMessage
public void unloadMessage()
-
getMessage
public RString getMessage(Ice.Current current) throws UnloadedEntityException
- Specified by:
getMessagein interface_SessionOperations- Throws:
UnloadedEntityException
-
setMessage
public void setMessage(RString message, Ice.Current current) throws UnloadedEntityException
- Specified by:
setMessagein interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadDefaultEventType
public void unloadDefaultEventType()
-
getDefaultEventType
public RString getDefaultEventType(Ice.Current current) throws UnloadedEntityException
- Specified by:
getDefaultEventTypein interface_SessionOperations- Throws:
UnloadedEntityException
-
setDefaultEventType
public void setDefaultEventType(RString defaultEventType, Ice.Current current) throws UnloadedEntityException
- Specified by:
setDefaultEventTypein interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadUserAgent
public void unloadUserAgent()
-
getUserAgent
public RString getUserAgent(Ice.Current current) throws UnloadedEntityException
- Specified by:
getUserAgentin interface_SessionOperations- Throws:
UnloadedEntityException
-
setUserAgent
public void setUserAgent(RString userAgent, Ice.Current current) throws UnloadedEntityException
- Specified by:
setUserAgentin interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadUserIP
@Deprecated public void unloadUserIP()
Deprecated.
-
getUserIP
@Deprecated public RString getUserIP(Ice.Current current) throws UnloadedEntityException
Deprecated.- Specified by:
getUserIPin interface_SessionOperations- Throws:
UnloadedEntityException
-
setUserIP
@Deprecated public void setUserIP(RString userIP, Ice.Current current) throws UnloadedEntityException
Deprecated.- Specified by:
setUserIPin interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadEvents
public void unloadEvents(Ice.Current current)
- Specified by:
unloadEventsin interface_SessionOperations
-
getEvents
protected java.util.List getEvents(Ice.Current current) throws UnloadedEntityException- Throws:
UnloadedEntityException
-
setEvents
protected void setEvents(java.util.List events, Ice.Current current) throws UnloadedEntityException- Throws:
UnloadedEntityException
-
isEventsLoaded
public boolean isEventsLoaded()
-
sizeOfEvents
public int sizeOfEvents(Ice.Current current) throws UnloadedEntityException- Specified by:
sizeOfEventsin interface_SessionOperations- Throws:
UnloadedEntityException
-
copyEvents
public java.util.List copyEvents(Ice.Current current) throws UnloadedEntityException- Specified by:
copyEventsin interface_SessionOperations- Throws:
UnloadedEntityException
-
iterateEvents
public java.util.Iterator iterateEvents() throws UnloadedEntityException- Throws:
UnloadedEntityException
-
addEvent
public void addEvent(Event target, Ice.Current current) throws UnloadedEntityException
- Specified by:
addEventin interface_SessionOperations- Throws:
UnloadedEntityException
-
addAllEventSet
public void addAllEventSet(java.util.List<Event> targets, Ice.Current current) throws UnloadedEntityException
- Specified by:
addAllEventSetin interface_SessionOperations- Throws:
UnloadedEntityException
-
removeEvent
public void removeEvent(Event target, Ice.Current current) throws UnloadedEntityException
- Specified by:
removeEventin interface_SessionOperations- Throws:
UnloadedEntityException
-
removeAllEventSet
public void removeAllEventSet(java.util.List<Event> targets, Ice.Current current) throws UnloadedEntityException
- Specified by:
removeAllEventSetin interface_SessionOperations- Throws:
UnloadedEntityException
-
clearEvents
public void clearEvents(Ice.Current current) throws UnloadedEntityException- Specified by:
clearEventsin interface_SessionOperations- Throws:
UnloadedEntityException
-
reloadEvents
public void reloadEvents(Session toCopy, Ice.Current current) throws UnloadedEntityException
- Specified by:
reloadEventsin interface_SessionOperations- Throws:
UnloadedEntityException
-
unloadAnnotationLinks
public void unloadAnnotationLinks(Ice.Current current)
- Specified by:
unloadAnnotationLinksin interface_SessionOperations
-
getAnnotationLinks
protected java.util.List getAnnotationLinks(Ice.Current current) throws UnloadedEntityException- Throws:
UnloadedEntityException
-
setAnnotationLinks
protected void setAnnotationLinks(java.util.List annotationLinks, Ice.Current current) throws UnloadedEntityException- Throws:
UnloadedEntityException
-
isAnnotationLinksLoaded
public boolean isAnnotationLinksLoaded()
-
sizeOfAnnotationLinks
public int sizeOfAnnotationLinks(Ice.Current current) throws UnloadedEntityException- Specified by:
sizeOfAnnotationLinksin interface_SessionOperations- Throws:
UnloadedEntityException
-
copyAnnotationLinks
public java.util.List copyAnnotationLinks(Ice.Current current) throws UnloadedEntityException- Specified by:
copyAnnotationLinksin interface_SessionOperations- Throws:
UnloadedEntityException
-
iterateAnnotationLinks
public java.util.Iterator iterateAnnotationLinks() throws UnloadedEntityException- Throws:
UnloadedEntityException
-
addSessionAnnotationLink
public void addSessionAnnotationLink(SessionAnnotationLink target, Ice.Current current) throws UnloadedEntityException
- Specified by:
addSessionAnnotationLinkin interface_SessionOperations- Throws:
UnloadedEntityException
-
addAllSessionAnnotationLinkSet
public void addAllSessionAnnotationLinkSet(java.util.List<SessionAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
- Specified by:
addAllSessionAnnotationLinkSetin interface_SessionOperations- Throws:
UnloadedEntityException
-
removeSessionAnnotationLink
public void removeSessionAnnotationLink(SessionAnnotationLink target, Ice.Current current) throws UnloadedEntityException
- Specified by:
removeSessionAnnotationLinkin interface_SessionOperations- Throws:
UnloadedEntityException
-
removeAllSessionAnnotationLinkSet
public void removeAllSessionAnnotationLinkSet(java.util.List<SessionAnnotationLink> targets, Ice.Current current) throws UnloadedEntityException
- Specified by:
removeAllSessionAnnotationLinkSetin interface_SessionOperations- Throws:
UnloadedEntityException
-
clearAnnotationLinks
public void clearAnnotationLinks(Ice.Current current) throws UnloadedEntityException- Specified by:
clearAnnotationLinksin interface_SessionOperations- Throws:
UnloadedEntityException
-
reloadAnnotationLinks
public void reloadAnnotationLinks(Session toCopy, Ice.Current current) throws UnloadedEntityException
- Specified by:
reloadAnnotationLinksin interface_SessionOperations- Throws:
UnloadedEntityException
-
getAnnotationLinksCountPerOwner
public java.util.Map<java.lang.Long,java.lang.Long> getAnnotationLinksCountPerOwner(Ice.Current current)
- Specified by:
getAnnotationLinksCountPerOwnerin interface_SessionOperations
-
linkAnnotation
public SessionAnnotationLink linkAnnotation(Annotation addition, Ice.Current current) throws UnloadedEntityException
- Specified by:
linkAnnotationin interface_SessionOperations- Throws:
UnloadedEntityException
-
addSessionAnnotationLinkToBoth
public void addSessionAnnotationLinkToBoth(SessionAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException
- Specified by:
addSessionAnnotationLinkToBothin interface_SessionOperations- Throws:
UnloadedEntityException
-
findSessionAnnotationLink
public java.util.List<SessionAnnotationLink> findSessionAnnotationLink(Annotation removal, Ice.Current current) throws UnloadedEntityException
- Specified by:
findSessionAnnotationLinkin interface_SessionOperations- Throws:
UnloadedEntityException
-
unlinkAnnotation
public void unlinkAnnotation(Annotation removal, Ice.Current current) throws UnloadedEntityException
- Specified by:
unlinkAnnotationin interface_SessionOperations- Throws:
UnloadedEntityException
-
removeSessionAnnotationLinkFromBoth
public void removeSessionAnnotationLinkFromBoth(SessionAnnotationLink link, boolean bothSides, Ice.Current current) throws UnloadedEntityException, UnloadedCollectionException
- Specified by:
removeSessionAnnotationLinkFromBothin interface_SessionOperations- Throws:
UnloadedEntityExceptionUnloadedCollectionException
-
linkedAnnotationList
public java.util.List<Annotation> linkedAnnotationList(Ice.Current current) throws UnloadedEntityException
- Specified by:
linkedAnnotationListin interface_SessionOperations- Throws:
UnloadedEntityException
-
copyObject
public void copyObject(ome.util.Filterable model, ome.util.ModelMapper _mapper)Used byIceMapperto inject an "ome.model" object into this "omero.model" object.- Specified by:
copyObjectin interfaceome.model.ModelBased
-
fillObject
public ome.util.Filterable fillObject(ome.util.ReverseModelMapper _mapper)
Used byIceMapperproduce an "ome.model" object from this "omero.model" object.- Specified by:
fillObjectin interfaceome.model.ModelBased
-
cast
public static java.util.List<SessionI> cast(java.util.List list)
Casts (without warning) the given list to a list of the current type.- Throws:
java.lang.ClassCastException
-
-