public interface LocalAdmin
extends ome.api.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(java.lang.String user,
java.lang.String password,
boolean readOnly)
Checks password for given user.
|
ome.system.EventContext |
getEventContextQuiet()
Like
IAdmin.getEventContext() but will not reload the context. |
java.util.Map<java.lang.String,java.lang.Long> |
getLockingIds(java.lang.Class<ome.model.IObject> klass,
long id,
java.lang.Long groupId)
Returns a map from
Class (as string) to a count for all entities
which point to the given IObject. |
java.util.List<java.lang.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(java.lang.Long groupId)
returns a possibly uninitialized proxy for the given
group id. |
ome.model.meta.ExperimenterGroup |
groupProxy(java.lang.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(java.lang.Long userId)
returns a possibly uninitialized proxy for the given
user id. |
ome.model.meta.Experimenter |
userProxy(java.lang.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, 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, uploadMyUserPhotoome.model.meta.Experimenter userProxy(java.lang.String omeName)
user name. Use of the
Experimenter instance will initialize its values.omeName - the name of a userome.model.meta.Experimenter userProxy(java.lang.Long userId)
user id. Use of the Experimenter
instance will initialize its values.userId - the ID of a userome.model.meta.ExperimenterGroup groupProxy(java.lang.Long groupId)
group id. Use of the
Experimenter instance will initialize its values.groupId - the ID of a groupome.model.meta.ExperimenterGroup groupProxy(java.lang.String groupName)
group name. Use of the
Experimenter instance will initialize its values.groupName - the name of a groupjava.util.List<java.lang.String> getUserRoles(ome.model.meta.Experimenter e)
Experimenter is
a member.e - Non-null, managed (i.e. with id) ExperimenterExperimenterGroup.getDetails(),
Details.getOwner()boolean checkPassword(java.lang.String user,
java.lang.String password,
boolean readOnly)
user - the name of a userpassword - the user's passwordreadOnly - if the password check should be transactionally read-onlyjava.util.Map<java.lang.String,java.lang.Long> getLockingIds(java.lang.Class<ome.model.IObject> klass,
long id,
java.lang.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.klass - the name of a model classid - the ID of an instance of klassgroupId - the ID of a group to omit from the results, may be nullome.system.EventContext 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)