|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Membership
The interface that contains the operations on the Membership service.
| Method Summary | |
|---|---|
void |
addMembers(java.lang.String[] usernames,
java.lang.String[] roles)
Adds the list of given usernames to the project on the context, granting, for each of them, all the roles given on the roles container. |
void |
approvePendingRolesRequests(UsernameRolesType[] members)
Approves the roles for the given list of members who had requested roles on the project in the context. |
void |
disapprovePendingRolesRequests(UsernameRolesType[] members,
java.lang.String reason)
Disapproves the roles for the given list of members who had requested roles on the project in the context, specifying the reason for such decision. |
MemberInfoType |
getMemberInfo(java.lang.String username)
Adds the list of given usernames to the project on the context, granting, for each of them, all the roles given on the roles container. |
MembersContainer |
getMembers(PaginationType pagination)
Gets the lists of the members of the project in the context. |
MembersContainer |
getOwners(PaginationType pagination)
Gets the lists of the members of the project in the context. |
MemberRolesType[] |
getPendingRolesRequests()
Gets the lists of the users who requested roles on the project in the context, wrapped up in the class MembersContainer. |
void |
grantRolesToMembers(UsernameRolesType[] members)
Grants the roles related to each member of the members list, which are on the project in the context. |
void |
revokeRolesFromMembers(UsernameRolesType[] members)
Revokes the roles related to each member of the members list, which are on the project in the context. |
| Method Detail |
|---|
void addMembers(java.lang.String[] usernames,
java.lang.String[] roles)
throws java.rmi.RemoteException,
WSException
usernames - is the container for the list of usernames wrapped up on
the class SimpleUsersContainer.roles - is the container for the list of roles wrapped up on the
class SimpleRolesContainer.
java.rmi.RemoteException
WSException -
MemberInfoType getMemberInfo(java.lang.String username)
throws java.rmi.RemoteException,
WSException
usernames - is the container for the list of usernames wrapped up on
the class SimpleUsersContainer.roles - is the container for the list of roles wrapped up on the
class SimpleRolesContainer.
java.rmi.RemoteException
WSException -
MembersContainer getMembers(PaginationType pagination)
throws java.rmi.RemoteException,
WSException
PaginationType provided.
pagination - is the request that controls the list of members
returned.
MembersContainer, which wraps up
the list of the project's members in the context.
java.rmi.RemoteException
WSException -
MembersContainer getOwners(PaginationType pagination)
throws java.rmi.RemoteException,
WSException
PaginationType provided.
pagination - is the request that controls the list of members
returned.
MembersContainer, which wraps up
the list of the project's members in the context.
java.rmi.RemoteException
WSException -
MemberRolesType[] getPendingRolesRequests()
throws java.rmi.RemoteException,
WSException
MembersContainer.
MembersRolesContainer, which wraps
up the list of the project's members in the context that have requested
a role.
java.rmi.RemoteException
WSException -
void approvePendingRolesRequests(UsernameRolesType[] members)
throws java.rmi.RemoteException,
WSException
members - is the list of the members and their requested roles to
the project in the context. The list is represented by the class
UsernamesRolesContainer.
java.rmi.RemoteException
WSException -
void disapprovePendingRolesRequests(UsernameRolesType[] members,
java.lang.String reason)
throws java.rmi.RemoteException,
WSException
members - is the list of the members and their requested roles to
the project in the context. The list is represented by the class
UsernamesRolesContainer.reason - is the request that controls the list of members
returned.
java.rmi.RemoteException
WSException -
void grantRolesToMembers(UsernameRolesType[] members)
throws java.rmi.RemoteException,
WSException
members - is the list of the members and the roles, wrapped by
UsernamesRolesContainer, to be granted on the project in the
context.
java.rmi.RemoteException
WSException -
void revokeRolesFromMembers(UsernameRolesType[] members)
throws java.rmi.RemoteException,
WSException
members - is the list of the members and the roles, wrapped by
UsernamesRolesContainer, to be granted on the project in the
context.
java.rmi.RemoteException
WSException -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||