ome.api.local
Interface LocalAdmin

All Superinterfaces:
IAdmin, ServiceInterface
All Known Implementing Classes:
AdminImpl

public interface LocalAdmin
extends IAdmin

Provides local (internal) extensions for administration

Since:
OMERO3.0
Version:
1.0 (Internal version: $Revision: 6060 $ $Date: 2010-02-09 11:24:46 +0000 (Tue, 09 Feb 2010) $)
Author:

Josh Moore      josh.moore@gmx.de

Method Summary
 boolean checkPassword(String user, String password)
          Checks password for given user.
 Map<String,Long> getLockingIds(ome.model.IObject object)
          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.
 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.
 
Methods inherited from interface ome.api.IAdmin
addGroupOwners, addGroups, canUpdate, changeExpiredCredentials, changeGroup, changeOwner, changePassword, 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
 

Method Detail

userProxy

ome.model.meta.Experimenter userProxy(String omeName)
returns a possibly uninitialized proxy for the given user name. Use of the Experimenter instance will initial its values.


userProxy

ome.model.meta.Experimenter userProxy(Long userId)
returns a possibly uninitialized proxy for the given user id. Use of the Experimenter instance will initial its values.


groupProxy

ome.model.meta.ExperimenterGroup groupProxy(Long groupId)
returns a possibly uninitialized proxy for the given group id. Use of the Experimenter instance will initial its values.


groupProxy

ome.model.meta.ExperimenterGroup groupProxy(String groupName)
returns a possibly uninitialized proxy for the given group name. Use of the Experimenter instance will initial its values.


getUserRoles

List<String> getUserRoles(ome.model.meta.Experimenter e)
Finds the group names for all groups for which the given Experimenter is a member.

Parameters:
e - Non-null, managed (i.e. with id) Experimenter
See Also:
ExperimenterGroup.getDetails(), Details.getOwner()

checkPassword

boolean checkPassword(String user,
                      String password)
Checks password for given user.


getLockingIds

Map<String,Long> getLockingIds(ome.model.IObject object)
Returns a map from 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 ids



OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.