public interface ESOrgUnitProvider
| 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 known groups.
|
List<ESProjectHistory> |
getProjects()
Returns a list of all known
ESProjectHistories. |
Set<ESUser> |
getUsers()
Returns a set of all known users.
|
void |
init(ESOrgUnitRepository repository)
Initializes this provider.
|
void |
removeGroup(ESGroup group)
Removes the given group.
|
void |
removeUser(ESUser user)
Removes the given user.
|
void |
save()
Save the current state of the provider.
|
Set<ESUser> getUsers()
Set<ESGroup> getGroups()
List<ESProjectHistory> getProjects()
ESProjectHistories.ESProjectHistoriesvoid 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 failsvoid init(ESOrgUnitRepository repository)
repository - the repository that can be used to perform CRUD operations on organizational units
that are stored by EMFStoreCopyright © 2017. All rights reserved.