public interface LocalAdmin extends IAdmin
Modifier and Type | Method and Description |
---|---|
boolean |
canAnnotate(ome.model.IObject obj)
Companion to
IAdmin#canUpdate(IObject) but not yet remotely
accessible. |
boolean |
checkPassword(String user,
String password,
boolean readOnly)
Checks password for given user.
|
EventContext |
getEventContextQuiet()
Like
IAdmin.getEventContext() but will not reload the context. |
Map<String,Long> |
getLockingIds(Class<ome.model.IObject> klass,
long id,
Long groupId)
Returns a map from
Class (as string) to a count for all entities
which point to the given IObject . |
List<String> |
getUserRoles(ome.model.meta.Experimenter e)
Finds the group names for all groups for which the given
Experimenter is
a member. |
ome.model.meta.ExperimenterGroup |
groupProxy(Long groupId)
returns a possibly uninitialized proxy for the given
group id . |
ome.model.meta.ExperimenterGroup |
groupProxy(String groupName)
returns a possibly uninitialized proxy for the given
group name . |
void |
internalMoveToCommonSpace(ome.model.IObject obj)
Unconditionally move an object into the user group (usually id=1).
|
ome.model.meta.Experimenter |
userProxy(Long userId)
returns a possibly uninitialized proxy for the given
user id . |
ome.model.meta.Experimenter |
userProxy(String omeName)
returns a possibly uninitialized proxy for the given
user name . |
addGroupOwners, addGroups, canUpdate, changeExpiredCredentials, changeGroup, changeOwner, changePassword, changePasswordWithOldPassword, changePermissions, changeUserPassword, containedExperimenters, containedGroups, createExperimenter, createExperimenterWithPassword, createGroup, createSystemUser, createUser, deleteExperimenter, deleteGroup, getDefaultGroup, getEventContext, getExperimenter, getGroup, getLeaderOfGroupIds, getMemberOfGroupIds, getMyUserPhotos, getSecurityRoles, lookupExperimenter, lookupExperimenters, lookupGroup, lookupGroups, lookupLdapAuthExperimenter, lookupLdapAuthExperimenters, moveToCommonSpace, removeGroupOwners, removeGroups, reportForgottenPassword, setDefaultGroup, setGroupOwner, synchronizeLoginCache, unsetGroupOwner, updateExperimenter, updateExperimenterWithPassword, updateGroup, updateSelf, uploadMyUserPhoto
ome.model.meta.Experimenter userProxy(String omeName)
user name
. Use of the
Experimenter
instance will initial its values.ome.model.meta.Experimenter userProxy(Long userId)
user id
. Use of the Experimenter
instance will initial its values.ome.model.meta.ExperimenterGroup groupProxy(Long groupId)
group id
. Use of the
Experimenter
instance will initial its values.ome.model.meta.ExperimenterGroup groupProxy(String groupName)
group name
. Use of the
Experimenter
instance will initial its values.List<String> getUserRoles(ome.model.meta.Experimenter e)
Experimenter
is
a member.e
- Non-null, managed (i.e. with id) Experimenter
ExperimenterGroup.getDetails()
,
Details.getOwner()
boolean checkPassword(String user, String password, boolean readOnly)
ticket:4626
Map<String,Long> getLockingIds(Class<ome.model.IObject> klass, long id, Long groupId)
Class
(as string) to a count for all entities
which point to the given IObject
. The String "*" is mapped to
the sum of all the locks.
TODO This will eventually return a list of idsEventContext getEventContextQuiet()
IAdmin.getEventContext()
but will not reload the context.
This also has the result that values from the current call context
will be applied as simply the session context.boolean canAnnotate(ome.model.IObject obj)
IAdmin#canUpdate(IObject)
but not yet remotely
accessible.obj
- Not null.void internalMoveToCommonSpace(ome.model.IObject obj)
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.