|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminBroker
Interface for administrative services of the EMFStore. The Adminbroker
delegates the method calls to the server ( AdminEmfStore
) via
AdminConnectionManager
.
Method Summary | |
---|---|
void |
addInitialParticipant(ProjectId projectId,
ACOrgUnitId participantId,
org.eclipse.emf.ecore.EClass role)
Delegates call to method in AdminEmfStore . |
void |
addMember(ACOrgUnitId group,
ACOrgUnitId member)
Delegates call to method in AdminEmfStore . |
void |
addParticipant(ProjectId projectId,
ACOrgUnitId participantId,
org.eclipse.emf.ecore.EClass role)
Delegates call to method in AdminEmfStore . |
void |
assignRole(ACOrgUnitId orgUnitId,
org.eclipse.emf.ecore.EClass role)
Delegates call to method in AdminEmfStore . |
void |
changeOrgUnit(ACOrgUnitId orgUnitId,
String name,
String description)
Delegates call to method in AdminEmfStore . |
void |
changeRole(ProjectId projectId,
ACOrgUnitId orgUnit,
org.eclipse.emf.ecore.EClass role)
Delegates call to method in AdminEmfStore . |
void |
changeUser(ACOrgUnitId userId,
String name,
String password)
Delegates call to method in AdminEmfStore . |
ACOrgUnitId |
createGroup(String name)
Delegates call to method in AdminEmfStore . |
ACOrgUnitId |
createUser(String name)
Delegates call to method in AdminEmfStore . |
void |
deleteGroup(ACOrgUnitId group)
Delegates call to method in AdminEmfStore . |
void |
deleteUser(ACOrgUnitId user)
Delegates call to method in AdminEmfStore . |
List<ACGroup> |
getGroups()
Delegates call to method in AdminEmfStore . |
List<ACGroup> |
getGroups(ACOrgUnitId user)
Delegates call to method in AdminEmfStore . |
List<ACOrgUnit> |
getMembers(ACOrgUnitId groupId)
Delegates call to method in AdminEmfStore . |
ACOrgUnit |
getOrgUnit(ACOrgUnitId orgUnitId)
Delegates call to method in AdminEmfStore . |
List<ACOrgUnit> |
getOrgUnits()
Delegates call to method in AdminEmfStore . |
List<ACOrgUnit> |
getParticipants(ProjectId projectId)
Delegates call to method in AdminEmfStore . |
List<ProjectInfo> |
getProjectInfos()
Delegates call to method in AdminEmfStore . |
Role |
getRole(ProjectId projectId,
ACOrgUnitId orgUnit)
Delegates call to method in AdminEmfStore . |
List<ACUser> |
getUsers()
Delegates call to method in AdminEmfStore . |
void |
removeGroup(ACOrgUnitId user,
ACOrgUnitId group)
Delegates call to method in AdminEmfStore . |
void |
removeMember(ACOrgUnitId group,
ACOrgUnitId member)
Delegates call to method in AdminEmfStore . |
void |
removeParticipant(ProjectId projectId,
ACOrgUnitId participant)
Delegates call to method in AdminEmfStore . |
Method Detail |
---|
List<ProjectInfo> getProjectInfos() throws ESException
AdminEmfStore
.
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.getProjectInfos(org.eclipse.emf.emfstore.internal.server.model.SessionId)
List<ACGroup> getGroups() throws ESException
AdminEmfStore
.
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.getGroups(org.eclipse.emf.emfstore.internal.server.model.SessionId)
List<ACUser> getUsers() throws ESException
AdminEmfStore
.
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.getUsers(org.eclipse.emf.emfstore.internal.server.model.SessionId)
List<ACOrgUnit> getOrgUnits() throws ESException
AdminEmfStore
.
AdminEmfStore.getOrgUnits(org.eclipse.emf.emfstore.internal.server.model.SessionId)
ESException
- if an exceptions occurs on the server or on transportACOrgUnitId createGroup(String name) throws ESException
AdminEmfStore
.
name
- new name
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.createGroup(org.eclipse.emf.emfstore.internal.server.model.SessionId,
String)
void deleteGroup(ACOrgUnitId group) throws ESException
AdminEmfStore
.
group
- orgUnit id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.deleteGroup(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId)
List<ACGroup> getGroups(ACOrgUnitId user) throws ESException
AdminEmfStore
.
user
- orgUnit id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.getGroups(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId)
void removeGroup(ACOrgUnitId user, ACOrgUnitId group) throws ESException
AdminEmfStore
.
user
- orgUnit idgroup
- group id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.removeGroup(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId, ACOrgUnitId)
ACOrgUnitId createUser(String name) throws ESException
AdminEmfStore
.
name
- user's name
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.createUser(org.eclipse.emf.emfstore.internal.server.model.SessionId,
String)
void deleteUser(ACOrgUnitId user) throws ESException
AdminEmfStore
.
user
- user id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.deleteUser(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId)
List<ACOrgUnit> getMembers(ACOrgUnitId groupId) throws ESException
AdminEmfStore
.
groupId
- group id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.getMembers(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId)
ACOrgUnit getOrgUnit(ACOrgUnitId orgUnitId) throws ESException
AdminEmfStore
.
orgUnitId
- orgUnit id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.getOrgUnit(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId)
void addMember(ACOrgUnitId group, ACOrgUnitId member) throws ESException
AdminEmfStore
.
group
- group idmember
- member id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.addMember(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId, ACOrgUnitId)
void removeMember(ACOrgUnitId group, ACOrgUnitId member) throws ESException
AdminEmfStore
.
group
- group idmember
- member id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.removeMember(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId, ACOrgUnitId)
void changeOrgUnit(ACOrgUnitId orgUnitId, String name, String description) throws ESException
AdminEmfStore
.
orgUnitId
- orgUnit idname
- new namedescription
- new description
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.changeOrgUnit(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId, String, String)
void changeUser(ACOrgUnitId userId, String name, String password) throws ESException
AdminEmfStore
.
userId
- the ID of the username
- the new name of the userpassword
- the new password of the user
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.changeOrgUnit(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId, String, String)
List<ACOrgUnit> getParticipants(ProjectId projectId) throws ESException
AdminEmfStore
.
projectId
- project id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.getParticipants(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ProjectId)
void addParticipant(ProjectId projectId, ACOrgUnitId participantId, org.eclipse.emf.ecore.EClass role) throws ESException
AdminEmfStore
.
projectId
- the ProjectId
participantId
- the ACOrgUnitId
of the participant to be addedrole
- the EClass of the role that should be assigned to the participant
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.addParticipant(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ProjectId, ACOrgUnitId, EClass)
void addInitialParticipant(ProjectId projectId, ACOrgUnitId participantId, org.eclipse.emf.ecore.EClass role) throws ESException
AdminEmfStore
.
projectId
- the ProjectId
participantId
- the ACOrgUnitId
of the participant to be addedrole
- the EClass of the role that should be assigned to the participant
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.addParticipant(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ProjectId, ACOrgUnitId, EClass)
void removeParticipant(ProjectId projectId, ACOrgUnitId participant) throws ESException
AdminEmfStore
.
projectId
- project idparticipant
- orgUnit id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.removeParticipant(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ProjectId, ACOrgUnitId)
Role getRole(ProjectId projectId, ACOrgUnitId orgUnit) throws ESException
AdminEmfStore
.
projectId
- project idorgUnit
- orgUnit id
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.getRole(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ProjectId, ACOrgUnitId)
void changeRole(ProjectId projectId, ACOrgUnitId orgUnit, org.eclipse.emf.ecore.EClass role) throws ESException
AdminEmfStore
.
projectId
- the project idorgUnit
- the orgUnit idrole
- new role
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.changeRole(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ProjectId, ACOrgUnitId, EClass)
void assignRole(ACOrgUnitId orgUnitId, org.eclipse.emf.ecore.EClass role) throws ESException
AdminEmfStore
.
orgUnitId
- the ID of an organizational unitrole
- the role to be assigned
ESException
- if an exceptions occurs on the server or on transportAdminEmfStore.assignRole(org.eclipse.emf.emfstore.internal.server.model.SessionId,
ACOrgUnitId, EClass)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |