Package omero.api

Class _IShareDisp

    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
    • Constructor Detail

      • _IShareDisp

        public _IShareDisp()
    • Method Detail

      • ice_copyStateFrom

        protected void ice_copyStateFrom​(Ice.Object __obj)
                                  throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException
      • ice_isA

        public boolean ice_isA​(java.lang.String s)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_isA

        public boolean ice_isA​(java.lang.String s,
                               Ice.Current __current)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids()
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids​(Ice.Current __current)
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id()
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id​(Ice.Current __current)
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_staticId

        public static java.lang.String ice_staticId()
      • activate_async

        public final void activate_async​(AMD_IShare_activate __cb,
                                         long shareId)
                                  throws ServerError
        Turns on the access control lists attached to the given share for the current session. Warning: this will slow down the execution of the current session for all database reads. Writing to the database will not be allowed. If share does not exist or is not accessible (non-members) or is disabled, then an ValidationException is thrown.
        Specified by:
        activate_async in interface _IShareOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • closeShare_async

        public final void closeShare_async​(AMD_IShare_closeShare __cb,
                                           long shareId)
                                    throws ServerError
        Closes Session share. No further logins will be possible and all getters (e.g. getMemberShares, getOwnShares, ...) will filter these results if onlyActive is true.
        Specified by:
        closeShare_async in interface _IShareOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • createShare_async

        public final void createShare_async​(AMD_IShare_createShare __cb,
                                            java.lang.String description,
                                            RTime expiration,
                                            java.util.List<IObject> items,
                                            java.util.List<Experimenter> exps,
                                            java.util.List<java.lang.String> guests,
                                            boolean enabled)
                                     throws ServerError
        Creates Session share with all related: IObject itmes, Experimenter members, and guests.
        Specified by:
        createShare_async in interface _IShareOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        enabled - if true, then the share is immediately available for use. If false, then the share is in draft state. All methods on this interface will work for shares except activate. Similarly, the share password cannot be used by guests to login.
        Throws:
        ServerError
      • getAllUsers_async

        public final void getAllUsers_async​(AMD_IShare_getAllUsers __cb,
                                            long shareId)
                                     throws ServerError,
                                            ValidationException
        Get a single set containing the omero.model.Experimenter.getOmeName login names of the users as well email addresses for guests.
        Specified by:
        getAllUsers_async in interface _IShareOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        shareId -
        Throws:
        ValidationException - if there is a conflict between email addresses and user names.
        ServerError
      • getMemberCount_async

        public final void getMemberCount_async​(AMD_IShare_getMemberCount __cb,
                                               java.util.List<java.lang.Long> shareIds)
                                        throws ServerError
        Returns a map from share id to the count of total members (including the owner). This is represented by ShareMember links.
        Specified by:
        getMemberCount_async in interface _IShareOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        shareIds - Not null.
        Throws:
        ValidationException - if a given share does not exist
        ServerError
      • getMemberShares_async

        public final void getMemberShares_async​(AMD_IShare_getMemberShares __cb,
                                                boolean active)
                                         throws ServerError
        Gets all shares where current Experimenter is a member.
        Specified by:
        getMemberShares_async in interface _IShareOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        active - if true, then only shares which can be used for login will be returned. All draft shares (see createShare) and closed shares (see closeShare) will be filtered.
        Throws:
        ServerError
      • getOwnShares_async

        public final void getOwnShares_async​(AMD_IShare_getOwnShares __cb,
                                             boolean active)
                                      throws ServerError
        Gets all owned shares for the current Experimenter.
        Specified by:
        getOwnShares_async in interface _IShareOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        active - if true, then only shares which can be used for login will be returned. All draft shares (see createShare) and closed shares (see closeShare) will be filtered.
        Throws:
        ServerError
      • ___activate

        public static Ice.DispatchStatus ___activate​(IShare __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___deactivate

        public static Ice.DispatchStatus ___deactivate​(IShare __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • ___getShare

        public static Ice.DispatchStatus ___getShare​(IShare __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___getMemberCount

        public static Ice.DispatchStatus ___getMemberCount​(IShare __obj,
                                                           IceInternal.Incoming __inS,
                                                           Ice.Current __current)
      • ___getOwnShares

        public static Ice.DispatchStatus ___getOwnShares​(IShare __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___getMemberShares

        public static Ice.DispatchStatus ___getMemberShares​(IShare __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___getSharesOwnedBy

        public static Ice.DispatchStatus ___getSharesOwnedBy​(IShare __obj,
                                                             IceInternal.Incoming __inS,
                                                             Ice.Current __current)
      • ___getMemberSharesFor

        public static Ice.DispatchStatus ___getMemberSharesFor​(IShare __obj,
                                                               IceInternal.Incoming __inS,
                                                               Ice.Current __current)
      • ___getContents

        public static Ice.DispatchStatus ___getContents​(IShare __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___getContentSubList

        public static Ice.DispatchStatus ___getContentSubList​(IShare __obj,
                                                              IceInternal.Incoming __inS,
                                                              Ice.Current __current)
      • ___getContentSize

        public static Ice.DispatchStatus ___getContentSize​(IShare __obj,
                                                           IceInternal.Incoming __inS,
                                                           Ice.Current __current)
      • ___getContentMap

        public static Ice.DispatchStatus ___getContentMap​(IShare __obj,
                                                          IceInternal.Incoming __inS,
                                                          Ice.Current __current)
      • ___createShare

        public static Ice.DispatchStatus ___createShare​(IShare __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___setDescription

        public static Ice.DispatchStatus ___setDescription​(IShare __obj,
                                                           IceInternal.Incoming __inS,
                                                           Ice.Current __current)
      • ___setExpiration

        public static Ice.DispatchStatus ___setExpiration​(IShare __obj,
                                                          IceInternal.Incoming __inS,
                                                          Ice.Current __current)
      • ___setActive

        public static Ice.DispatchStatus ___setActive​(IShare __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___closeShare

        public static Ice.DispatchStatus ___closeShare​(IShare __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • ___addObjects

        public static Ice.DispatchStatus ___addObjects​(IShare __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • ___addObject

        public static Ice.DispatchStatus ___addObject​(IShare __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___removeObjects

        public static Ice.DispatchStatus ___removeObjects​(IShare __obj,
                                                          IceInternal.Incoming __inS,
                                                          Ice.Current __current)
      • ___removeObject

        public static Ice.DispatchStatus ___removeObject​(IShare __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___getCommentCount

        public static Ice.DispatchStatus ___getCommentCount​(IShare __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___getComments

        public static Ice.DispatchStatus ___getComments​(IShare __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___addComment

        public static Ice.DispatchStatus ___addComment​(IShare __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • ___addReply

        public static Ice.DispatchStatus ___addReply​(IShare __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___deleteComment

        public static Ice.DispatchStatus ___deleteComment​(IShare __obj,
                                                          IceInternal.Incoming __inS,
                                                          Ice.Current __current)
      • ___getAllMembers

        public static Ice.DispatchStatus ___getAllMembers​(IShare __obj,
                                                          IceInternal.Incoming __inS,
                                                          Ice.Current __current)
      • ___getAllGuests

        public static Ice.DispatchStatus ___getAllGuests​(IShare __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___getAllUsers

        public static Ice.DispatchStatus ___getAllUsers​(IShare __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___addUsers

        public static Ice.DispatchStatus ___addUsers​(IShare __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___addGuests

        public static Ice.DispatchStatus ___addGuests​(IShare __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___removeUsers

        public static Ice.DispatchStatus ___removeUsers​(IShare __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___removeGuests

        public static Ice.DispatchStatus ___removeGuests​(IShare __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___addUser

        public static Ice.DispatchStatus ___addUser​(IShare __obj,
                                                    IceInternal.Incoming __inS,
                                                    Ice.Current __current)
      • ___addGuest

        public static Ice.DispatchStatus ___addGuest​(IShare __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___removeUser

        public static Ice.DispatchStatus ___removeUser​(IShare __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • ___removeGuest

        public static Ice.DispatchStatus ___removeGuest​(IShare __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___getActiveConnections

        public static Ice.DispatchStatus ___getActiveConnections​(IShare __obj,
                                                                 IceInternal.Incoming __inS,
                                                                 Ice.Current __current)
      • ___getPastConnections

        public static Ice.DispatchStatus ___getPastConnections​(IShare __obj,
                                                               IceInternal.Incoming __inS,
                                                               Ice.Current __current)
      • ___invalidateConnection

        public static Ice.DispatchStatus ___invalidateConnection​(IShare __obj,
                                                                 IceInternal.Incoming __inS,
                                                                 Ice.Current __current)
      • ___getEvents

        public static Ice.DispatchStatus ___getEvents​(IShare __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___notifyMembersOfShare

        public static Ice.DispatchStatus ___notifyMembersOfShare​(IShare __obj,
                                                                 IceInternal.Incoming __inS,
                                                                 Ice.Current __current)
      • __dispatch

        public Ice.DispatchStatus __dispatch​(IceInternal.Incoming in,
                                             Ice.Current __current)
        Specified by:
        __dispatch in interface Ice.Object
        Overrides:
        __dispatch in class Ice.ObjectImpl
      • __writeImpl

        protected void __writeImpl​(IceInternal.BasicStream __os)
        Overrides:
        __writeImpl in class Ice.ObjectImpl
      • __readImpl

        protected void __readImpl​(IceInternal.BasicStream __is)
        Overrides:
        __readImpl in class Ice.ObjectImpl