|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis.client.Stub
com.collabnet.helm.ws.membership.MembershipBindingStub
public class MembershipBindingStub
| Field Summary |
|---|
| Fields inherited from interface javax.xml.rpc.Stub |
|---|
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY |
| Constructor Summary | |
|---|---|
MembershipBindingStub()
|
|
MembershipBindingStub(javax.xml.rpc.Service service)
|
|
MembershipBindingStub(java.net.URL endpointURL,
javax.xml.rpc.Service 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. |
| Methods inherited from class org.apache.axis.client.Stub |
|---|
_createCall, _getCall, _getProperty, _getPropertyNames, _getService, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeader, getResponseHeaders, getTimeout, getUsername, removeProperty, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setTimeout, setUsername |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MembershipBindingStub()
throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
public MembershipBindingStub(java.net.URL endpointURL,
javax.xml.rpc.Service service)
throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
public MembershipBindingStub(javax.xml.rpc.Service service)
throws org.apache.axis.AxisFault
org.apache.axis.AxisFault| Method Detail |
|---|
public void addMembers(java.lang.String[] usernames,
java.lang.String[] roles)
throws java.rmi.RemoteException,
WSException
Membership
addMembers in interface Membershipusernames - 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 -
public MemberInfoType getMemberInfo(java.lang.String username)
throws java.rmi.RemoteException,
WSException
Membership
getMemberInfo in interface Membershipjava.rmi.RemoteException
WSException -
public MembersContainer getMembers(PaginationType pagination)
throws java.rmi.RemoteException,
WSException
MembershipPaginationType provided.
getMembers in interface Membershippagination - 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 -
public MembersContainer getOwners(PaginationType pagination)
throws java.rmi.RemoteException,
WSException
MembershipPaginationType provided.
getOwners in interface Membershippagination - 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 -
public MemberRolesType[] getPendingRolesRequests()
throws java.rmi.RemoteException,
WSException
MembershipMembersContainer.
getPendingRolesRequests in interface MembershipMembersRolesContainer, which wraps
up the list of the project's members in the context that have requested
a role.
java.rmi.RemoteException
WSException -
public void approvePendingRolesRequests(UsernameRolesType[] members)
throws java.rmi.RemoteException,
WSException
Membership
approvePendingRolesRequests in interface Membershipmembers - 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 -
public void disapprovePendingRolesRequests(UsernameRolesType[] members,
java.lang.String reason)
throws java.rmi.RemoteException,
WSException
Membership
disapprovePendingRolesRequests in interface Membershipmembers - 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 -
public void grantRolesToMembers(UsernameRolesType[] members)
throws java.rmi.RemoteException,
WSException
Membership
grantRolesToMembers in interface Membershipmembers - 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 -
public void revokeRolesFromMembers(UsernameRolesType[] members)
throws java.rmi.RemoteException,
WSException
Membership
revokeRolesFromMembers in interface Membershipmembers - 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 | |||||||||