Package omero.api

Class _IAdminDisp

    • Field Detail

      • __ids

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

      • _IAdminDisp

        public _IAdminDisp()
    • 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()
      • changePassword_async

        public final void changePassword_async​(AMD_IAdmin_changePassword __cb,
                                               RString newPassword)
                                        throws ServerError
        Changes the password for the current user.

        Warning:This method requires the user to be authenticated with a password and not with a one-time session id. To avoid this problem, use changePasswordWithOldPassword.

        See also ticket 911 and ticket 3201
        Specified by:
        changePassword_async in interface _IAdminOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        newPassword - Possibly null to allow logging in with no password.
        Throws:
        SecurityViolation - if the user is not authenticated with a password.
        ServerError
      • changeUserPassword_async

        public final void changeUserPassword_async​(AMD_IAdmin_changeUserPassword __cb,
                                                   java.lang.String omeName,
                                                   RString newPassword)
                                            throws ServerError
        Changes the password for the a given user.
        Specified by:
        changeUserPassword_async in interface _IAdminOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        newPassword - Not-null. Might must pass validation in the security sub-system.
        Throws:
        SecurityViolation - if the new password is too weak.
        ServerError
      • createGroup_async

        public final void createGroup_async​(AMD_IAdmin_createGroup __cb,
                                            ExperimenterGroup group)
                                     throws ServerError
        Creates and returns a new group. The omero.model.Details.setPermissions method should be called on the instance which is passed. The given Permissions will become the default for all objects created while logged into this group, possibly modified by the user's umask settings. If no permissions is set, the default will be omero.model.Permissions.USER_PRIVATE, i.e. a group in which no user can see the other group member's data. See also ticket 1434
        Specified by:
        createGroup_async in interface _IAdminOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        group - a new ExperimenterGroup instance. Not null.
        Throws:
        ServerError
      • removeGroups_async

        public final void removeGroups_async​(AMD_IAdmin_removeGroups __cb,
                                             Experimenter user,
                                             java.util.List<ExperimenterGroup> groups)
                                      throws ServerError
        Removes an experimenter from the given groups.
        • The root experimenter is required to be in both the user and system groups.
        • An experimenter may not remove themselves from the user or system group.
        • An experimenter may not be a member of only the user group, some other group is also required as the default group.
        • An experimenter must remain a member of some group.
        Specified by:
        removeGroups_async in interface _IAdminOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        user - A currently managed entity. Not null.
        Throws:
        ServerError
      • synchronizeLoginCache_async

        public final void synchronizeLoginCache_async​(AMD_IAdmin_synchronizeLoginCache __cb)
                                               throws ServerError
        Uses JMX to refresh the login cache if supported. Some backends may not provide refreshing. This may be called internally during some other administrative tasks. The exact implementation of this depends on the application server and the authentication/authorization backend.
        Specified by:
        synchronizeLoginCache_async in interface _IAdminOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • updateExperimenter_async

        public final void updateExperimenter_async​(AMD_IAdmin_updateExperimenter __cb,
                                                   Experimenter experimenter)
                                            throws ServerError
        Updates an experimenter if admin or owner of group. Only string fields on the object are taken into account. The root and guest experimenters may not be renamed. Before a SecurityViolation would be thrown, however, this method will pass to #updateSelf if the current user matches the given experimenter.
        Specified by:
        updateExperimenter_async in interface _IAdminOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        experimenter - the Experimenter to update.
        Throws:
        ServerError
      • updateGroup_async

        public final void updateGroup_async​(AMD_IAdmin_updateGroup __cb,
                                            ExperimenterGroup group)
                                     throws ServerError
        Updates an experimenter group if admin or owner of group. Only string fields on the object are taken into account. The root, system and guest groups may not be renamed, nor may the user's current group.
        Specified by:
        updateGroup_async in interface _IAdminOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        group - the ExperimenterGroup to update.
        Throws:
        ServerError
      • updateSelf_async

        public final void updateSelf_async​(AMD_IAdmin_updateSelf __cb,
                                           Experimenter experimenter)
                                    throws ServerError
        Allows a user to update his/her own information. This is limited to the fields on Experimenter, all other fields (groups, etc.) are ignored. The experimenter argument need not have the proper id nor the proper omeName (which is immutable). To change the users default group (which is the only other customizable option), use setDefaultGroup
        Specified by:
        updateSelf_async in interface _IAdminOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • uploadMyUserPhoto_async

        public final void uploadMyUserPhoto_async​(AMD_IAdmin_uploadMyUserPhoto __cb,
                                                  java.lang.String filename,
                                                  java.lang.String format,
                                                  byte[] data)
                                           throws ServerError
        Uploads a photo for the user which will be displayed on his/her profile. This photo will be saved as an OriginalFile object with the given format, and attached to the user's Experimenter object via an FileAnnotation with the namespace: openmicroscopy.org/omero/experimenter/photo (NSEXPERIMENTERPHOTO). If such an OriginalFile instance already exists, it will be overwritten. If more than one photo is present, the oldest version will be modified (i.e. the highest updateEvent id). Note: as outlined in ticket 1794 this photo will be placed in the user group and therefore will be visible to everyone on the system.
        Specified by:
        uploadMyUserPhoto_async in interface _IAdminOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        filename - Not null. String name which will be used.
        data - Not null. Data from the image. This will be written to disk.
        Throws:
        ServerError
      • ___canUpdate

        public static Ice.DispatchStatus ___canUpdate​(IAdmin __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___getExperimenter

        public static Ice.DispatchStatus ___getExperimenter​(IAdmin __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___lookupExperimenter

        public static Ice.DispatchStatus ___lookupExperimenter​(IAdmin __obj,
                                                               IceInternal.Incoming __inS,
                                                               Ice.Current __current)
      • ___lookupExperimenters

        public static Ice.DispatchStatus ___lookupExperimenters​(IAdmin __obj,
                                                                IceInternal.Incoming __inS,
                                                                Ice.Current __current)
      • ___getGroup

        public static Ice.DispatchStatus ___getGroup​(IAdmin __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___lookupGroup

        public static Ice.DispatchStatus ___lookupGroup​(IAdmin __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___lookupGroups

        public static Ice.DispatchStatus ___lookupGroups​(IAdmin __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___containedExperimenters

        public static Ice.DispatchStatus ___containedExperimenters​(IAdmin __obj,
                                                                   IceInternal.Incoming __inS,
                                                                   Ice.Current __current)
      • ___containedGroups

        public static Ice.DispatchStatus ___containedGroups​(IAdmin __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___getDefaultGroup

        public static Ice.DispatchStatus ___getDefaultGroup​(IAdmin __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___lookupLdapAuthExperimenter

        public static Ice.DispatchStatus ___lookupLdapAuthExperimenter​(IAdmin __obj,
                                                                       IceInternal.Incoming __inS,
                                                                       Ice.Current __current)
      • ___lookupLdapAuthExperimenters

        public static Ice.DispatchStatus ___lookupLdapAuthExperimenters​(IAdmin __obj,
                                                                        IceInternal.Incoming __inS,
                                                                        Ice.Current __current)
      • ___getMemberOfGroupIds

        public static Ice.DispatchStatus ___getMemberOfGroupIds​(IAdmin __obj,
                                                                IceInternal.Incoming __inS,
                                                                Ice.Current __current)
      • ___getLeaderOfGroupIds

        public static Ice.DispatchStatus ___getLeaderOfGroupIds​(IAdmin __obj,
                                                                IceInternal.Incoming __inS,
                                                                Ice.Current __current)
      • ___getCurrentAdminPrivileges

        public static Ice.DispatchStatus ___getCurrentAdminPrivileges​(IAdmin __obj,
                                                                      IceInternal.Incoming __inS,
                                                                      Ice.Current __current)
      • ___getAdminPrivileges

        public static Ice.DispatchStatus ___getAdminPrivileges​(IAdmin __obj,
                                                               IceInternal.Incoming __inS,
                                                               Ice.Current __current)
      • ___getAdminsWithPrivileges

        public static Ice.DispatchStatus ___getAdminsWithPrivileges​(IAdmin __obj,
                                                                    IceInternal.Incoming __inS,
                                                                    Ice.Current __current)
      • ___updateSelf

        public static Ice.DispatchStatus ___updateSelf​(IAdmin __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • ___uploadMyUserPhoto

        public static Ice.DispatchStatus ___uploadMyUserPhoto​(IAdmin __obj,
                                                              IceInternal.Incoming __inS,
                                                              Ice.Current __current)
      • ___getMyUserPhotos

        public static Ice.DispatchStatus ___getMyUserPhotos​(IAdmin __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___updateExperimenter

        public static Ice.DispatchStatus ___updateExperimenter​(IAdmin __obj,
                                                               IceInternal.Incoming __inS,
                                                               Ice.Current __current)
      • ___updateExperimenterWithPassword

        public static Ice.DispatchStatus ___updateExperimenterWithPassword​(IAdmin __obj,
                                                                           IceInternal.Incoming __inS,
                                                                           Ice.Current __current)
      • ___updateGroup

        public static Ice.DispatchStatus ___updateGroup​(IAdmin __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___createUser

        public static Ice.DispatchStatus ___createUser​(IAdmin __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • ___createSystemUser

        public static Ice.DispatchStatus ___createSystemUser​(IAdmin __obj,
                                                             IceInternal.Incoming __inS,
                                                             Ice.Current __current)
      • ___createRestrictedSystemUser

        public static Ice.DispatchStatus ___createRestrictedSystemUser​(IAdmin __obj,
                                                                       IceInternal.Incoming __inS,
                                                                       Ice.Current __current)
      • ___createRestrictedSystemUserWithPassword

        public static Ice.DispatchStatus ___createRestrictedSystemUserWithPassword​(IAdmin __obj,
                                                                                   IceInternal.Incoming __inS,
                                                                                   Ice.Current __current)
      • ___createExperimenter

        public static Ice.DispatchStatus ___createExperimenter​(IAdmin __obj,
                                                               IceInternal.Incoming __inS,
                                                               Ice.Current __current)
      • ___createExperimenterWithPassword

        public static Ice.DispatchStatus ___createExperimenterWithPassword​(IAdmin __obj,
                                                                           IceInternal.Incoming __inS,
                                                                           Ice.Current __current)
      • ___createGroup

        public static Ice.DispatchStatus ___createGroup​(IAdmin __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___addGroups

        public static Ice.DispatchStatus ___addGroups​(IAdmin __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___removeGroups

        public static Ice.DispatchStatus ___removeGroups​(IAdmin __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___setDefaultGroup

        public static Ice.DispatchStatus ___setDefaultGroup​(IAdmin __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___setGroupOwner

        public static Ice.DispatchStatus ___setGroupOwner​(IAdmin __obj,
                                                          IceInternal.Incoming __inS,
                                                          Ice.Current __current)
      • ___unsetGroupOwner

        public static Ice.DispatchStatus ___unsetGroupOwner​(IAdmin __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___addGroupOwners

        public static Ice.DispatchStatus ___addGroupOwners​(IAdmin __obj,
                                                           IceInternal.Incoming __inS,
                                                           Ice.Current __current)
      • ___removeGroupOwners

        public static Ice.DispatchStatus ___removeGroupOwners​(IAdmin __obj,
                                                              IceInternal.Incoming __inS,
                                                              Ice.Current __current)
      • ___deleteExperimenter

        public static Ice.DispatchStatus ___deleteExperimenter​(IAdmin __obj,
                                                               IceInternal.Incoming __inS,
                                                               Ice.Current __current)
      • ___deleteGroup

        public static Ice.DispatchStatus ___deleteGroup​(IAdmin __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___changeOwner

        public static Ice.DispatchStatus ___changeOwner​(IAdmin __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___changeGroup

        public static Ice.DispatchStatus ___changeGroup​(IAdmin __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___changePermissions

        public static Ice.DispatchStatus ___changePermissions​(IAdmin __obj,
                                                              IceInternal.Incoming __inS,
                                                              Ice.Current __current)
      • ___moveToCommonSpace

        public static Ice.DispatchStatus ___moveToCommonSpace​(IAdmin __obj,
                                                              IceInternal.Incoming __inS,
                                                              Ice.Current __current)
      • ___setAdminPrivileges

        public static Ice.DispatchStatus ___setAdminPrivileges​(IAdmin __obj,
                                                               IceInternal.Incoming __inS,
                                                               Ice.Current __current)
      • ___changePassword

        public static Ice.DispatchStatus ___changePassword​(IAdmin __obj,
                                                           IceInternal.Incoming __inS,
                                                           Ice.Current __current)
      • ___changePasswordWithOldPassword

        public static Ice.DispatchStatus ___changePasswordWithOldPassword​(IAdmin __obj,
                                                                          IceInternal.Incoming __inS,
                                                                          Ice.Current __current)
      • ___changeUserPassword

        public static Ice.DispatchStatus ___changeUserPassword​(IAdmin __obj,
                                                               IceInternal.Incoming __inS,
                                                               Ice.Current __current)
      • ___synchronizeLoginCache

        public static Ice.DispatchStatus ___synchronizeLoginCache​(IAdmin __obj,
                                                                  IceInternal.Incoming __inS,
                                                                  Ice.Current __current)
      • ___changeExpiredCredentials

        public static Ice.DispatchStatus ___changeExpiredCredentials​(IAdmin __obj,
                                                                     IceInternal.Incoming __inS,
                                                                     Ice.Current __current)
      • ___reportForgottenPassword

        public static Ice.DispatchStatus ___reportForgottenPassword​(IAdmin __obj,
                                                                    IceInternal.Incoming __inS,
                                                                    Ice.Current __current)
      • ___getSecurityRoles

        public static Ice.DispatchStatus ___getSecurityRoles​(IAdmin __obj,
                                                             IceInternal.Incoming __inS,
                                                             Ice.Current __current)
      • ___getEventContext

        public static Ice.DispatchStatus ___getEventContext​(IAdmin __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