public class IssueManagerService
extends java.lang.Object
| Constructor and Description |
|---|
IssueManagerService() |
| Modifier and Type | Method and Description |
|---|---|
int |
createIssue(java.lang.String sessionId,
int projectId,
IssueInformation issue)
Creates a new issue in the given project and returns the newly created ID.
|
boolean |
editIssueDescription(java.lang.String sessionId,
int projectId,
int issueNumber,
java.lang.String description,
boolean append)
Updates the description of a given issue.
|
java.lang.String[] |
getComponentNamesByProduct(java.lang.String sessionId,
int projectId,
java.lang.String product)
Returns an array of component names that are configured for the provided product.
|
java.lang.String[] |
getComponentNamesByProductIssueType(java.lang.String sessionId,
int projectId,
java.lang.String product,
java.lang.String issueType)
Returns an array of ComponentNames for the given issue type that are configured for the provided product.
|
IMComponent[] |
getComponents(java.lang.String sessionId,
int projectId,
java.lang.String product)
Returns an array of components that are configured for the provided Issue Manager project and product.
|
java.lang.String[][] |
getGUIObjects(java.lang.String sessionId,
int projectId)
Returns a list of custom GUI elements.
|
java.lang.String[] |
getInboxes(java.lang.String sessionId,
int projectId)
Returns the list of names of inboxes that are configured for the provided Issue Manager project.
|
IssueInformation |
getIssueInfo(java.lang.String sessionId,
int projectId,
int issueNumber,
int depth)
Returns an information object for the issue with the provided issue number in the provided project.
|
StatisticEntity[] |
getIssueStatistics(java.lang.String sessionId,
int projectId)
Returns statistics about the number of issues grouped by status and product.
|
java.lang.String[] |
getIssueTypes(java.lang.String sessionId,
int projectId)
Returns a list of available issue types.
|
java.lang.String[] |
getLOV(java.lang.String sessionId,
int projectId,
int listId,
java.lang.String groupCode)
Returns a list of values for a given listId and groupCode.
|
java.lang.String[][] |
getLOVLists(java.lang.String sessionId,
int projectId)
Returns the list of values that are configured for the provided Issue Manager project.
|
java.lang.String[] |
getPlatformNames(java.lang.String sessionId,
int projectId)
Returns an array of platform names that are configured for the provided Issue Manager project.
|
Platform[] |
getPlatforms(java.lang.String sessionId,
int projectId)
Returns an array of platforms that are configured for the provided Issue Manager project.
|
java.lang.String[] |
getPossibleStates(java.lang.String sessionId,
int projectId)
Returns an array with all states an issue might have in the provided project.
|
java.lang.String[] |
getProductNames(java.lang.String sessionId,
int projectId)
Returns a list of product names that are configured for the provided Issue Manager project.
|
Product[] |
getProducts(java.lang.String sessionId,
int projectId)
Returns an array of products that are configured for the provided Issue Manager project.
|
Project[] |
getProjects(java.lang.String sessionId)
A Project object has a ProjectId and a ProjectName.
|
java.lang.String[] |
getReleases(java.lang.String sessionId,
int projectId,
java.lang.String product)
Returns an array of ReleaseNames that are configured for the provided product.
|
java.lang.String[] |
getSeverities(java.lang.String sessionId,
int projectId,
java.lang.String product,
java.lang.String issueType)
Returns an array of active values that can be used for entering an issue in the given project when the provided IssueType/Product is selected.
|
java.lang.String |
getStatus(java.lang.String sessionId,
int projectId,
int issueNumber)
Returns the status of the issue with the provided issue number in the provided project.
|
IssueStatusInformation[] |
getStatusArray(java.lang.String sessionId,
int projectId,
int[] issueNumbers)
Returns the statuses of the issues with the provided issue numbers in the provided project.
|
java.lang.String |
logonUser(java.lang.String username,
java.lang.String plainPwd)
Logs on with a given username and password.
|
public java.lang.String logonUser(java.lang.String username,
java.lang.String plainPwd)
throws WSFaultException
username - the login usernameplainPwd - the password of the specified usernameWSFaultException - if logon failspublic Project[] getProjects(java.lang.String sessionId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)WSFaultExceptionpublic java.lang.String[] getIssueTypes(java.lang.String sessionId,
int projectId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the project you want to get the issue types fromWSFaultExceptionpublic java.lang.String[] getProductNames(java.lang.String sessionId,
int projectId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the projectWSFaultExceptionpublic java.lang.String[] getReleases(java.lang.String sessionId,
int projectId,
java.lang.String product)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the projectproduct - the product nameWSFaultExceptionpublic java.lang.String[] getPlatformNames(java.lang.String sessionId,
int projectId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the projectWSFaultExceptionpublic java.lang.String[] getComponentNamesByProductIssueType(java.lang.String sessionId,
int projectId,
java.lang.String product,
java.lang.String issueType)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the projectproduct - the product nameissueType - name of the issue typeWSFaultExceptionpublic java.lang.String[] getComponentNamesByProduct(java.lang.String sessionId,
int projectId,
java.lang.String product)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the projectproduct - the product nameWSFaultExceptionpublic java.lang.String[] getSeverities(java.lang.String sessionId,
int projectId,
java.lang.String product,
java.lang.String issueType)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the projectproduct - the product nameissueType - the issue type for which the severities are to be returnedWSFaultExceptionpublic Product[] getProducts(java.lang.String sessionId, int projectId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - WSFaultExceptionpublic Platform[] getPlatforms(java.lang.String sessionId, int projectId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - WSFaultExceptionpublic IMComponent[] getComponents(java.lang.String sessionId, int projectId, java.lang.String product) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - product - WSFaultExceptionpublic java.lang.String[] getInboxes(java.lang.String sessionId,
int projectId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - WSFaultExceptionpublic java.lang.String[][] getLOVLists(java.lang.String sessionId,
int projectId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - WSFaultExceptionpublic java.lang.String[] getLOV(java.lang.String sessionId,
int projectId,
int listId,
java.lang.String groupCode)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - listId - groupCode - WSFaultExceptionpublic int createIssue(java.lang.String sessionId,
int projectId,
IssueInformation issue)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - the ID of the project where to save theissue - a class containing the issue informationWSFaultExceptionpublic java.lang.String getStatus(java.lang.String sessionId,
int projectId,
int issueNumber)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - issueNumber - WSFaultExceptionpublic IssueStatusInformation[] getStatusArray(java.lang.String sessionId, int projectId, int[] issueNumbers) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - issueNumbers - WSFaultExceptionpublic java.lang.String[] getPossibleStates(java.lang.String sessionId,
int projectId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - WSFaultExceptionpublic IssueInformation getIssueInfo(java.lang.String sessionId, int projectId, int issueNumber, int depth) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - issueNumber - depth - 0 = normal; 1 = including description; 2 = including historyWSFaultExceptionpublic StatisticEntity[] getIssueStatistics(java.lang.String sessionId, int projectId) throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - WSFaultExceptionpublic boolean editIssueDescription(java.lang.String sessionId,
int projectId,
int issueNumber,
java.lang.String description,
boolean append)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - issueNumber - description - append - true to append the specified description to the existing one; false to replace the descriptionWSFaultExceptionpublic java.lang.String[][] getGUIObjects(java.lang.String sessionId,
int projectId)
throws WSFaultException
sessionId - the web-service token, generated in the Silk Central UI, or the unique ID of the session created with logonUser(String, String)projectId - java.rmi.RemoteExceptionjava.sql.SQLExceptionWSFaultExceptionCopyright © Micro Focus 2004-2019. All rights reserved.