|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlRpcHandler
This is an interface for a service handler dedicated to Xml-Rpc protocol. For this reason, operations signature are simplified in order to be easily bounded to their Xml-Rpc serialization representation.
Method Summary | |
---|---|
boolean |
bindComponent(java.lang.String token,
java.lang.String typeKey,
java.lang.String versionInfo,
long size,
java.lang.String assemblyKey)
Bind a component to a given assembly. |
boolean |
createResourceVersion(java.lang.String token,
java.lang.String versionName,
java.lang.String versionDescription,
java.lang.String resourceTypeKey)
Create a new resource version for a specified resource type. |
java.util.List |
getDeliverableTypes(java.lang.String token)
Retrieve all the deliverable categories (or types) managed within the project. |
java.util.List |
getDeliverableTypesForDelivery(java.lang.String token)
Get the deliverable categories where authenticated user can supply deliverables for. |
java.util.List |
getReleases(java.lang.String token)
Retrieve all the releases managed within the project. |
java.lang.String |
login(java.lang.String username,
java.lang.String password)
Authenticates a remote user onto Join application. |
boolean |
logout(java.lang.String token)
Logs out from Join application the user corresponding to the supplied token. |
boolean |
setAssemblyStatus(java.lang.String token,
java.lang.String statusKey,
java.lang.String assemblyKey)
Set the specified status to a specified Assembly . |
boolean |
setBuildStatus(java.lang.String token,
java.lang.String statusKey,
java.lang.String buildKey)
Set the specified status to a specified Build . |
boolean |
setDeploymentStatus(java.lang.String token,
java.lang.String statusKey,
java.lang.String deploymentId)
Set the specified status to a specified Deployment . |
boolean |
supplyDeliverable(java.lang.String token,
java.lang.String releaseName,
java.lang.String typeKey,
java.lang.String versionInfo,
java.lang.String comments,
byte[] content)
Supply a new deliverable using the remote wrapper. |
boolean |
updateResource(java.lang.String token,
java.lang.String resourceName,
java.lang.String versionName)
Update an existing resource with an existing reosurce version. |
Method Detail |
---|
java.lang.String login(java.lang.String username, java.lang.String password) throws InvalidLoginException, java.rmi.RemoteException
username
- Login of user for authenticationpassword
- Password of corresponding user
InvalidLoginException
- if user cannot be logged
java.rmi.RemoteException
- if an exception occurs during the remote conversationboolean logout(java.lang.String token) throws java.rmi.RemoteException
token
- An authentication token obtained with login()
method.
java.rmi.RemoteException
- if an exception occurs during the remote conversationjava.util.List getReleases(java.lang.String token) throws InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() method
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationjava.util.List getDeliverableTypes(java.lang.String token) throws InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() method
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationjava.util.List getDeliverableTypesForDelivery(java.lang.String token) throws InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() method
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationboolean supplyDeliverable(java.lang.String token, java.lang.String releaseName, java.lang.String typeKey, java.lang.String versionInfo, java.lang.String comments, byte[] content) throws InvalidParameterException, DuplicateEntityException, InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() methodreleaseName
- The unique name of Release to supply a deliverable fortypeKey
- The unique key of deliverable type this delivery will be bound toversionInfo
- The version info (or VCS tag info) for this deliverycomments
- The comments on deliverable creationcontent
- The deliverable content if not VCS deliverable
InvalidParameterException
- if deliverable is already registered or parameter is missing
DuplicateEntityException
- if another deliverable with same key already exists
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationboolean bindComponent(java.lang.String token, java.lang.String typeKey, java.lang.String versionInfo, long size, java.lang.String assemblyKey) throws InvalidParameterException, InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() methodtypeKey
- The unique key of component type this component will be bound toversionInfo
- The version info for this componentsize
- The size in bytes of this componentassemblyKey
- The key of assembly to bind component to
InvalidParameterException
- if parameter is missing
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationboolean setBuildStatus(java.lang.String token, java.lang.String statusKey, java.lang.String buildKey) throws InvalidSessionException, java.rmi.RemoteException
Build
.
token
- Authentication token provided earlier by login() methodstatusKey
- Unique key idenitifer of the status to set to buildbuildKey
- The unique key idenitifer of Build to update status
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationboolean setAssemblyStatus(java.lang.String token, java.lang.String statusKey, java.lang.String assemblyKey) throws InvalidSessionException, java.rmi.RemoteException
Assembly
.
token
- Authentication token provided earlier by login() methodstatusKey
- Unique key idenitifer of the status to set to assemblyassemblyKey
- The unique key idenitifer of Assembly to update status
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationboolean setDeploymentStatus(java.lang.String token, java.lang.String statusKey, java.lang.String deploymentId) throws InvalidSessionException, java.lang.NumberFormatException, java.rmi.RemoteException
Deployment
.
token
- Authentication token provided earlier by login() methodstatusKey
- Unique key idenitifer of the status to set to deploymentdeploymentId
- The unique identifier of Deployment to update status for (must be a long)
InvalidSessionException
- if user has no valid session on server-side
java.lang.NumberFormatException
- if deploymentId does not represent a long
java.rmi.RemoteException
- if an exception occurs during the remote conversationboolean createResourceVersion(java.lang.String token, java.lang.String versionName, java.lang.String versionDescription, java.lang.String resourceTypeKey) throws InvalidParameterException, DuplicateEntityException, InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() methodversionName
- The name of the resource version to createversionDescription
- The description of resource version to createresourceTypeKey
- The key of resource type this version applies to
InvalidParameterException
- if parameter is missing
DuplicateEntityException
- if another version with same name already exists
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationboolean updateResource(java.lang.String token, java.lang.String resourceName, java.lang.String versionName) throws InvalidParameterException, InvalidSessionException, java.rmi.RemoteException
token
- Authentication token provided earlier by login() methodresourceName
- The unique name of the resource to updateversionName
- The unique name of the version to update resource with
InvalidParameterException
- if one of supplied parameters is invalid
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |