|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalAdmin
Provides local (internal) extensions for administration
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 . |
Method Detail |
---|
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)
Map<String,Long> getLockingIds(ome.model.IObject object)
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.