|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcAdminEmfStoreImpl
public class XmlRpcAdminEmfStoreImpl
XML RPC connection interface for adminemfstore.
| Constructor Summary | |
|---|---|
XmlRpcAdminEmfStoreImpl()
|
|
| Method Summary | |
|---|---|
void |
addInitialParticipant(SessionId sessionId,
ProjectId projectId,
ACOrgUnitId participantId,
org.eclipse.emf.ecore.EClass roleClass)
Adds an organization unit to a project. |
void |
addMember(SessionId sessionId,
ACOrgUnitId group,
ACOrgUnitId member)
Adds an orgUnit to a group. |
void |
addParticipant(SessionId sessionId,
ProjectId projectId,
ACOrgUnitId participant,
org.eclipse.emf.ecore.EClass roleClass)
Adds an organization unit to a project. |
void |
assignRole(SessionId sessionId,
ACOrgUnitId orgUnitId,
org.eclipse.emf.ecore.EClass roleClass)
Assigns a role for an orgUnit without a project. |
void |
changeOrgUnit(SessionId sessionId,
ACOrgUnitId orgUnitId,
String name,
String description)
Changes the orgUnit's name and description. |
void |
changeRole(SessionId sessionId,
ProjectId projectId,
ACOrgUnitId orgUnit,
org.eclipse.emf.ecore.EClass role)
Changes the role for an orgUnit in a specified project. |
void |
changeUser(SessionId sessionId,
ACOrgUnitId userId,
String name,
String password)
Changes the name and password of an ACUser. |
ACOrgUnitId |
createGroup(SessionId sessionId,
String name)
Creates a group on the server. |
ACOrgUnitId |
createUser(SessionId sessionId,
String name)
Creates a user on the server. |
void |
deleteGroup(SessionId sessionId,
ACOrgUnitId group)
Deletes a group on the server. |
void |
deleteUser(SessionId sessionId,
ACOrgUnitId user)
Deletes a user from the server. |
List<ACGroup> |
getGroups(SessionId sessionId)
Returns all groups on the server. |
List<ACGroup> |
getGroups(SessionId sessionId,
ACOrgUnitId user)
Returns a list of all groups in which the specified user is member of. |
List<ACOrgUnit> |
getMembers(SessionId sessionId,
ACOrgUnitId groupId)
Returns all members from a group. |
ACOrgUnit |
getOrgUnit(SessionId sessionId,
ACOrgUnitId orgUnitId)
Returns an orgUnit with the specified orgUnitId. |
List<ACOrgUnit> |
getOrgUnits(SessionId sessionId)
Returns all orgUnits on the server. |
List<ACOrgUnit> |
getParticipants(SessionId sessionId,
ProjectId projectId)
Returns all orgUnits which are attached to the given project. |
List<ProjectInfo> |
getProjectInfos(SessionId sessionId)
Returns a list of available project. |
Role |
getRole(SessionId sessionId,
ProjectId projectId,
ACOrgUnitId orgUnit)
Returns an orgUnit's role for a specified project. |
List<ACUser> |
getUsers(SessionId sessionId)
Returns all users on the server. |
void |
removeGroup(SessionId sessionId,
ACOrgUnitId user,
ACOrgUnitId group)
Removes a user from a group. |
void |
removeMember(SessionId sessionId,
ACOrgUnitId group,
ACOrgUnitId member)
Removes a orgUnit from a group. |
void |
removeParticipant(SessionId sessionId,
ProjectId projectId,
ACOrgUnitId participant)
Removes an orgUnits from a project. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlRpcAdminEmfStoreImpl()
| Method Detail |
|---|
public void addMember(SessionId sessionId,
ACOrgUnitId group,
ACOrgUnitId member)
throws ESException
addMember in interface AdminEmfStoresessionId - the session id for authenticationgroup - the group's orgUnitIdmember - the members orgUnitId
ESException - if any error in the EmfStore occurs
public void addParticipant(SessionId sessionId,
ProjectId projectId,
ACOrgUnitId participant,
org.eclipse.emf.ecore.EClass roleClass)
throws ESException
addParticipant in interface AdminEmfStoresessionId - the SessionId for authenticationprojectId - the ProjectId of the projectparticipant - the ACOrgUnitId of the participantroleClass - the role to be assigned to the participant
ESException - if any error in the EmfStore occurs
public void changeOrgUnit(SessionId sessionId,
ACOrgUnitId orgUnitId,
String name,
String description)
throws ESException
changeOrgUnit in interface AdminEmfStoresessionId - the session id for authentication.orgUnitId - the orgUnitIdname - the new namedescription - the new description
ESException - if any error in the EmfStore occurs
public void changeUser(SessionId sessionId,
ACOrgUnitId userId,
String name,
String password)
throws ESException
ACUser.
changeUser in interface AdminEmfStoresessionId - the session id for authentication.userId - the ID of the username - the new namepassword - the new password
ESException - if any error in the EmfStore occursAdminEmfStore.changeUser(org.eclipse.emf.emfstore.internal.server.model.SessionId,
org.eclipse.emf.emfstore.internal.server.model.accesscontrol.ACOrgUnitId, java.lang.String,
java.lang.String)
public void changeRole(SessionId sessionId,
ProjectId projectId,
ACOrgUnitId orgUnit,
org.eclipse.emf.ecore.EClass role)
throws ESException
changeRole in interface AdminEmfStoresessionId - the session id for authenticationprojectId - the project's idorgUnit - the orgUnitrole - new role for orgUnit
ESException - if any error in the EmfStore occurs.
public ACOrgUnitId createGroup(SessionId sessionId,
String name)
throws ESException
createGroup in interface AdminEmfStoresessionId - the session id for authenticationname - the name for the group
ESException - if any error in the EmfStore occurs
public ACOrgUnitId createUser(SessionId sessionId,
String name)
throws ESException
createUser in interface AdminEmfStoresessionId - the session id for authenticationname - the user's name
ACOrgUnitId of the created user
ESException - if any error occurred while creating the user
public void deleteGroup(SessionId sessionId,
ACOrgUnitId group)
throws ESException
deleteGroup in interface AdminEmfStoresessionId - the session id for authenticationgroup - orgUnitId of the group
ESException - if any error in the EmfStore occurs
public void deleteUser(SessionId sessionId,
ACOrgUnitId user)
throws ESException
deleteUser in interface AdminEmfStoresessionId - the session id for authenticationuser - the user's orgUnitId
ESException - if any error in the EmfStore occurs
public List<ACGroup> getGroups(SessionId sessionId)
throws ESException
getGroups in interface AdminEmfStoresessionId - the session id for authentication
ESException - if any error in the EmfStore occurs
public List<ACGroup> getGroups(SessionId sessionId,
ACOrgUnitId user)
throws ESException
getGroups in interface AdminEmfStoresessionId - the session id for authenticationuser - the users orgUnitId
ESException - if any error in the EmfStore occurs
public List<ACOrgUnit> getMembers(SessionId sessionId,
ACOrgUnitId groupId)
throws ESException
getMembers in interface AdminEmfStoresessionId - the session id for authenticationgroupId - the group's orgUnitId
ESException - if any error in the EmfStore occurs.
public ACOrgUnit getOrgUnit(SessionId sessionId,
ACOrgUnitId orgUnitId)
throws ESException
getOrgUnit in interface AdminEmfStoresessionId - the session id for authenticationorgUnitId - the orgUnitId
ESException - if any error in the EmfStore occurs
public List<ACOrgUnit> getOrgUnits(SessionId sessionId)
throws ESException
getOrgUnits in interface AdminEmfStoresessionId - the session id for authentication
ESException - if any error in the EmfStore occurs
public List<ACOrgUnit> getParticipants(SessionId sessionId,
ProjectId projectId)
throws ESException
getParticipants in interface AdminEmfStoresessionId - the session id for authenticationprojectId - project's id
ESException - if any error in the EmfStore occurs
public List<ProjectInfo> getProjectInfos(SessionId sessionId)
throws ESException
getProjectInfos in interface AdminEmfStoresessionId - the session id for authentication
ESException - if any error in the EmfStore occurs
public Role getRole(SessionId sessionId,
ProjectId projectId,
ACOrgUnitId orgUnit)
throws ESException
getRole in interface AdminEmfStoresessionId - the session id for authenticationprojectId - the project's idorgUnit - the orgUnit's id
ESException - if any error in the EmfStore occurs
public List<ACUser> getUsers(SessionId sessionId)
throws ESException
getUsers in interface AdminEmfStoresessionId - the session id for authentication
ESException - if any error in the EmfStore occurs
public void removeGroup(SessionId sessionId,
ACOrgUnitId user,
ACOrgUnitId group)
throws ESException
removeGroup in interface AdminEmfStoresessionId - the session id for authenticationuser - the user's orgUnitIdgroup - the group's orgUnitId
ESException - if any error in the EmfStore occurs
public void removeMember(SessionId sessionId,
ACOrgUnitId group,
ACOrgUnitId member)
throws ESException
removeMember in interface AdminEmfStoresessionId - the session id for authenticationgroup - the group's orgUnitIdmember - the members orgUnitId
ESException - if any error in the EmfStore occurs
public void removeParticipant(SessionId sessionId,
ProjectId projectId,
ACOrgUnitId participant)
throws ESException
removeParticipant in interface AdminEmfStoresessionId - the session id for authenticationprojectId - the project's idparticipant - the orgUnit's id
ESException - if any error in the EmfStore occurs
public void assignRole(SessionId sessionId,
ACOrgUnitId orgUnitId,
org.eclipse.emf.ecore.EClass roleClass)
throws ESException
assignRole in interface AdminEmfStoresessionId - the SessionId for authenticationorgUnitId - the ID of an organizational unitroleClass - 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,
org.eclipse.emf.emfstore.internal.server.model.accesscontrol.ACOrgUnitId, org.eclipse.emf.ecore.EClass)
public void addInitialParticipant(SessionId sessionId,
ProjectId projectId,
ACOrgUnitId participantId,
org.eclipse.emf.ecore.EClass roleClass)
throws ESException
addInitialParticipant in interface AdminEmfStoresessionId - the SessionId for authenticationprojectId - the ProjectId of the projectparticipantId - the ACOrgUnitId of the participantroleClass - the role to be assigned to the participant
ESException - if any error in the EmfStore occursAdminEmfStore.addInitialParticipant(org.eclipse.emf.emfstore.internal.server.model.SessionId,
org.eclipse.emf.emfstore.internal.server.model.ProjectId,
org.eclipse.emf.emfstore.internal.server.model.accesscontrol.ACOrgUnitId, org.eclipse.emf.ecore.EClass)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||