public abstract class _IAdminDisp extends Ice.ObjectImpl implements IAdmin
groups
.
Methods which return Experimenter
or
ExperimenterGroup
instances fetch and load all
related instances of ExperimenterGroup
or
Experimenter
, respectively.Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId
Constructor and Description |
---|
_IAdminDisp() |
Modifier and Type | Method and Description |
---|---|
static Ice.DispatchStatus |
___addGroupOwners(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___addGroups(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___canUpdate(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___changeExpiredCredentials(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___changeGroup(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___changeOwner(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___changePassword(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___changePasswordWithOldPassword(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___changePermissions(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___changeUserPassword(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___containedExperimenters(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___containedGroups(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createExperimenter(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createExperimenterWithPassword(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createGroup(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createRestrictedSystemUser(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createRestrictedSystemUserWithPassword(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createSystemUser(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createUser(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___deleteExperimenter(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___deleteGroup(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getAdminPrivileges(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getAdminsWithPrivileges(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getCurrentAdminPrivileges(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getDefaultGroup(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getEventContext(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getExperimenter(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getGroup(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getLeaderOfGroupIds(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getMemberOfGroupIds(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getMyUserPhotos(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getSecurityRoles(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___lookupExperimenter(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___lookupExperimenters(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___lookupGroup(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___lookupGroups(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___lookupLdapAuthExperimenter(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___lookupLdapAuthExperimenters(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___moveToCommonSpace(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___removeGroupOwners(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___removeGroups(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___reportForgottenPassword(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setAdminPrivileges(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setDefaultGroup(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setGroupOwner(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___synchronizeLoginCache(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___unsetGroupOwner(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___updateExperimenter(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___updateExperimenterWithPassword(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___updateGroup(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___updateSelf(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___uploadMyUserPhoto(IAdmin __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
void |
addGroupOwners_async(AMD_IAdmin_addGroupOwners __cb,
ExperimenterGroup group,
java.util.List<Experimenter> owners)
Adds the given users to the owner list for this group.
|
void |
addGroups_async(AMD_IAdmin_addGroups __cb,
Experimenter user,
java.util.List<ExperimenterGroup> groups)
Adds a user to the given groups.
|
void |
canUpdate_async(AMD_IAdmin_canUpdate __cb,
IObject obj)
Returns true if the currently logged in user can modify the
given
IObject . |
void |
changeExpiredCredentials_async(AMD_IAdmin_changeExpiredCredentials __cb,
java.lang.String name,
java.lang.String oldCred,
java.lang.String newCred)
Used after an
ExpiredCredentialException
instance is thrown. |
void |
changeGroup_async(AMD_IAdmin_changeGroup __cb,
IObject obj,
java.lang.String omeName)
Deprecated.
changeGroup() is deprecated. use omero::cmd::Chgrp2() instead.
|
void |
changeOwner_async(AMD_IAdmin_changeOwner __cb,
IObject obj,
java.lang.String omeName)
Deprecated.
changeOwner() is deprecated. use omero::cmd::Chown2() instead.
|
void |
changePassword_async(AMD_IAdmin_changePassword __cb,
RString newPassword)
Changes the password for the current user.
|
void |
changePasswordWithOldPassword_async(AMD_IAdmin_changePasswordWithOldPassword __cb,
RString oldPassword,
RString newPassword)
Changes the password for the current user by passing the
old password.
|
void |
changePermissions_async(AMD_IAdmin_changePermissions __cb,
IObject obj,
Permissions perms)
Deprecated.
changePermissions() is deprecated. use omero::cmd::Chmod2() instead.
|
void |
changeUserPassword_async(AMD_IAdmin_changeUserPassword __cb,
java.lang.String omeName,
RString newPassword)
Changes the password for the a given user.
|
void |
containedExperimenters_async(AMD_IAdmin_containedExperimenters __cb,
long groupId)
Fetches all
Experimenter users
contained in this group. |
void |
containedGroups_async(AMD_IAdmin_containedGroups __cb,
long experimenterId)
Fetches all
ExperimenterGroup groups of
which the given user is a member. |
void |
createExperimenter_async(AMD_IAdmin_createExperimenter __cb,
Experimenter user,
ExperimenterGroup defaultGroup,
java.util.List<ExperimenterGroup> groups)
Creates and returns a new user in the given groups.
|
void |
createExperimenterWithPassword_async(AMD_IAdmin_createExperimenterWithPassword __cb,
Experimenter user,
RString password,
ExperimenterGroup defaultGroup,
java.util.List<ExperimenterGroup> groups)
Creates and returns a new user in the given groups with
password.
|
void |
createGroup_async(AMD_IAdmin_createGroup __cb,
ExperimenterGroup group)
Creates and returns a new group.
|
void |
createRestrictedSystemUser_async(AMD_IAdmin_createRestrictedSystemUser __cb,
Experimenter experimenter,
java.util.List<AdminPrivilege> privileges)
Creates and returns a new system user.
|
void |
createRestrictedSystemUserWithPassword_async(AMD_IAdmin_createRestrictedSystemUserWithPassword __cb,
Experimenter experimenter,
java.util.List<AdminPrivilege> privileges,
RString password)
Creates and returns a new system user.
|
void |
createSystemUser_async(AMD_IAdmin_createSystemUser __cb,
Experimenter experimenter)
Creates and returns a new system user.
|
void |
createUser_async(AMD_IAdmin_createUser __cb,
Experimenter experimenter,
java.lang.String group)
Creates and returns a new user.
|
void |
deleteExperimenter_async(AMD_IAdmin_deleteExperimenter __cb,
Experimenter user)
Removes a user by removing the password information for
that user as well as all
GroupExperimenterMap instances. |
void |
deleteGroup_async(AMD_IAdmin_deleteGroup __cb,
ExperimenterGroup group)
Removes a group by first removing all users in the group,
and then deleting the actual
ExperimenterGroup instance. |
void |
getAdminPrivileges_async(AMD_IAdmin_getAdminPrivileges __cb,
Experimenter user)
Gets the light administrator privileges for the given user.
|
void |
getAdminsWithPrivileges_async(AMD_IAdmin_getAdminsWithPrivileges __cb,
java.util.List<AdminPrivilege> privileges)
Gets the administrators who have all the given privileges.
|
void |
getCurrentAdminPrivileges_async(AMD_IAdmin_getCurrentAdminPrivileges __cb)
Gets the light administrator privileges for the current user.
|
void |
getDefaultGroup_async(AMD_IAdmin_getDefaultGroup __cb,
long experimenterId)
Retrieves the default
ExperimenterGroup
group for the given user id. |
void |
getEventContext_async(AMD_IAdmin_getEventContext __cb)
Returns an implementation of
EventContext
loaded with the security for the current user and thread. |
void |
getExperimenter_async(AMD_IAdmin_getExperimenter __cb,
long id)
Fetches an
Experimenter and all related
ExperimenterGroup . |
void |
getGroup_async(AMD_IAdmin_getGroup __cb,
long id)
Fetches an
ExperimenterGroup and all
contained Experimenter users. |
void |
getLeaderOfGroupIds_async(AMD_IAdmin_getLeaderOfGroupIds __cb,
Experimenter exp)
Finds the ids for all groups for which the given
Experimenter is owner/leader. |
void |
getMemberOfGroupIds_async(AMD_IAdmin_getMemberOfGroupIds __cb,
Experimenter exp)
Finds the ids for all groups for which the given
Experimenter is a member. |
void |
getMyUserPhotos_async(AMD_IAdmin_getMyUserPhotos __cb)
Retrieves the
OriginalFile object
attached to this user as specified by
uploadMyUserPhoto . |
void |
getSecurityRoles_async(AMD_IAdmin_getSecurityRoles __cb)
Returns the active
Roles in use by the
server. |
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
void |
lookupExperimenter_async(AMD_IAdmin_lookupExperimenter __cb,
java.lang.String name)
Looks up an
Experimenter and all related
ExperimenterGroup by name. |
void |
lookupExperimenters_async(AMD_IAdmin_lookupExperimenters __cb)
Looks up all
Experimenter experimenters
present and all related
ExperimenterGroup groups. |
void |
lookupGroup_async(AMD_IAdmin_lookupGroup __cb,
java.lang.String name)
Looks up an
ExperimenterGroup and all
contained Experimenter users by name. |
void |
lookupGroups_async(AMD_IAdmin_lookupGroups __cb)
Looks up all
ExperimenterGroup groups
present and all related
Experimenter experimenters. |
void |
lookupLdapAuthExperimenter_async(AMD_IAdmin_lookupLdapAuthExperimenter __cb,
long id)
Looks up
Experimenter experimenters who
use LDAP authentication (has set dn on password table). |
void |
lookupLdapAuthExperimenters_async(AMD_IAdmin_lookupLdapAuthExperimenters __cb)
Looks up all ids of
Experimenter
experimenters who use LDAP authentication (has set dn on
password table). |
void |
moveToCommonSpace_async(AMD_IAdmin_moveToCommonSpace __cb,
java.util.List<IObject> objects)
Moves the given objects into the user group to make
them visible and linkable from all security contexts.
|
void |
removeGroupOwners_async(AMD_IAdmin_removeGroupOwners __cb,
ExperimenterGroup group,
java.util.List<Experimenter> owners)
removes the given users from the owner list for this group.
|
void |
removeGroups_async(AMD_IAdmin_removeGroups __cb,
Experimenter user,
java.util.List<ExperimenterGroup> groups)
Removes an experimenter from the given groups.
|
void |
reportForgottenPassword_async(AMD_IAdmin_reportForgottenPassword __cb,
java.lang.String name,
java.lang.String email)
Deprecated.
reportForgottenPassword() is deprecated. use omero::cmd::ResetPasswordRequest() instead.
|
void |
setAdminPrivileges_async(AMD_IAdmin_setAdminPrivileges __cb,
Experimenter user,
java.util.List<AdminPrivilege> privileges)
Sets the set of light administrator privileges for the given user.
|
void |
setDefaultGroup_async(AMD_IAdmin_setDefaultGroup __cb,
Experimenter user,
ExperimenterGroup group)
Sets the default group for a given user.
|
void |
setGroupOwner_async(AMD_IAdmin_setGroupOwner __cb,
ExperimenterGroup group,
Experimenter owner)
Adds the user to the owner list for this group.
|
void |
synchronizeLoginCache_async(AMD_IAdmin_synchronizeLoginCache __cb)
Uses JMX to refresh the login cache if supported.
|
void |
unsetGroupOwner_async(AMD_IAdmin_unsetGroupOwner __cb,
ExperimenterGroup group,
Experimenter owner)
Removes the user from the owner list for this group.
|
void |
updateExperimenter_async(AMD_IAdmin_updateExperimenter __cb,
Experimenter experimenter)
Updates an experimenter if admin or owner of group.
|
void |
updateExperimenterWithPassword_async(AMD_IAdmin_updateExperimenterWithPassword __cb,
Experimenter experimenter,
RString password)
Updates an experimenter if admin or owner of group.
|
void |
updateGroup_async(AMD_IAdmin_updateGroup __cb,
ExperimenterGroup group)
Updates an experimenter group if admin or owner of group.
|
void |
updateSelf_async(AMD_IAdmin_updateSelf __cb,
Experimenter experimenter)
Allows a user to update his/her own information.
|
void |
uploadMyUserPhoto_async(AMD_IAdmin_uploadMyUserPhoto __cb,
java.lang.String filename,
java.lang.String format,
byte[] data)
Uploads a photo for the user which will be displayed on
his/her profile.
|
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addGroupOwners_async, addGroups_async, canUpdate_async, changeExpiredCredentials_async, changeGroup_async, changeOwner_async, changePassword_async, changePasswordWithOldPassword_async, changePermissions_async, changeUserPassword_async, containedExperimenters_async, containedGroups_async, createExperimenter_async, createExperimenterWithPassword_async, createGroup_async, createRestrictedSystemUser_async, createRestrictedSystemUserWithPassword_async, createSystemUser_async, createUser_async, deleteExperimenter_async, deleteGroup_async, getAdminPrivileges_async, getAdminsWithPrivileges_async, getCurrentAdminPrivileges_async, getDefaultGroup_async, getEventContext_async, getExperimenter_async, getGroup_async, getLeaderOfGroupIds_async, getMemberOfGroupIds_async, getMyUserPhotos_async, getSecurityRoles_async, lookupExperimenter_async, lookupExperimenters_async, lookupGroup_async, lookupGroups_async, lookupLdapAuthExperimenter_async, lookupLdapAuthExperimenters_async, moveToCommonSpace_async, removeGroupOwners_async, removeGroups_async, reportForgottenPassword_async, setAdminPrivileges_async, setDefaultGroup_async, setGroupOwner_async, synchronizeLoginCache_async, unsetGroupOwner_async, updateExperimenter_async, updateExperimenterWithPassword_async, updateGroup_async, updateSelf_async, uploadMyUserPhoto_async
public static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean ice_isA(java.lang.String s)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public boolean ice_isA(java.lang.String s, Ice.Current __current)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public java.lang.String[] ice_ids()
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String[] ice_ids(Ice.Current __current)
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String ice_id()
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public java.lang.String ice_id(Ice.Current __current)
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public static java.lang.String ice_staticId()
public final void addGroupOwners_async(AMD_IAdmin_addGroupOwners __cb, ExperimenterGroup group, java.util.List<Experimenter> owners) throws ServerError
addGroupOwners_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.group
- A currently managed
ExperimenterGroup
. Not null.owners
- A set of currently managed
Experimenter
s. Not null.ServerError
public final void addGroups_async(AMD_IAdmin_addGroups __cb, Experimenter user, java.util.List<ExperimenterGroup> groups) throws ServerError
addGroups_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.user
- A currently managed entity. Not null.ServerError
public final void canUpdate_async(AMD_IAdmin_canUpdate __cb, IObject obj) throws ServerError
IObject
. This uses the same logic
that would be applied during a Hibernate flush to the
database.canUpdate_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void changeExpiredCredentials_async(AMD_IAdmin_changeExpiredCredentials __cb, java.lang.String name, java.lang.String oldCred, java.lang.String newCred) throws ServerError
ExpiredCredentialException
instance is thrown.changeExpiredCredentials_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void changeGroup_async(AMD_IAdmin_changeGroup __cb, IObject obj, java.lang.String omeName) throws ServerError
changeGroup_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void changeOwner_async(AMD_IAdmin_changeOwner __cb, IObject obj, java.lang.String omeName) throws ServerError
changeOwner_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void changePassword_async(AMD_IAdmin_changePassword __cb, RString newPassword) throws ServerError
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
.
changePassword_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.newPassword
- Possibly null to allow logging in with
no password.SecurityViolation
- if the user is not authenticated
with a password.ServerError
public final void changePasswordWithOldPassword_async(AMD_IAdmin_changePasswordWithOldPassword __cb, RString oldPassword, RString newPassword) throws ServerError
changePasswordWithOldPassword_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.oldPassword
- Not-null. Must pass validation in the
security sub-system.newPassword
- Possibly null to allow logging in with
no password.SecurityViolation
- if the oldPassword is incorrect.ServerError
public final void changePermissions_async(AMD_IAdmin_changePermissions __cb, IObject obj, Permissions perms) throws ServerError
changePermissions_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void changeUserPassword_async(AMD_IAdmin_changeUserPassword __cb, java.lang.String omeName, RString newPassword) throws ServerError
changeUserPassword_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.newPassword
- Not-null. Might must pass validation in
the security sub-system.SecurityViolation
- if the new password is too weak.ServerError
public final void containedExperimenters_async(AMD_IAdmin_containedExperimenters __cb, long groupId) throws ServerError
Experimenter
users
contained in this group. The returned users will have all
fields filled in and all collections unloaded.containedExperimenters_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.groupId
- id of the ExperimenterGroupServerError
public final void containedGroups_async(AMD_IAdmin_containedGroups __cb, long experimenterId) throws ServerError
ExperimenterGroup
groups of
which the given user is a member. The returned groups will
have all fields filled in and all collections unloaded.containedGroups_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.experimenterId
- id of the Experimenter. Not null.ServerError
public final void createExperimenter_async(AMD_IAdmin_createExperimenter __cb, Experimenter user, ExperimenterGroup defaultGroup, java.util.List<ExperimenterGroup> groups) throws ServerError
createExperimenter_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.user
- A new Experimenter
instance. Not null.defaultGroup
- Instance of
ExperimenterGroup
. Not null.groups
- Array of
ExperimenterGroup
instances. Can
be null.ServerError
public final void createExperimenterWithPassword_async(AMD_IAdmin_createExperimenterWithPassword __cb, Experimenter user, RString password, ExperimenterGroup defaultGroup, java.util.List<ExperimenterGroup> groups) throws ServerError
createExperimenterWithPassword_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.user
- A new Experimenter
instance. Not null.password
- Not-null. Must pass validation in the
security sub-system.defaultGroup
- Instance of
ExperimenterGroup
. Not null.groups
- Array of
ExperimenterGroup
instances. Can
be null.SecurityViolation
- if the new password is too weak.ServerError
public final void createGroup_async(AMD_IAdmin_createGroup __cb, ExperimenterGroup group) throws ServerError
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 1434createGroup_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.group
- a new
ExperimenterGroup
instance. Not null.ServerError
public final void createRestrictedSystemUser_async(AMD_IAdmin_createRestrictedSystemUser __cb, Experimenter experimenter, java.util.List<AdminPrivilege> privileges) throws ServerError
createRestrictedSystemUser_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.experimenter
- a new Experimenter
instanceprivileges
- the privileges to set for the userServerError
public final void createRestrictedSystemUserWithPassword_async(AMD_IAdmin_createRestrictedSystemUserWithPassword __cb, Experimenter experimenter, java.util.List<AdminPrivilege> privileges, RString password) throws ServerError
createRestrictedSystemUserWithPassword_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.experimenter
- a new Experimenter
instanceprivileges
- the privileges to set for the userServerError
public final void createSystemUser_async(AMD_IAdmin_createSystemUser __cb, Experimenter experimenter) throws ServerError
createSystemUser_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.experimenter
- a new Experimenter
instanceServerError
public final void createUser_async(AMD_IAdmin_createUser __cb, Experimenter experimenter, java.lang.String group) throws ServerError
createUser_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.experimenter
- a new Experimenter
instancegroup
- group name of the default group for this userServerError
public final void deleteExperimenter_async(AMD_IAdmin_deleteExperimenter __cb, Experimenter user) throws ServerError
GroupExperimenterMap
instances.deleteExperimenter_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.user
- Experimenter to be deleted. Not null.ServerError
public final void deleteGroup_async(AMD_IAdmin_deleteGroup __cb, ExperimenterGroup group) throws ServerError
ExperimenterGroup
instance.deleteGroup_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.group
- ExperimenterGroup
to be
deleted. Not null.ServerError
public final void getAdminPrivileges_async(AMD_IAdmin_getAdminPrivileges __cb, Experimenter user) throws ServerError
getAdminPrivileges_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.user
- the user whose privileges are being queriedServerError
public final void getAdminsWithPrivileges_async(AMD_IAdmin_getAdminsWithPrivileges __cb, java.util.List<AdminPrivilege> privileges) throws ServerError
getAdminsWithPrivileges_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.privileges
- the required privilegesServerError
public final void getCurrentAdminPrivileges_async(AMD_IAdmin_getCurrentAdminPrivileges __cb) throws ServerError
getCurrentAdminPrivileges_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getDefaultGroup_async(AMD_IAdmin_getDefaultGroup __cb, long experimenterId) throws ServerError
ExperimenterGroup
group for the given user id.getDefaultGroup_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.experimenterId
- of the Experimenter. Not null.ServerError
public final void getEventContext_async(AMD_IAdmin_getEventContext __cb) throws ServerError
EventContext
loaded with the security for the current user and thread.
If called remotely, not all values of
EventContext
will be sensible.getEventContext_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getExperimenter_async(AMD_IAdmin_getExperimenter __cb, long id) throws ServerError
Experimenter
and all related
ExperimenterGroup
.getExperimenter_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.id
- id of the ExperimenterApiUsageException
- if id does not exist.ServerError
public final void getGroup_async(AMD_IAdmin_getGroup __cb, long id) throws ServerError
ExperimenterGroup
and all
contained Experimenter
users.getGroup_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.id
- id of the ExperimenterGroupApiUsageException
- if id does not exist.ServerError
public final void getLeaderOfGroupIds_async(AMD_IAdmin_getLeaderOfGroupIds __cb, Experimenter exp) throws ServerError
Experimenter
is owner/leader.getLeaderOfGroupIds_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.exp
- Non-null, managed (i.e. with id)ServerError
public final void getMemberOfGroupIds_async(AMD_IAdmin_getMemberOfGroupIds __cb, Experimenter exp) throws ServerError
Experimenter
is a member.getMemberOfGroupIds_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.exp
- Non-null, managed (i.e. with id)ServerError
public final void getMyUserPhotos_async(AMD_IAdmin_getMyUserPhotos __cb) throws ServerError
OriginalFile
object
attached to this user as specified by
uploadMyUserPhoto
.
The return value is order by the most recently modified
file first.getMyUserPhotos_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getSecurityRoles_async(AMD_IAdmin_getSecurityRoles __cb) throws ServerError
Roles
in use by the
server.getSecurityRoles_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void lookupExperimenter_async(AMD_IAdmin_lookupExperimenter __cb, java.lang.String name) throws ServerError
Experimenter
and all related
ExperimenterGroup
by name.lookupExperimenter_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.name
- Name of the ExperimenterApiUsageException
- if omeName does not exist.ServerError
public final void lookupExperimenters_async(AMD_IAdmin_lookupExperimenters __cb) throws ServerError
Experimenter
experimenters
present and all related
ExperimenterGroup
groups.lookupExperimenters_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void lookupGroup_async(AMD_IAdmin_lookupGroup __cb, java.lang.String name) throws ServerError
ExperimenterGroup
and all
contained Experimenter
users by name.lookupGroup_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.name
- Name of the ExperimenterGroupApiUsageException
- if groupName does not exist.ServerError
public final void lookupGroups_async(AMD_IAdmin_lookupGroups __cb) throws ServerError
ExperimenterGroup
groups
present and all related
Experimenter
experimenters. The
experimenter's groups are also loaded.lookupGroups_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void lookupLdapAuthExperimenter_async(AMD_IAdmin_lookupLdapAuthExperimenter __cb, long id) throws ServerError
Experimenter
experimenters who
use LDAP authentication (has set dn on password table).lookupLdapAuthExperimenter_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.id
- id of the Experimenter. Not null.ServerError
public final void lookupLdapAuthExperimenters_async(AMD_IAdmin_lookupLdapAuthExperimenters __cb) throws ServerError
Experimenter
experimenters who use LDAP authentication (has set dn on
password table).lookupLdapAuthExperimenters_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void moveToCommonSpace_async(AMD_IAdmin_moveToCommonSpace __cb, java.util.List<IObject> objects) throws ServerError
moveToCommonSpace_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.objects
- ServerError
public final void removeGroupOwners_async(AMD_IAdmin_removeGroupOwners __cb, ExperimenterGroup group, java.util.List<Experimenter> owners) throws ServerError
removeGroupOwners_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.group
- A currently managed
ExperimenterGroup
. Notowners
- A set of currently managed
Experimenter
s. Not null.ServerError
public final void removeGroups_async(AMD_IAdmin_removeGroups __cb, Experimenter user, java.util.List<ExperimenterGroup> groups) throws ServerError
removeGroups_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.user
- A currently managed entity. Not null.ServerError
public final void reportForgottenPassword_async(AMD_IAdmin_reportForgottenPassword __cb, java.lang.String name, java.lang.String email) throws ServerError
reportForgottenPassword_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void setAdminPrivileges_async(AMD_IAdmin_setAdminPrivileges __cb, Experimenter user, java.util.List<AdminPrivilege> privileges) throws ServerError
setAdminPrivileges_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.user
- the user whose privileges are to be setServerError
public final void setDefaultGroup_async(AMD_IAdmin_setDefaultGroup __cb, Experimenter user, ExperimenterGroup group) throws ServerError
setDefaultGroup_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.user
- A currently managed
Experimenter
. Not null.group
- The group which should be set as default group
for this user. Not null.ServerError
public final void setGroupOwner_async(AMD_IAdmin_setGroupOwner __cb, ExperimenterGroup group, Experimenter owner) throws ServerError
setGroupOwner_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.group
- A currently managed
ExperimenterGroup
. Not null.owner
- A currently managed
Experimenter
. Not null.ServerError
public final void synchronizeLoginCache_async(AMD_IAdmin_synchronizeLoginCache __cb) throws ServerError
synchronizeLoginCache_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void unsetGroupOwner_async(AMD_IAdmin_unsetGroupOwner __cb, ExperimenterGroup group, Experimenter owner) throws ServerError
unsetGroupOwner_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.group
- A currently managed
ExperimenterGroup
. Not null.owner
- A currently managed
Experimenter
. Not null.ServerError
public final void updateExperimenter_async(AMD_IAdmin_updateExperimenter __cb, Experimenter experimenter) throws ServerError
#updateSelf
if the
current user matches the given experimenter.updateExperimenter_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.experimenter
- the Experimenter to update.ServerError
public final void updateExperimenterWithPassword_async(AMD_IAdmin_updateExperimenterWithPassword __cb, Experimenter experimenter, RString password) throws ServerError
updateExperimenterWithPassword_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.experimenter
- the Experimenter to update.ServerError
public final void updateGroup_async(AMD_IAdmin_updateGroup __cb, ExperimenterGroup group) throws ServerError
updateGroup_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.group
- the ExperimenterGroup to update.ServerError
public final void updateSelf_async(AMD_IAdmin_updateSelf __cb, Experimenter experimenter) throws ServerError
setDefaultGroup
updateSelf_async
in interface _IAdminOperationsNC
__cb
- The callback object for the operation.ServerError
public final void uploadMyUserPhoto_async(AMD_IAdmin_uploadMyUserPhoto __cb, java.lang.String filename, java.lang.String format, byte[] data) throws ServerError
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.uploadMyUserPhoto_async
in interface _IAdminOperationsNC
__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.ServerError
public static Ice.DispatchStatus ___canUpdate(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getExperimenter(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___lookupExperimenter(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___lookupExperimenters(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getGroup(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___lookupGroup(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___lookupGroups(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___containedExperimenters(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___containedGroups(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getDefaultGroup(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___lookupLdapAuthExperimenter(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___lookupLdapAuthExperimenters(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getMemberOfGroupIds(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getLeaderOfGroupIds(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getCurrentAdminPrivileges(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getAdminPrivileges(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getAdminsWithPrivileges(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___updateSelf(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___uploadMyUserPhoto(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getMyUserPhotos(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___updateExperimenter(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___updateExperimenterWithPassword(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___updateGroup(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createUser(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createSystemUser(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createRestrictedSystemUser(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createRestrictedSystemUserWithPassword(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createExperimenter(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createExperimenterWithPassword(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createGroup(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___addGroups(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___removeGroups(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setDefaultGroup(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setGroupOwner(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___unsetGroupOwner(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___addGroupOwners(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___removeGroupOwners(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___deleteExperimenter(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___deleteGroup(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___changeOwner(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___changeGroup(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___changePermissions(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___moveToCommonSpace(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setAdminPrivileges(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___changePassword(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___changePasswordWithOldPassword(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___changeUserPassword(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___synchronizeLoginCache(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___changeExpiredCredentials(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___reportForgottenPassword(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getSecurityRoles(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getEventContext(IAdmin __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch
in interface Ice.Object
__dispatch
in class Ice.ObjectImpl
protected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl
in class Ice.ObjectImpl
protected void __readImpl(IceInternal.BasicStream __is)
__readImpl
in class Ice.ObjectImpl