|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.service.request.VOMSRequestSoapBindingImpl
The implementation of the Request
SOAP interface.
Constructor Summary | |
VOMSRequestSoapBindingImpl()
|
Method Summary | |
void |
allowRequest(long id,
java.lang.String comment)
Accept the given request, i.e. do the requested operation. |
void |
confirmRequest(long id,
java.lang.String cookie,
java.lang.String comment)
Confirm the email address given during the creation of the request. |
void |
deleteRequest(long id,
java.lang.String comment)
Delete the given request from the database. |
void |
denyRequest(long id,
java.lang.String comment)
Deny the given request, i.e. don't do the requested operation. |
ShortRequest[] |
getAllRequests()
Return a list of all requests in the database. |
ShortRequest[] |
getIncompleteRequests()
Return a list of all incomplete requests in the database. |
int |
getMajorVersionNumber()
Returns the major version number. |
int |
getMinorVersionNumber()
Returns the minor version number. |
ShortRequest[] |
getMyRequests()
Return a list of all requests created by the client. |
int |
getPatchVersionNumber()
Returns the patch version number. |
ShortRequest[] |
getPendingRequests()
A shorthand for getRequestsInState (null, null, "Undecided") . |
DetailedRequest |
getRequest(long id)
Return detailed information about a request. |
ShortRequest[] |
getRequestsInState(java.lang.String type,
java.lang.String container,
java.lang.String state)
Return a list of requests with the given type, with the given subject container and in the given state. |
long |
newAddMemberRequest(java.lang.String group,
java.lang.String comment,
java.lang.String[] parameters)
Create a new request for membership in the specified group. |
long |
newCreateUserRequest(User user,
java.lang.String comment,
java.lang.String[] parameters)
Create a new request for adding a new user to the VO. |
long |
newCreateUserRequestFromContext(java.lang.String email,
java.lang.String comment,
java.lang.String[] parameters)
Create a new request for adding a new user to the VO. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VOMSRequestSoapBindingImpl()
Method Detail |
public long newCreateUserRequestFromContext(java.lang.String email, java.lang.String comment, java.lang.String[] parameters) throws VOMSException
VOMSRequest
newCreateUserRequestFromContext
in interface VOMSRequest
email
- An email address to send allow/deny notifications to.comment
- A free-form comment for the VO administrator about this request.parameters
- Optional parameters for the action in an even element
String array (key at odd, value at even positions).
VOMSException
public long newCreateUserRequest(User user, java.lang.String comment, java.lang.String[] parameters) throws VOMSException
VOMSRequest
newCreateUserRequest
in interface VOMSRequest
user
- Additional info about the user (cn, email, certUri).comment
- A free-form comment for the VO administrator about this request.parameters
- Optional parameters for the action in an even element
String array (key at odd, value at even positions).
VOMSException
public long newAddMemberRequest(java.lang.String group, java.lang.String comment, java.lang.String[] parameters) throws VOMSException
VOMSRequest
newAddMemberRequest
in interface VOMSRequest
group
- The group to request membership in.comment
- A free-form comment for the VO administrator about this request.parameters
- Optional parameters for the action in an even element
String array (key at odd, value at even positions).
VOMSException
public ShortRequest[] getMyRequests() throws VOMSException
VOMSRequest
getMyRequests
in interface VOMSRequest
VOMSException
public ShortRequest[] getRequestsInState(java.lang.String type, java.lang.String container, java.lang.String state) throws VOMSException
VOMSRequest
getRequestsInState
in interface VOMSRequest
VOMSException
public ShortRequest[] getIncompleteRequests() throws VOMSException
VOMSRequest
getIncompleteRequests
in interface VOMSRequest
VOMSException
public ShortRequest[] getPendingRequests() throws VOMSException
VOMSRequest
getRequestsInState (null, null, "Undecided")
.
getPendingRequests
in interface VOMSRequest
VOMSException
public ShortRequest[] getAllRequests() throws VOMSException
VOMSRequest
getRequestsInState (null, null, null)
.
getAllRequests
in interface VOMSRequest
VOMSException
public DetailedRequest getRequest(long id) throws VOMSException
VOMSRequest
getRequest
in interface VOMSRequest
id
- The unique id of the request.
VOMSException
public void allowRequest(long id, java.lang.String comment) throws VOMSException
VOMSRequest
allowRequest
in interface VOMSRequest
id
- The unique id of the request.comment
- A textual comment to the user who requested the operation.
VOMSException
public void denyRequest(long id, java.lang.String comment) throws VOMSException
VOMSRequest
denyRequest
in interface VOMSRequest
id
- The unique id of the request.comment
- A textual comment for the user who requested the operation.
VOMSException
public void confirmRequest(long id, java.lang.String cookie, java.lang.String comment) throws VOMSException
VOMSRequest
confirmRequest
in interface VOMSRequest
id
- The unique id of the request.cookie
- The identifier that was sent to the given email address.comment
- A textual comment for this operation.
VOMSException
public void deleteRequest(long id, java.lang.String comment) throws VOMSException
VOMSRequest
deleteRequest
in interface VOMSRequest
id
- The unique id of the request.comment
- A textual comment for this operation.
VOMSException
public int getMajorVersionNumber()
VOMSRequest
getMajorVersionNumber
in interface VOMSRequest
public int getMinorVersionNumber()
VOMSRequest
getMinorVersionNumber
in interface VOMSRequest
public int getPatchVersionNumber()
VOMSRequest
getPatchVersionNumber
in interface VOMSRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |