Package omero.model

Interface _IObjectOperations

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Details getDetails​(Ice.Current __current)  
      RLong getId​(Ice.Current __current)  
      boolean isAnnotated​(Ice.Current __current)
      Allows for the attachment of any omero.model.Annotation subclasses.
      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.
      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 setId​(RLong id, 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.
      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 unloadCollections​(Ice.Current __current)
      Each collection can also be unloaded, independently of the object itself.
      void unloadDetails​(Ice.Current __current)
      As with collections, the objects under details can link to many other objects.
    • Method Detail

      • getId

        RLong getId​(Ice.Current __current)
      • setId

        void setId​(RLong id,
                   Ice.Current __current)
      • getDetails

        Details getDetails​(Ice.Current __current)
      • proxy

        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 );
        Parameters:
        __current - The Current object for the invocation.
      • shallowCopy

        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.
        Parameters:
        __current - The Current object for the invocation.
      • unload

        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.
        Parameters:
        __current - The Current object for the invocation.
      • unloadCollections

        void unloadCollections​(Ice.Current __current)
        Each 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.
        Parameters:
        __current - The Current object for the invocation.
      • unloadDetails

        void unloadDetails​(Ice.Current __current)
        As with collections, the objects under details can link to many other objects. Unloading the details can same bandwidth and simplify the server logic.
        Parameters:
        __current - The Current object for the invocation.
      • isLoaded

        boolean isLoaded​(Ice.Current __current)
        Tests 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.
        Parameters:
        __current - The Current object for the invocation.
      • isGlobal

        boolean isGlobal​(Ice.Current __current)
        Marker interface which means that special rules apply for both reading and writing these instances.
        Parameters:
        __current - The Current object for the invocation.
      • isLink

        boolean isLink​(Ice.Current __current)
        A link between two other types. Methods provided: - getParent() - getChild()
        Parameters:
        __current - The Current object for the invocation.
      • isMutable

        boolean isMutable​(Ice.Current __current)
        The server will persist changes made to these types. Methods provided: - getVersion() - setVersion()
        Parameters:
        __current - The Current object for the invocation.
      • isAnnotated

        boolean isAnnotated​(Ice.Current __current)
        Allows for the attachment of any omero.model.Annotation subclasses. Methods provided are: - linkAnnotation(Annotation) -
        Parameters:
        __current - The Current object for the invocation.