public interface AdminManager
SecurityContext
.Modifier and Type | Method and Description |
---|---|
AdminFacility |
getAdminFacility()
Gets the
AdminFacility to use admin specific function. |
SecurityContext |
getCtx()
Returns the current
SecurityContext . |
default Group |
getGroup(String groupName)
Returns the group which matches the name.
|
default Experimenter |
getUser(String username)
Returns the user which matches the username.
|
SecurityContext getCtx()
SecurityContext
.AdminFacility getAdminFacility() throws ExecutionException
AdminFacility
to use admin specific function.ExecutionException
- If the AdminFacility can't be retrieved or instantiated.default Experimenter getUser(String username) throws ExecutionException, ServiceException, AccessException
username
- The name of the user.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.NoSuchElementException
- The requested user does not exist.default Group getGroup(String groupName) throws ExecutionException, ServiceException, AccessException
groupName
- The name of the group.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.NoSuchElementException
- The requested group does not exist.Copyright © 2020–2023 GReD. All rights reserved.