|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jamasoftware.contour.ws.v2.ContourSoapServiceImpl
public class ContourSoapServiceImpl
Web Services for Jama Contour.
| Constructor Summary | |
|---|---|
ContourSoapServiceImpl()
|
|
| Method Summary | |
|---|---|
boolean |
addAttachmentToItem(WsAuth token,
java.lang.Long attachmentDocId,
java.lang.Long itemId)
Adds an existing Attachment to an Item. |
void |
addComment(WsAuth token,
WsComment wsComment)
Adds a new Comment based on the scope provided in the WsComment. |
WsItem |
addItem(WsAuth token,
WsItem item)
Adds a new Item. |
WsItem[] |
addItems(WsAuth token,
WsItem[] items)
Adds multiple Items. |
void |
addLookup(WsAuth token,
WsLookup wsLookup)
Adds a new Lookup value. |
WsModule |
addModule(WsAuth token,
WsModule module)
Adds a new Module. |
void |
addOrganization(WsAuth token,
WsOrganization organization)
Adds a new Organization. |
WsProject |
addProject(WsAuth token,
WsProject project)
Adds a new Project. |
void |
addPropertyEntry(WsAuth token,
WsPropertyEntry wsPropertyEntry)
Adds a new Property Entry. |
void |
addPropertyList(WsAuth token,
WsPropertyList wsPropertyList)
Adds a new list of Property Entries. |
WsRelease |
addRelease(WsAuth token,
java.lang.Integer projectId,
WsRelease release)
Adds a new Release. |
void |
addSubscribersToItem(WsAuth token,
java.lang.Long itemId,
WsUser[] users)
Subscribes Users to an Item. |
void |
addUser(WsAuth token,
WsUser wsUser)
Adds a new User. |
void |
clearSuspectLinksForItem(WsAuth token,
java.lang.Long itemId)
Clears the suspect links for an Item. |
void |
clearSuspectLinksForProject(WsAuth token,
java.lang.Long projectId)
Clears the suspect links for a Project. |
boolean |
createBaseline(WsAuth token,
WsBaseline wsBaseline)
Creates a Baseline. |
boolean |
createBaselineFromFilter(WsAuth token,
java.lang.String baselineName,
java.lang.String description,
WsFilter filter)
Creates a Baseline from a Filter. |
void |
createRelationships(WsAuth token,
WsRelationship[] listOfRelationships)
Creates multiple Relationships. |
boolean |
deactivateBaseline(WsAuth token,
WsBaseline wsBaseline)
Deactivates a Baseline. |
void |
deactivateItem(WsAuth token,
java.lang.Long itemId)
Deactivates the Item. |
void |
deactivateModule(WsAuth token,
java.lang.Long moduleId)
Deactivates the Module. |
void |
deactivateProject(WsAuth token,
WsProject project)
Deactivates the Project. |
void |
deactivateUser(WsAuth token,
java.lang.Long userId)
Deactivates the User. |
void |
deleteAttachment(WsAuth token,
java.lang.Long attachmentId)
Deletes an Attachment from the server. |
void |
deleteComment(WsAuth token,
java.lang.Long commentId)
Deletes a Comment. |
void |
deleteOrganization(WsAuth token,
java.lang.Long organizationId)
Deletes the Organization. |
void |
deleteProject(WsAuth token,
WsProject project)
Deletes the Project. |
void |
deletePropertyEntry(WsAuth token,
WsPropertyEntry wsPropertyEntry)
Deletes a property entry. |
void |
deletePropertyList(WsAuth token,
WsPropertyList wsPropertylist)
Deletes a list of Property Entries. |
void |
deleteRelease(WsAuth token,
java.lang.Long releaseId,
java.lang.Long swapReleaseId)
Deletes the Release. |
WsActivity[] |
getActivities(WsAuth token,
java.lang.Long projectId,
int count,
int start)
Gets the latest entries in a Project's Activity Stream. |
WsAttachment |
getAttachment(WsAuth token,
java.lang.Long attachmentDocId)
Gets an Attachment. |
WsAttachment[] |
getAttachments(WsAuth token,
java.lang.Long projectId)
Gets all the Attachments in a Project. |
WsAttachment[] |
getAttachmentsForItem(WsAuth token,
java.lang.Long itemId)
Gets all Attachments attached to a specified Item. |
WsBaseline |
getBaseline(WsAuth token,
java.lang.Long baselineId)
Gets a Baseline. |
WsBaseline[] |
getBaselinesForProject(WsAuth token,
java.lang.Long projectId)
Gets all the Baselines in a Project. |
WsItem[] |
getChildrenOfItem(WsAuth token,
java.lang.Long itemId,
java.lang.Boolean recursive,
int start,
int count)
Gets the children of an Item/Folder. |
WsComment |
getComment(WsAuth token,
java.lang.Long commentId)
Gets a Comment. |
WsComment[] |
getComments(WsAuth token,
java.lang.Long itemId)
Gets all Comments from an Item. |
WsItem[] |
getDownstreamRelated(WsAuth token,
java.lang.Long itemId)
Gets all Items downstream of an Item. |
WsFilter |
getFilter(WsAuth token,
java.lang.Long filterId)
Gets a Filter. |
WsFilter[] |
getFiltersForModule(WsAuth token,
java.lang.Long moduleId)
Gets all Filters for a Module. |
WsFilter[] |
getFiltersForProject(WsAuth token,
java.lang.Long projectId)
Gets all Filters for a Project. |
WsItem |
getItem(WsAuth token,
java.lang.Long itemId)
Gets an Item. |
java.lang.String[] |
getItemFieldNames(WsAuth token,
java.lang.Long itemId)
Returns an array of the field names for an Item. |
WsField[] |
getItemFields(WsAuth token,
java.lang.Long itemId)
Returns an array of all WsFields for an Item. |
WsItem[] |
getItemsForBaseline(WsAuth token,
java.lang.Long baselineId,
int start,
int count)
Gets all the Items in a Baseline. |
WsItem[] |
getItemsForModule(WsAuth token,
java.lang.Long moduleId,
int start,
int count)
Gets all the Items in a Module. |
WsItem[] |
getItemsForProject(WsAuth token,
java.lang.Long projectId,
int start,
int count)
Gets all the Items in a Project. |
WsItem[] |
getItemsFromFilterWithLimit(WsAuth token,
WsFilter filter,
int start,
int count)
Gets all the Items based on a Filter. |
WsItem[] |
getItemsFromTextSearch(WsAuth token,
java.lang.String searchTerms,
int start,
int count)
Gets all the Items based on a text search. |
WsItem[] |
getItemsWithAttachment(WsAuth token,
java.lang.Long attachmentDocId)
Gets all Items that have a specified Attachment attached to it. |
WsLookup |
getLookup(WsAuth token,
java.lang.Integer lookupId)
Gets a lookup value. |
WsModule |
getModule(WsAuth token,
java.lang.Integer moduleId)
Gets a Module. |
WsModule[] |
getModules(WsAuth token,
java.lang.Integer projectId)
Gets all Modules in a Project. |
WsOrganization |
getOrganization(WsAuth token,
java.lang.Long organizationId)
Gets an Organization. |
WsOrganization[] |
getOrganizations(WsAuth token)
Gets all Organizations in this Contour installation. |
WsProject |
getProject(WsAuth token,
java.lang.Integer projectId)
Gets a Project. |
WsProject[] |
getProjects(WsAuth token)
Gets all Projects in the current Organization. |
WsPropertyEntry |
getPropertyEntry(WsAuth token,
java.lang.Integer refId,
java.lang.Integer scope,
java.lang.String propertyName)
Gets a Property Entry. |
WsPropertyList |
getPropertyList(WsAuth token,
java.lang.Integer refId,
java.lang.Integer scope)
Gets a list of Property Entries. |
WsRelease |
getRelease(WsAuth token,
long releaseId)
Gets a Release. |
WsRelease[] |
getReleases(WsAuth token,
WsProject project)
Gets all the Releases for a Project. |
WsServerInfo |
getServerInfo(WsAuth token)
Gets basic info about the server Contour is installed on. |
WsUser[] |
getSubscribersToAnItem(WsAuth token,
java.lang.Long itemId)
Gets Users that are subscribed to an Item. |
WsItem[] |
getUpstreamRelated(WsAuth token,
java.lang.Long itemId)
Gets all the upstream related Items. |
java.lang.String |
getUrlForAttachment(WsAuth token,
java.lang.Long attachmentDocId)
Gets the URL for an Attachment. |
java.lang.String |
getUrlForItem(WsAuth token,
java.lang.Long itemId)
Gets the URL for an Item. |
WsUser |
getUser(WsAuth token,
java.lang.Integer userId)
Gets a User. |
WsUser |
getUserFromAuth(WsAuth token)
Gets the User that is being used for authentication. |
WsUser[] |
getUsers(WsAuth token)
Gets all the Users for the Organization. |
WsVersion[] |
getVersionsForItem(WsAuth token,
java.lang.Long itemId)
Gets all the Versions for an Item. |
void |
removeAttachmentFromItem(WsAuth token,
java.lang.Long attachmentId,
java.lang.Long itemId)
Removes the association between an Attachment and an Item. |
void |
removeLookup(WsAuth token,
WsLookup lookupToRemove,
WsLookup replacementLookup)
Removes an existing lookup value. |
void |
replyToComment(WsAuth token,
java.lang.String commentText,
long commentToReplyTo)
Replies to an existing Comment. |
boolean |
revokeSignatureFromBaseline(WsAuth token,
java.lang.Long baselineId,
java.lang.String revokeComments)
Revokes an Electronic Signature from a Baseline. |
boolean |
signBaseline(WsAuth token,
java.lang.Long baselineId,
java.lang.String comments)
Electronically signs a Baseline. |
java.lang.Boolean |
testConnection(WsAuth token)
Tests that a successful connection has been made. |
boolean |
updateBaseline(WsAuth token,
java.lang.Long baselineId,
java.lang.String newName,
java.lang.String newDescription)
Updates an existing Baseline. |
WsComment |
updateComment(WsAuth token,
WsComment comment)
Updates an existing Comment. |
WsItem |
updateItem(WsAuth token,
WsItem item)
Updates an existing Item. |
WsItem[] |
updateItems(WsAuth token,
WsItem[] items)
Updates existing Items. |
WsItem |
updateItemValues(WsAuth token,
java.lang.Long itemId,
WsField[] fieldValues,
java.lang.String comments,
WsUser[] notifyUsers)
Updates the specified values for an existing Item. |
void |
updateLookup(WsAuth token,
WsLookup wsLookup)
Updates an existing lookup value. |
WsModule |
updateModule(WsAuth token,
WsModule module)
Updates an existing Module. |
WsOrganization |
updateOrganization(WsAuth token,
WsOrganization organization)
Updates an existing Organization. |
WsProject |
updateProject(WsAuth token,
WsProject project)
Updates an existing Project. |
void |
updatePropertyEntry(WsAuth token,
WsPropertyEntry wsPropertyEntry)
Updates an existing Property Entry. |
void |
updatePropertyList(WsAuth token,
WsPropertyList wsPropertylist)
Updates a list of existing Property Entries. |
WsRelease |
updateRelease(WsAuth token,
WsRelease release)
Updates an existing Release. |
void |
updateUser(WsAuth token,
WsUser user)
Updates an existing User. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContourSoapServiceImpl()
| Method Detail |
|---|
public boolean addAttachmentToItem(WsAuth token,
java.lang.Long attachmentDocId,
java.lang.Long itemId)
throws java.lang.Exception
addAttachmentToItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemattachmentDocId - id of the item that represents the attachmentitemId - id of the item to add the attachment to
java.lang.Exception
public void addComment(WsAuth token,
WsComment wsComment)
throws java.lang.Exception
WsScope.DOCUMENT is supported.
addComment in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsComment - the comment to add
java.lang.Exception
public WsItem addItem(WsAuth token,
WsItem item)
throws java.lang.Exception
addItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitem - an item to add
java.lang.Exception
public WsItem[] addItems(WsAuth token,
WsItem[] items)
throws java.lang.Exception
addItems in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitems - a list of items to add
java.lang.Exception
public void addLookup(WsAuth token,
WsLookup wsLookup)
addLookup in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsLookup - the lookup to be added
public WsModule addModule(WsAuth token,
WsModule module)
addModule in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemmodule - the module to add
java.lang.Exception
public void addOrganization(WsAuth token,
WsOrganization organization)
addOrganization in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemorganization - the organization to add
java.lang.Exception
public WsProject addProject(WsAuth token,
WsProject project)
addProject in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemproject - the project to add
java.lang.Exception
public void addPropertyEntry(WsAuth token,
WsPropertyEntry wsPropertyEntry)
addPropertyEntry in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsPropertyEntry - the property entry to be added
public void addPropertyList(WsAuth token,
WsPropertyList wsPropertyList)
addPropertyList in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsPropertyList - A list of property entries to be added
public WsRelease addRelease(WsAuth token,
java.lang.Integer projectId,
WsRelease release)
addRelease in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemprojectId - the id of the project to add the release torelease - the release to add
java.lang.Exception
public void addSubscribersToItem(WsAuth token,
java.lang.Long itemId,
WsUser[] users)
throws java.lang.Exception
addSubscribersToItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - the item to be subscribed tousers - the list of users to add subscriptions for
java.lang.Exception
public void addUser(WsAuth token,
WsUser wsUser)
throws java.lang.Exception
addUser in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsUser - the user to add
java.lang.Exception
public void clearSuspectLinksForItem(WsAuth token,
java.lang.Long itemId)
clearSuspectLinksForItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - the id of the item to clear suspect links from
public void clearSuspectLinksForProject(WsAuth token,
java.lang.Long projectId)
throws java.lang.Exception
clearSuspectLinksForProject in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemprojectId - the id of the project to clear suspect links from
java.lang.Exception
public boolean createBaseline(WsAuth token,
WsBaseline wsBaseline)
throws java.lang.Exception
createBaseline in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth tokenwsBaseline - the baseline to create
java.lang.Exception
public boolean createBaselineFromFilter(WsAuth token,
java.lang.String baselineName,
java.lang.String description,
WsFilter filter)
throws java.lang.Exception
The filter can be an ad-hoc filter with no id, or an existing filter. If the filter id is null it will be treated as ad-hoc. If the filter id is set Contour will attempt to use an existing filter with that id. Use start and count to page the results.
createBaselineFromFilter in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itembaselineName - name of the baseline to createdescription - description of the baseline to createfilter - filter to be used to create the baseline
java.lang.Exception
public void createRelationships(WsAuth token,
WsRelationship[] listOfRelationships)
createRelationships in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemlistOfRelationships - the relationships to be created
public boolean deactivateBaseline(WsAuth token,
WsBaseline wsBaseline)
throws java.lang.Exception
deactivateBaseline in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsBaseline - baseline to deactivate
java.lang.Exception
public void deactivateItem(WsAuth token,
java.lang.Long itemId)
deactivateItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - the id of the item to be deactivated
public void deactivateModule(WsAuth token,
java.lang.Long moduleId)
deactivateModule in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemmoduleId - the id of the module to be deactivated
public void deactivateProject(WsAuth token,
WsProject project)
deactivateProject in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemproject - the project to be deactivated
public void deactivateUser(WsAuth token,
java.lang.Long userId)
deactivateUser in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemuserId - the id of the user to deactivate
public void deleteAttachment(WsAuth token,
java.lang.Long attachmentId)
deleteAttachment in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemattachmentId - id of the attachment to delete
public void deleteComment(WsAuth token,
java.lang.Long commentId)
throws java.lang.Exception
deleteComment in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - for the WsAuth itemcommentId - id of the comment to delete
java.lang.Exception
public void deleteOrganization(WsAuth token,
java.lang.Long organizationId)
deleteOrganization in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemorganizationId - the id of the organization to be deleted
public void deleteProject(WsAuth token,
WsProject project)
deleteProject in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemproject - the project to be deleted
public void deletePropertyEntry(WsAuth token,
WsPropertyEntry wsPropertyEntry)
deletePropertyEntry in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsPropertyEntry - the property entry to be deleted
public void deletePropertyList(WsAuth token,
WsPropertyList wsPropertylist)
deletePropertyList in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsPropertylist - A list of property entries to be deleted
public void deleteRelease(WsAuth token,
java.lang.Long releaseId,
java.lang.Long swapReleaseId)
deleteRelease in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemreleaseId - the release to be deletedswapReleaseId - the release to move any items to. Can be null.
public WsActivity[] getActivities(WsAuth token,
java.lang.Long projectId,
int count,
int start)
throws java.lang.Exception
getActivities in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemprojectId - the id of the project to get the activity stream fromcount - number of results to returnstart - index of results to start at
java.lang.Exception
public WsAttachment getAttachment(WsAuth token,
java.lang.Long attachmentDocId)
getAttachment in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemattachmentDocId - id of the item that represents the attachment
public WsAttachment[] getAttachments(WsAuth token,
java.lang.Long projectId)
throws java.lang.Exception
getAttachments in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemprojectId - id of the project to get attachments from
java.lang.Exception
public WsAttachment[] getAttachmentsForItem(WsAuth token,
java.lang.Long itemId)
throws java.lang.Exception
getAttachmentsForItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - id of the item to get attachments from
java.lang.Exception
public WsBaseline getBaseline(WsAuth token,
java.lang.Long baselineId)
throws java.lang.Exception
getBaseline in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itembaselineId - the id of the baseline to get
java.lang.Exception
public WsBaseline[] getBaselinesForProject(WsAuth token,
java.lang.Long projectId)
throws java.lang.Exception
getBaselinesForProject in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemprojectId - the project to get baselines from
java.lang.Exception
public WsItem[] getChildrenOfItem(WsAuth token,
java.lang.Long itemId,
java.lang.Boolean recursive,
int start,
int count)
throws java.lang.Exception
getChildrenOfItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - id of the parent item/folderrecursive - whether or not the results should be recursive (get
grandchildren, great-grandchildren, etc...)start - index of results to start atcount - number of results to return
java.lang.Exception
public WsComment getComment(WsAuth token,
java.lang.Long commentId)
throws java.lang.Exception
getComment in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemcommentId - id of the comment
java.lang.Exception
public WsComment[] getComments(WsAuth token,
java.lang.Long itemId)
throws java.lang.Exception
getComments in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - id of the item to get comments from
java.lang.Exception
public WsItem[] getDownstreamRelated(WsAuth token,
java.lang.Long itemId)
throws java.lang.Exception
getDownstreamRelated in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - id of the item to get downstream relationships of
java.lang.Exception
public WsFilter getFilter(WsAuth token,
java.lang.Long filterId)
getFilter in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemfilterId - id of the filter to get
public WsFilter[] getFiltersForModule(WsAuth token,
java.lang.Long moduleId)
getFiltersForModule in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemmoduleId - id of the module to get filters from
public WsFilter[] getFiltersForProject(WsAuth token,
java.lang.Long projectId)
getFiltersForProject in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemprojectId - id of the project to get filters from
public WsItem getItem(WsAuth token,
java.lang.Long itemId)
throws java.lang.Exception
getItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - the id of the item
java.lang.Exception
public java.lang.String[] getItemFieldNames(WsAuth token,
java.lang.Long itemId)
throws java.lang.Exception
getItemFieldNames in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - id of the item
java.lang.Exception
public WsField[] getItemFields(WsAuth token,
java.lang.Long itemId)
throws java.lang.Exception
WsFields for an Item.
getItemFields in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - id of the item
java.lang.Exception
public WsItem[] getItemsForBaseline(WsAuth token,
java.lang.Long baselineId,
int start,
int count)
throws java.lang.Exception
getItemsForBaseline in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itembaselineId - the id of the baselinestart - index of results to start atcount - number of results to return
java.lang.Exception
public WsItem[] getItemsForModule(WsAuth token,
java.lang.Long moduleId,
int start,
int count)
throws java.lang.Exception
getItemsForModule in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemmoduleId - the id of the modulestart - index of results to start atcount - number of results to return
java.lang.Exception
public WsItem[] getItemsForProject(WsAuth token,
java.lang.Long projectId,
int start,
int count)
throws java.lang.Exception
getItemsForProject in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemprojectId - the id of the projectstart - index of results to start atcount - number of results to return
java.lang.Exception
public WsItem[] getItemsFromFilterWithLimit(WsAuth token,
WsFilter filter,
int start,
int count)
throws java.lang.Exception
The filter can be an ad-hoc filter with no id, or an existing filter. If the filter id is null it will be treated as ad-hoc. If the filter id is set Contour will attempt to use an existing filter with that id. Use start and count to page the results. Start and counts of 0 will return all results.
getItemsFromFilterWithLimit in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemfilter - the WsFilter to usestart - the location to startcount - the maximum number of results to return
java.lang.Exception
public WsItem[] getItemsFromTextSearch(WsAuth token,
java.lang.String searchTerms,
int start,
int count)
throws java.lang.Exception
getItemsFromTextSearch in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemsearchTerms - the search querystart - index of results to start atcount - number of results to return
java.lang.Exception
public WsItem[] getItemsWithAttachment(WsAuth token,
java.lang.Long attachmentDocId)
throws java.lang.Exception
getItemsWithAttachment in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemattachmentDocId - id of the item that represents the attachment
java.lang.Exception
public WsLookup getLookup(WsAuth token,
java.lang.Integer lookupId)
getLookup in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemlookupId - id of the lookup to get
public WsModule getModule(WsAuth token,
java.lang.Integer moduleId)
getModule in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemmoduleId - id of the module to get
public WsModule[] getModules(WsAuth token,
java.lang.Integer projectId)
getModules in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemprojectId - id of the project to get modules from
WsModules
public WsOrganization getOrganization(WsAuth token,
java.lang.Long organizationId)
getOrganization in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemorganizationId - id of the organization
public WsOrganization[] getOrganizations(WsAuth token)
getOrganizations in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth item
WsOrganizations
public WsProject getProject(WsAuth token,
java.lang.Integer projectId)
getProject in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemprojectId - id of the project
public WsProject[] getProjects(WsAuth token)
getProjects in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth item
WsProjects
public WsPropertyEntry getPropertyEntry(WsAuth token,
java.lang.Integer refId,
java.lang.Integer scope,
java.lang.String propertyName)
getPropertyEntry in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemscope - the scope of the object associated with the property entry
(Scopes are defined in WsScoperefId - the id of the object associated with the property entrypropertyName - the name of the property to get
public WsPropertyList getPropertyList(WsAuth token,
java.lang.Integer refId,
java.lang.Integer scope)
getPropertyList in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemscope - the scope of the object associated with the property entries
(Scopes are defined in WsScoperefId - the id of the object associated with the property entries
public WsRelease getRelease(WsAuth token,
long releaseId)
getRelease in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemreleaseId - id of the release
public WsRelease[] getReleases(WsAuth token,
WsProject project)
getReleases in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemproject - the project that contains the releases
public WsServerInfo getServerInfo(WsAuth token)
getServerInfo in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth item
public WsUser[] getSubscribersToAnItem(WsAuth token,
java.lang.Long itemId)
getSubscribersToAnItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - id of the item
public WsItem[] getUpstreamRelated(WsAuth token,
java.lang.Long itemId)
throws java.lang.Exception
getUpstreamRelated in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - id of the item
java.lang.Exception
public java.lang.String getUrlForAttachment(WsAuth token,
java.lang.Long attachmentDocId)
getUrlForAttachment in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemattachmentDocId - id of the item that represents the attachment
public java.lang.String getUrlForItem(WsAuth token,
java.lang.Long itemId)
throws java.lang.Exception
getUrlForItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - the id of the item
java.lang.Exception
public WsUser getUser(WsAuth token,
java.lang.Integer userId)
getUser in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemuserId - id of the user
public WsUser getUserFromAuth(WsAuth token)
getUserFromAuth in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth item
public WsUser[] getUsers(WsAuth token)
getUsers in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth item
public WsVersion[] getVersionsForItem(WsAuth token,
java.lang.Long itemId)
throws java.lang.Exception
getVersionsForItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - id for the item
java.lang.Exception
public void removeAttachmentFromItem(WsAuth token,
java.lang.Long attachmentId,
java.lang.Long itemId)
throws java.lang.Exception
removeAttachmentFromItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemattachmentId - id of the item that represents the attachmentitemId - id of the item to remove attachment from
java.lang.Exception
public void removeLookup(WsAuth token,
WsLookup lookupToRemove,
WsLookup replacementLookup)
removeLookup in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemlookupToRemove - the lookup to be removedreplacementLookup - the lookup to replace all references to the
removed lookup (Can be null)
public void replyToComment(WsAuth token,
java.lang.String commentText,
long commentToReplyTo)
throws java.lang.Exception
replyToComment in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemcommentText - the text of the comment to be postedcommentToReplyTo - the id of the comment to be replied to
java.lang.Exception
public boolean revokeSignatureFromBaseline(WsAuth token,
java.lang.Long baselineId,
java.lang.String revokeComments)
throws java.lang.Exception
revokeSignatureFromBaseline in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth tokenbaselineId - the id of the baseline to revoke the signature fromrevokeComments - revoke comments, can be null
java.lang.Exception
public boolean signBaseline(WsAuth token,
java.lang.Long baselineId,
java.lang.String comments)
throws java.lang.Exception
signBaseline in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth tokenbaselineId - the id of the baseline to signcomments - signature comments, can be null
java.lang.Exceptionpublic java.lang.Boolean testConnection(WsAuth token)
testConnection in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth item
public boolean updateBaseline(WsAuth token,
java.lang.Long baselineId,
java.lang.String newName,
java.lang.String newDescription)
throws java.lang.Exception
updateBaseline in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itembaselineId - id of the baseline to updatenewName - new name of the baseline, will not update if nullnewDescription - new description of the baseline, will not update if
null
java.lang.Exception
public WsComment updateComment(WsAuth token,
WsComment comment)
throws java.lang.Exception
updateComment in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemcomment - the updated comment
java.lang.Exception
public WsItem updateItem(WsAuth token,
WsItem item)
throws java.lang.Exception
updateItem in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitem - the item to be updated
java.lang.Exception
public WsItem[] updateItems(WsAuth token,
WsItem[] items)
throws java.lang.Exception
updateItems in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitems - the items to be updated
java.lang.Exception
public WsItem updateItemValues(WsAuth token,
java.lang.Long itemId,
WsField[] fieldValues,
java.lang.String comments,
WsUser[] notifyUsers)
throws java.lang.Exception
updateItemValues in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemitemId - id of the item that will be changedfieldValues - the values to be changedcomments - to be included as part of the change.notifyUsers - a list of user to be notified of the change.
java.lang.Exception
public void updateLookup(WsAuth token,
WsLookup wsLookup)
updateLookup in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsLookup - the lookup to be updated
public WsModule updateModule(WsAuth token,
WsModule module)
updateModule in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemmodule - the module to be updated
public WsOrganization updateOrganization(WsAuth token,
WsOrganization organization)
updateOrganization in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemorganization - the organization to be updated
public WsProject updateProject(WsAuth token,
WsProject project)
updateProject in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemproject - the project to be updated
public void updatePropertyEntry(WsAuth token,
WsPropertyEntry wsPropertyEntry)
updatePropertyEntry in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsPropertyEntry - the property entry to update
public void updatePropertyList(WsAuth token,
WsPropertyList wsPropertylist)
updatePropertyList in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemwsPropertylist - a list of property entries to be updated
public WsRelease updateRelease(WsAuth token,
WsRelease release)
updateRelease in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemrelease - the release to be updated
public void updateUser(WsAuth token,
WsUser user)
updateUser in interface com.jamasoftware.contour.ws.v2.ContourSoapServicetoken - the WsAuth itemuser - the user to be updated
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||