Package omero.api
Class _IAdminTie
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.api._IAdminDisp
-
- omero.api._IAdminTie
-
- All Implemented Interfaces:
Ice.Object
,Ice.TieBase
,java.io.Serializable
,java.lang.Cloneable
,_IAdminOperations
,_IAdminOperationsNC
,_ServiceInterfaceOperations
,_ServiceInterfaceOperationsNC
,IAdmin
,ServiceInterface
public class _IAdminTie extends _IAdminDisp implements Ice.TieBase
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Fields inherited from class omero.api._IAdminDisp
__ids
-
Fields inherited from interface omero.api.IAdmin
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _IAdminTie()
_IAdminTie(_IAdminOperations delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addGroupOwners_async(AMD_IAdmin_addGroupOwners __cb, ExperimenterGroup group, java.util.List<Experimenter> owners, Ice.Current __current)
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, Ice.Current __current)
Adds a user to the given groups.void
canUpdate_async(AMD_IAdmin_canUpdate __cb, IObject obj, Ice.Current __current)
Returns true if the currently logged in user can modify the givenIObject
.void
changeExpiredCredentials_async(AMD_IAdmin_changeExpiredCredentials __cb, java.lang.String name, java.lang.String oldCred, java.lang.String newCred, Ice.Current __current)
Used after anExpiredCredentialException
instance is thrown.void
changeGroup_async(AMD_IAdmin_changeGroup __cb, IObject obj, java.lang.String omeName, Ice.Current __current)
Deprecated.void
changeOwner_async(AMD_IAdmin_changeOwner __cb, IObject obj, java.lang.String omeName, Ice.Current __current)
Deprecated.void
changePassword_async(AMD_IAdmin_changePassword __cb, RString newPassword, Ice.Current __current)
Changes the password for the current user.void
changePasswordWithOldPassword_async(AMD_IAdmin_changePasswordWithOldPassword __cb, RString oldPassword, RString newPassword, Ice.Current __current)
Changes the password for the current user by passing the old password.void
changePermissions_async(AMD_IAdmin_changePermissions __cb, IObject obj, Permissions perms, Ice.Current __current)
Deprecated.void
changeUserPassword_async(AMD_IAdmin_changeUserPassword __cb, java.lang.String omeName, RString newPassword, Ice.Current __current)
Changes the password for the a given user.void
containedExperimenters_async(AMD_IAdmin_containedExperimenters __cb, long groupId, Ice.Current __current)
Fetches allExperimenter
users contained in this group.void
containedGroups_async(AMD_IAdmin_containedGroups __cb, long experimenterId, Ice.Current __current)
Fetches allExperimenterGroup
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, Ice.Current __current)
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, Ice.Current __current)
Creates and returns a new user in the given groups with password.void
createGroup_async(AMD_IAdmin_createGroup __cb, ExperimenterGroup group, Ice.Current __current)
Creates and returns a new group.void
createRestrictedSystemUser_async(AMD_IAdmin_createRestrictedSystemUser __cb, Experimenter experimenter, java.util.List<AdminPrivilege> privileges, Ice.Current __current)
Creates and returns a new system user.void
createRestrictedSystemUserWithPassword_async(AMD_IAdmin_createRestrictedSystemUserWithPassword __cb, Experimenter experimenter, java.util.List<AdminPrivilege> privileges, RString password, Ice.Current __current)
Creates and returns a new system user.void
createSystemUser_async(AMD_IAdmin_createSystemUser __cb, Experimenter experimenter, Ice.Current __current)
Creates and returns a new system user.void
createUser_async(AMD_IAdmin_createUser __cb, Experimenter experimenter, java.lang.String group, Ice.Current __current)
Creates and returns a new user.void
deleteExperimenter_async(AMD_IAdmin_deleteExperimenter __cb, Experimenter user, Ice.Current __current)
Removes a user by removing the password information for that user as well as allGroupExperimenterMap
instances.void
deleteGroup_async(AMD_IAdmin_deleteGroup __cb, ExperimenterGroup group, Ice.Current __current)
Removes a group by first removing all users in the group, and then deleting the actualExperimenterGroup
instance.boolean
equals(java.lang.Object rhs)
void
getAdminPrivileges_async(AMD_IAdmin_getAdminPrivileges __cb, Experimenter user, Ice.Current __current)
Gets the light administrator privileges for the given user.void
getAdminsWithPrivileges_async(AMD_IAdmin_getAdminsWithPrivileges __cb, java.util.List<AdminPrivilege> privileges, Ice.Current __current)
Gets the administrators who have all the given privileges.void
getCurrentAdminPrivileges_async(AMD_IAdmin_getCurrentAdminPrivileges __cb, Ice.Current __current)
Gets the light administrator privileges for the current user.void
getDefaultGroup_async(AMD_IAdmin_getDefaultGroup __cb, long experimenterId, Ice.Current __current)
Retrieves the defaultExperimenterGroup
group for the given user id.void
getEventContext_async(AMD_IAdmin_getEventContext __cb, Ice.Current __current)
Returns an implementation ofEventContext
loaded with the security for the current user and thread.void
getExperimenter_async(AMD_IAdmin_getExperimenter __cb, long id, Ice.Current __current)
Fetches anExperimenter
and all relatedExperimenterGroup
.void
getGroup_async(AMD_IAdmin_getGroup __cb, long id, Ice.Current __current)
Fetches anExperimenterGroup
and all containedExperimenter
users.void
getLeaderOfGroupIds_async(AMD_IAdmin_getLeaderOfGroupIds __cb, Experimenter exp, Ice.Current __current)
Finds the ids for all groups for which the givenExperimenter
is owner/leader.void
getMemberOfGroupIds_async(AMD_IAdmin_getMemberOfGroupIds __cb, Experimenter exp, Ice.Current __current)
Finds the ids for all groups for which the givenExperimenter
is a member.void
getMyUserPhotos_async(AMD_IAdmin_getMyUserPhotos __cb, Ice.Current __current)
Retrieves theOriginalFile
object attached to this user as specified byuploadMyUserPhoto
.void
getSecurityRoles_async(AMD_IAdmin_getSecurityRoles __cb, Ice.Current __current)
Returns the activeRoles
in use by the server.int
hashCode()
java.lang.Object
ice_delegate()
void
ice_delegate(java.lang.Object delegate)
void
lookupExperimenter_async(AMD_IAdmin_lookupExperimenter __cb, java.lang.String name, Ice.Current __current)
Looks up anExperimenter
and all relatedExperimenterGroup
by name.void
lookupExperimenters_async(AMD_IAdmin_lookupExperimenters __cb, Ice.Current __current)
Looks up allExperimenter
experimenters present and all relatedExperimenterGroup
groups.void
lookupGroup_async(AMD_IAdmin_lookupGroup __cb, java.lang.String name, Ice.Current __current)
Looks up anExperimenterGroup
and all containedExperimenter
users by name.void
lookupGroups_async(AMD_IAdmin_lookupGroups __cb, Ice.Current __current)
Looks up allExperimenterGroup
groups present and all relatedExperimenter
experimenters.void
lookupLdapAuthExperimenter_async(AMD_IAdmin_lookupLdapAuthExperimenter __cb, long id, Ice.Current __current)
Looks upExperimenter
experimenters who use LDAP authentication (has set dn on password table).void
lookupLdapAuthExperimenters_async(AMD_IAdmin_lookupLdapAuthExperimenters __cb, Ice.Current __current)
Looks up all ids ofExperimenter
experimenters who use LDAP authentication (has set dn on password table).void
moveToCommonSpace_async(AMD_IAdmin_moveToCommonSpace __cb, java.util.List<IObject> objects, Ice.Current __current)
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, Ice.Current __current)
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, Ice.Current __current)
Removes an experimenter from the given groups.void
reportForgottenPassword_async(AMD_IAdmin_reportForgottenPassword __cb, java.lang.String name, java.lang.String email, Ice.Current __current)
Deprecated.void
setAdminPrivileges_async(AMD_IAdmin_setAdminPrivileges __cb, Experimenter user, java.util.List<AdminPrivilege> privileges, Ice.Current __current)
Sets the set of light administrator privileges for the given user.void
setDefaultGroup_async(AMD_IAdmin_setDefaultGroup __cb, Experimenter user, ExperimenterGroup group, Ice.Current __current)
Sets the default group for a given user.void
setGroupOwner_async(AMD_IAdmin_setGroupOwner __cb, ExperimenterGroup group, Experimenter owner, Ice.Current __current)
Adds the user to the owner list for this group.void
synchronizeLoginCache_async(AMD_IAdmin_synchronizeLoginCache __cb, Ice.Current __current)
Uses JMX to refresh the login cache if supported.void
unsetGroupOwner_async(AMD_IAdmin_unsetGroupOwner __cb, ExperimenterGroup group, Experimenter owner, Ice.Current __current)
Removes the user from the owner list for this group.void
updateExperimenter_async(AMD_IAdmin_updateExperimenter __cb, Experimenter experimenter, Ice.Current __current)
Updates an experimenter if admin or owner of group.void
updateExperimenterWithPassword_async(AMD_IAdmin_updateExperimenterWithPassword __cb, Experimenter experimenter, RString password, Ice.Current __current)
Updates an experimenter if admin or owner of group.void
updateGroup_async(AMD_IAdmin_updateGroup __cb, ExperimenterGroup group, Ice.Current __current)
Updates an experimenter group if admin or owner of group.void
updateSelf_async(AMD_IAdmin_updateSelf __cb, Experimenter experimenter, Ice.Current __current)
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, Ice.Current __current)
Uploads a photo for the user which will be displayed on his/her profile.-
Methods inherited from class omero.api._IAdminDisp
___addGroupOwners, ___addGroups, ___canUpdate, ___changeExpiredCredentials, ___changeGroup, ___changeOwner, ___changePassword, ___changePasswordWithOldPassword, ___changePermissions, ___changeUserPassword, ___containedExperimenters, ___containedGroups, ___createExperimenter, ___createExperimenterWithPassword, ___createGroup, ___createRestrictedSystemUser, ___createRestrictedSystemUserWithPassword, ___createSystemUser, ___createUser, ___deleteExperimenter, ___deleteGroup, ___getAdminPrivileges, ___getAdminsWithPrivileges, ___getCurrentAdminPrivileges, ___getDefaultGroup, ___getEventContext, ___getExperimenter, ___getGroup, ___getLeaderOfGroupIds, ___getMemberOfGroupIds, ___getMyUserPhotos, ___getSecurityRoles, ___lookupExperimenter, ___lookupExperimenters, ___lookupGroup, ___lookupGroups, ___lookupLdapAuthExperimenter, ___lookupLdapAuthExperimenters, ___moveToCommonSpace, ___removeGroupOwners, ___removeGroups, ___reportForgottenPassword, ___setAdminPrivileges, ___setDefaultGroup, ___setGroupOwner, ___synchronizeLoginCache, ___unsetGroupOwner, ___updateExperimenter, ___updateExperimenterWithPassword, ___updateGroup, ___updateSelf, ___uploadMyUserPhoto, __dispatch, __readImpl, __writeImpl, 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, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, 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
-
Methods inherited from class Ice.ObjectImpl
___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
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
_IAdminTie
public _IAdminTie()
-
_IAdminTie
public _IAdminTie(_IAdminOperations delegate)
-
-
Method Detail
-
ice_delegate
public java.lang.Object ice_delegate()
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
addGroupOwners_async
public void addGroupOwners_async(AMD_IAdmin_addGroupOwners __cb, ExperimenterGroup group, java.util.List<Experimenter> owners, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Adds the given users to the owner list for this group.- Specified by:
addGroupOwners_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.group
- A currently managedExperimenterGroup
. Not null.owners
- A set of currently managedExperimenter
s. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
addGroups_async
public void addGroups_async(AMD_IAdmin_addGroups __cb, Experimenter user, java.util.List<ExperimenterGroup> groups, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Adds a user to the given groups.- Specified by:
addGroups_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.user
- A currently managed entity. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
canUpdate_async
public void canUpdate_async(AMD_IAdmin_canUpdate __cb, IObject obj, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Returns true if the currently logged in user can modify the givenIObject
. This uses the same logic that would be applied during a Hibernate flush to the database.- Specified by:
canUpdate_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
changeExpiredCredentials_async
public void changeExpiredCredentials_async(AMD_IAdmin_changeExpiredCredentials __cb, java.lang.String name, java.lang.String oldCred, java.lang.String newCred, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Used after anExpiredCredentialException
instance is thrown.- Specified by:
changeExpiredCredentials_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
changeGroup_async
@Deprecated public void changeGroup_async(AMD_IAdmin_changeGroup __cb, IObject obj, java.lang.String omeName, Ice.Current __current) throws ServerError
Deprecated.- Specified by:
changeGroup_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
changeOwner_async
@Deprecated public void changeOwner_async(AMD_IAdmin_changeOwner __cb, IObject obj, java.lang.String omeName, Ice.Current __current) throws ServerError
Deprecated.- Specified by:
changeOwner_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
changePassword_async
public void changePassword_async(AMD_IAdmin_changePassword __cb, RString newPassword, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
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
See also ticket 911 and ticket 3201changePasswordWithOldPassword
.- Specified by:
changePassword_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.newPassword
- Possibly null to allow logging in with no password.__current
- The Current object for the invocation.- Throws:
ServerError
-
changePasswordWithOldPassword_async
public void changePasswordWithOldPassword_async(AMD_IAdmin_changePasswordWithOldPassword __cb, RString oldPassword, RString newPassword, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Changes the password for the current user by passing the old password.- Specified by:
changePasswordWithOldPassword_async
in interface_IAdminOperations
- Parameters:
__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.__current
- The Current object for the invocation.- Throws:
ServerError
-
changePermissions_async
@Deprecated public void changePermissions_async(AMD_IAdmin_changePermissions __cb, IObject obj, Permissions perms, Ice.Current __current) throws ServerError
Deprecated.- Specified by:
changePermissions_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
changeUserPassword_async
public void changeUserPassword_async(AMD_IAdmin_changeUserPassword __cb, java.lang.String omeName, RString newPassword, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Changes the password for the a given user.- Specified by:
changeUserPassword_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.newPassword
- Not-null. Might must pass validation in the security sub-system.__current
- The Current object for the invocation.- Throws:
ServerError
-
containedExperimenters_async
public void containedExperimenters_async(AMD_IAdmin_containedExperimenters __cb, long groupId, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Fetches allExperimenter
users contained in this group. The returned users will have all fields filled in and all collections unloaded.- Specified by:
containedExperimenters_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.groupId
- id of the ExperimenterGroup__current
- The Current object for the invocation.- Throws:
ServerError
-
containedGroups_async
public void containedGroups_async(AMD_IAdmin_containedGroups __cb, long experimenterId, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Fetches allExperimenterGroup
groups of which the given user is a member. The returned groups will have all fields filled in and all collections unloaded.- Specified by:
containedGroups_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.experimenterId
- id of the Experimenter. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
createExperimenter_async
public void createExperimenter_async(AMD_IAdmin_createExperimenter __cb, Experimenter user, ExperimenterGroup defaultGroup, java.util.List<ExperimenterGroup> groups, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Creates and returns a new user in the given groups.- Specified by:
createExperimenter_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.user
- A newExperimenter
instance. Not null.defaultGroup
- Instance ofExperimenterGroup
. Not null.groups
- Array ofExperimenterGroup
instances. Can be null.__current
- The Current object for the invocation.- Throws:
ServerError
-
createExperimenterWithPassword_async
public void createExperimenterWithPassword_async(AMD_IAdmin_createExperimenterWithPassword __cb, Experimenter user, RString password, ExperimenterGroup defaultGroup, java.util.List<ExperimenterGroup> groups, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Creates and returns a new user in the given groups with password.- Specified by:
createExperimenterWithPassword_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.user
- A newExperimenter
instance. Not null.password
- Not-null. Must pass validation in the security sub-system.defaultGroup
- Instance ofExperimenterGroup
. Not null.groups
- Array ofExperimenterGroup
instances. Can be null.__current
- The Current object for the invocation.- Throws:
ServerError
-
createGroup_async
public void createGroup_async(AMD_IAdmin_createGroup __cb, ExperimenterGroup group, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Creates and returns a new group. Theomero.model.Details.setPermissions
method should be called on the instance which is passed. The givenPermissions
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 beomero.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_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.group
- a newExperimenterGroup
instance. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
createRestrictedSystemUser_async
public void createRestrictedSystemUser_async(AMD_IAdmin_createRestrictedSystemUser __cb, Experimenter experimenter, java.util.List<AdminPrivilege> privileges, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Creates and returns a new system user. This user will be created with the System (administration) group as default and will also be in the user group. Their light administrator privileges will be set as given.- Specified by:
createRestrictedSystemUser_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.experimenter
- a newExperimenter
instanceprivileges
- the privileges to set for the user__current
- The Current object for the invocation.- Throws:
ServerError
-
createRestrictedSystemUserWithPassword_async
public void createRestrictedSystemUserWithPassword_async(AMD_IAdmin_createRestrictedSystemUserWithPassword __cb, Experimenter experimenter, java.util.List<AdminPrivilege> privileges, RString password, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Creates and returns a new system user. This user will be created with the System (administration) group as default and will also be in the user group. Their light administrator privileges and password will be set as given.- Specified by:
createRestrictedSystemUserWithPassword_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.experimenter
- a newExperimenter
instanceprivileges
- the privileges to set for the user__current
- The Current object for the invocation.- Throws:
ServerError
-
createSystemUser_async
public void createSystemUser_async(AMD_IAdmin_createSystemUser __cb, Experimenter experimenter, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Creates and returns a new system user. This user will be created with the System (administration) group as default and will also be in the user group.- Specified by:
createSystemUser_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.experimenter
- a newExperimenter
instance__current
- The Current object for the invocation.- Throws:
ServerError
-
createUser_async
public void createUser_async(AMD_IAdmin_createUser __cb, Experimenter experimenter, java.lang.String group, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Creates and returns a new user. This user will be created with the default group specified.- Specified by:
createUser_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.experimenter
- a newExperimenter
instancegroup
- group name of the default group for this user__current
- The Current object for the invocation.- Throws:
ServerError
-
deleteExperimenter_async
public void deleteExperimenter_async(AMD_IAdmin_deleteExperimenter __cb, Experimenter user, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Removes a user by removing the password information for that user as well as allGroupExperimenterMap
instances.- Specified by:
deleteExperimenter_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.user
- Experimenter to be deleted. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
deleteGroup_async
public void deleteGroup_async(AMD_IAdmin_deleteGroup __cb, ExperimenterGroup group, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Removes a group by first removing all users in the group, and then deleting the actualExperimenterGroup
instance.- Specified by:
deleteGroup_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.group
-ExperimenterGroup
to be deleted. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
getAdminPrivileges_async
public void getAdminPrivileges_async(AMD_IAdmin_getAdminPrivileges __cb, Experimenter user, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Gets the light administrator privileges for the given user.- Specified by:
getAdminPrivileges_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.user
- the user whose privileges are being queried__current
- The Current object for the invocation.- Throws:
ServerError
-
getAdminsWithPrivileges_async
public void getAdminsWithPrivileges_async(AMD_IAdmin_getAdminsWithPrivileges __cb, java.util.List<AdminPrivilege> privileges, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Gets the administrators who have all the given privileges. Consistent with the results from "getAdminPrivileges".- Specified by:
getAdminsWithPrivileges_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.privileges
- the required privileges__current
- The Current object for the invocation.- Throws:
ServerError
-
getCurrentAdminPrivileges_async
public void getCurrentAdminPrivileges_async(AMD_IAdmin_getCurrentAdminPrivileges __cb, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Gets the light administrator privileges for the current user.- Specified by:
getCurrentAdminPrivileges_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getDefaultGroup_async
public void getDefaultGroup_async(AMD_IAdmin_getDefaultGroup __cb, long experimenterId, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Retrieves the defaultExperimenterGroup
group for the given user id.- Specified by:
getDefaultGroup_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.experimenterId
- of the Experimenter. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
getEventContext_async
public void getEventContext_async(AMD_IAdmin_getEventContext __cb, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Returns an implementation ofEventContext
loaded with the security for the current user and thread. If called remotely, not all values ofEventContext
will be sensible.- Specified by:
getEventContext_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getExperimenter_async
public void getExperimenter_async(AMD_IAdmin_getExperimenter __cb, long id, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Fetches anExperimenter
and all relatedExperimenterGroup
.- Specified by:
getExperimenter_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.id
- id of the Experimenter__current
- The Current object for the invocation.- Throws:
ServerError
-
getGroup_async
public void getGroup_async(AMD_IAdmin_getGroup __cb, long id, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Fetches anExperimenterGroup
and all containedExperimenter
users.- Specified by:
getGroup_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.id
- id of the ExperimenterGroup__current
- The Current object for the invocation.- Throws:
ServerError
-
getLeaderOfGroupIds_async
public void getLeaderOfGroupIds_async(AMD_IAdmin_getLeaderOfGroupIds __cb, Experimenter exp, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Finds the ids for all groups for which the givenExperimenter
is owner/leader.- Specified by:
getLeaderOfGroupIds_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.exp
- Non-null, managed (i.e. with id)__current
- The Current object for the invocation.- Throws:
ServerError
-
getMemberOfGroupIds_async
public void getMemberOfGroupIds_async(AMD_IAdmin_getMemberOfGroupIds __cb, Experimenter exp, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Finds the ids for all groups for which the givenExperimenter
is a member.- Specified by:
getMemberOfGroupIds_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.exp
- Non-null, managed (i.e. with id)__current
- The Current object for the invocation.- Throws:
ServerError
-
getMyUserPhotos_async
public void getMyUserPhotos_async(AMD_IAdmin_getMyUserPhotos __cb, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Retrieves theOriginalFile
object attached to this user as specified byuploadMyUserPhoto
. The return value is order by the most recently modified file first.- Specified by:
getMyUserPhotos_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getSecurityRoles_async
public void getSecurityRoles_async(AMD_IAdmin_getSecurityRoles __cb, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Returns the activeRoles
in use by the server.- Specified by:
getSecurityRoles_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
lookupExperimenter_async
public void lookupExperimenter_async(AMD_IAdmin_lookupExperimenter __cb, java.lang.String name, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Looks up anExperimenter
and all relatedExperimenterGroup
by name.- Specified by:
lookupExperimenter_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.name
- Name of the Experimenter__current
- The Current object for the invocation.- Throws:
ServerError
-
lookupExperimenters_async
public void lookupExperimenters_async(AMD_IAdmin_lookupExperimenters __cb, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Looks up allExperimenter
experimenters present and all relatedExperimenterGroup
groups.- Specified by:
lookupExperimenters_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
lookupGroup_async
public void lookupGroup_async(AMD_IAdmin_lookupGroup __cb, java.lang.String name, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Looks up anExperimenterGroup
and all containedExperimenter
users by name.- Specified by:
lookupGroup_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.name
- Name of the ExperimenterGroup__current
- The Current object for the invocation.- Throws:
ServerError
-
lookupGroups_async
public void lookupGroups_async(AMD_IAdmin_lookupGroups __cb, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Looks up allExperimenterGroup
groups present and all relatedExperimenter
experimenters. The experimenter's groups are also loaded.- Specified by:
lookupGroups_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
lookupLdapAuthExperimenter_async
public void lookupLdapAuthExperimenter_async(AMD_IAdmin_lookupLdapAuthExperimenter __cb, long id, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Looks upExperimenter
experimenters who use LDAP authentication (has set dn on password table).- Specified by:
lookupLdapAuthExperimenter_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.id
- id of the Experimenter. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
lookupLdapAuthExperimenters_async
public void lookupLdapAuthExperimenters_async(AMD_IAdmin_lookupLdapAuthExperimenters __cb, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Looks up all ids ofExperimenter
experimenters who use LDAP authentication (has set dn on password table).- Specified by:
lookupLdapAuthExperimenters_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
moveToCommonSpace_async
public void moveToCommonSpace_async(AMD_IAdmin_moveToCommonSpace __cb, java.util.List<IObject> objects, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Moves the given objects into the user group to make them visible and linkable from all security contexts. See also ticket 1794- Specified by:
moveToCommonSpace_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
removeGroupOwners_async
public void removeGroupOwners_async(AMD_IAdmin_removeGroupOwners __cb, ExperimenterGroup group, java.util.List<Experimenter> owners, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
removes the given users from the owner list for this group.- Specified by:
removeGroupOwners_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.group
- A currently managedExperimenterGroup
. Notowners
- A set of currently managedExperimenter
s. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
removeGroups_async
public void removeGroups_async(AMD_IAdmin_removeGroups __cb, Experimenter user, java.util.List<ExperimenterGroup> groups, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
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_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.user
- A currently managed entity. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
reportForgottenPassword_async
@Deprecated public void reportForgottenPassword_async(AMD_IAdmin_reportForgottenPassword __cb, java.lang.String name, java.lang.String email, Ice.Current __current) throws ServerError
Deprecated.- Specified by:
reportForgottenPassword_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
setAdminPrivileges_async
public void setAdminPrivileges_async(AMD_IAdmin_setAdminPrivileges __cb, Experimenter user, java.util.List<AdminPrivilege> privileges, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Sets the set of light administrator privileges for the given user.- Specified by:
setAdminPrivileges_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.user
- the user whose privileges are to be set__current
- The Current object for the invocation.- Throws:
ServerError
-
setDefaultGroup_async
public void setDefaultGroup_async(AMD_IAdmin_setDefaultGroup __cb, Experimenter user, ExperimenterGroup group, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Sets the default group for a given user.- Specified by:
setDefaultGroup_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.user
- A currently managedExperimenter
. Not null.group
- The group which should be set as default group for this user. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
setGroupOwner_async
public void setGroupOwner_async(AMD_IAdmin_setGroupOwner __cb, ExperimenterGroup group, Experimenter owner, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Adds the user to the owner list for this group. Since Beta 4.2 multiple users can be the owner of a group.- Specified by:
setGroupOwner_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.group
- A currently managedExperimenterGroup
. Not null.owner
- A currently managedExperimenter
. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
synchronizeLoginCache_async
public void synchronizeLoginCache_async(AMD_IAdmin_synchronizeLoginCache __cb, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
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_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
unsetGroupOwner_async
public void unsetGroupOwner_async(AMD_IAdmin_unsetGroupOwner __cb, ExperimenterGroup group, Experimenter owner, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Removes the user from the owner list for this group. Since Beta 4.2 multiple users can be the owner of a group.- Specified by:
unsetGroupOwner_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.group
- A currently managedExperimenterGroup
. Not null.owner
- A currently managedExperimenter
. Not null.__current
- The Current object for the invocation.- Throws:
ServerError
-
updateExperimenter_async
public void updateExperimenter_async(AMD_IAdmin_updateExperimenter __cb, Experimenter experimenter, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
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_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.experimenter
- the Experimenter to update.__current
- The Current object for the invocation.- Throws:
ServerError
-
updateExperimenterWithPassword_async
public void updateExperimenterWithPassword_async(AMD_IAdmin_updateExperimenterWithPassword __cb, Experimenter experimenter, RString password, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
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.- Specified by:
updateExperimenterWithPassword_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.experimenter
- the Experimenter to update.__current
- The Current object for the invocation.- Throws:
ServerError
-
updateGroup_async
public void updateGroup_async(AMD_IAdmin_updateGroup __cb, ExperimenterGroup group, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
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_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.group
- the ExperimenterGroup to update.__current
- The Current object for the invocation.- Throws:
ServerError
-
updateSelf_async
public void updateSelf_async(AMD_IAdmin_updateSelf __cb, Experimenter experimenter, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
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), usesetDefaultGroup
- Specified by:
updateSelf_async
in interface_IAdminOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
uploadMyUserPhoto_async
public void uploadMyUserPhoto_async(AMD_IAdmin_uploadMyUserPhoto __cb, java.lang.String filename, java.lang.String format, byte[] data, Ice.Current __current) throws ServerError
Description copied from interface:_IAdminOperations
Uploads a photo for the user which will be displayed on his/her profile. This photo will be saved as anOriginalFile
object with the given format, and attached to the user'sExperimenter
object via anFileAnnotation
with the namespace: openmicroscopy.org/omero/experimenter/photo (NSEXPERIMENTERPHOTO). If such anOriginalFile
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_IAdminOperations
- 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.__current
- The Current object for the invocation.- Throws:
ServerError
-
-