public interface ESOrgUnitRepository
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(ESGroup group)
Adds the given group.
|
void |
addUser(ESUser user)
Adds the given user.
|
Set<ESGroup> |
getGroups()
Returns a set of all available
ESGroups. |
List<ESProjectHistory> |
getProjects()
Returns a list of all available project histories.
|
Set<ESUser> |
getUsers()
Returns a set of all available
ESUsers. |
void |
removeGroup(ESGroup group)
Removes the given group.
|
void |
removeUser(ESUser user)
Removes the given user.
|
void |
save()
Saves the state of the repository.
|
Set<ESGroup> getGroups()
ESGroups.List<ESProjectHistory> getProjects()
ESProjectHistoryvoid removeGroup(ESGroup group)
group - the group to be removedvoid removeUser(ESUser user)
user - the user to be removedvoid addUser(ESUser user)
user - the user to be addedvoid addGroup(ESGroup group)
group - the group to be addedvoid save() throws IOException
IOException - in case saving failsCopyright © 2017. All rights reserved.