|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
long |
addIssue(IIssue issue)
Submit the specified issue. |
long |
addIssueAttachment(long issueId,
java.lang.String name,
java.lang.String fileType,
byte[] content)
Submit an issue attachment |
long |
addNote(long issueId,
INote note)
Submit a new note. |
long |
addProject(IProject project)
Add a new project to the tracker (must have admin privileges). |
long |
addProjectAttachment(long projectId,
java.lang.String name,
java.lang.String fileType,
java.lang.String title,
java.lang.String description,
byte[] content)
Submit a project attachment |
long |
addRelationship(long issueId,
IRelationship relationship)
Submit a new realtionship. |
long |
addVersion(IProjectVersion version)
Submit the specified version details. |
boolean |
deleteIssue(long issueId)
Delete the issue with the specified id. |
boolean |
deleteIssueAttachment(long attachmentId)
Delete the issue attachment with the specified id. |
boolean |
deleteNote(long noteId)
Delete the note with the specified id. |
boolean |
deleteProject(long projectId)
Delete the project with the specified id (must have admin privileges). |
boolean |
deleteProjectAttachment(long attachmentId)
Delete the project attachment with the specified id. |
boolean |
deleteRelationship(long issueId,
long relationshipId)
Delete the relationship for the specified issue. |
boolean |
deleteVersion(long id)
Delete the version with the specified id. |
void |
flush()
Flush cached information |
IProject[] |
getAccessibleProjects()
Get the list of projects that are accessible to the logged in user. |
long |
getBiggestIssueId(long projectId)
Get the latest submitted issue in the specified project. |
java.lang.String[] |
getCategories(long projectId)
Get the categories belonging to the specified project. |
java.lang.String |
getConfigString(java.lang.String configVar)
Get the value for the specified configuration variable. |
ICustomFieldDefinition[] |
getCustomFieldDefinitions(long projectId)
Get the custom fields that belong to the specified project. |
IMCAttribute |
getDefaultIssuePriority()
Get the default priority for new issues. |
IMCAttribute |
getDefaultIssueSeverity()
Get the default severity for new issues. |
Viewstate |
getDefaultIssueViewState()
Get the default viewstate for new issues. |
Viewstate |
getDefaultNoteViewState()
Get the default viewstate for new notes. |
IMCAttribute[] |
getEnum(Enumeration enumeration)
Get the specified enumeration. |
java.lang.String |
getEnum(java.lang.String enumeration)
Get the specified enumeration. |
IFilter[] |
getFilters(long projectId)
Get the filters defined for the specified project. |
long |
getIdFromSummary(java.lang.String summary)
Get the id of the issue with the specified summary. |
IIssue |
getIssue(long issueId)
Get the issue with the specified id. |
byte[] |
getIssueAttachment(long attachmentId)
Get the data for the specified issue attachment. |
IIssueHeader[] |
getIssueHeaders(long projectId,
long filterId)
Get all issue headers that match the specified filter. |
IIssueHeader[] |
getIssueHeaders(long projectId,
long filterId,
int limit)
Get issue headers that match the specified filter. |
IIssueHeader[] |
getIssueHeaders(long projectId,
long filterId,
int pageNumber,
int perPage)
Get all issue headers that match the specified filter and paging details. |
IIssue[] |
getIssues(long projectId,
long filterId)
Get all issues that match the specified filter. |
IIssue[] |
getIssues(long projectId,
long filterId,
int limit)
Get issues that match the specified filter. |
IIssue[] |
getIssues(long projectId,
long filterId,
int pageNumber,
int perPage)
Get all issues that match the specified filter and paging details. |
IProject |
getProject(long projectId)
Returns the project with id projectId. |
IProject |
getProject(java.lang.String name)
Returns the project with name name. |
byte[] |
getProjectAttachment(long attachmentId)
Get the data for the specified project attachment. |
IProjectAttachment[] |
getProjectAttachments(long projectId)
Get the attachments that belong to the specified project. |
IIssueHeader[] |
getProjectIssueHeaders(long projectId)
Get all issue headers that match the specified project. |
IIssueHeader[] |
getProjectIssueHeaders(long projectId,
int limit)
Get the issue headers that match the specified project id and paging details Constrain the number of issues to limit . |
IIssueHeader[] |
getProjectIssueHeaders(long projectId,
int pageNumber,
int perPage)
Get the issue headers that match the specified project id and paging details |
IIssue[] |
getProjectIssues(long projectId)
Get all issues that match the specified project. |
IIssue[] |
getProjectIssues(long projectId,
int limit)
Get the issues that match the specified project id and paging details Constrain the number of issues to limit . |
IIssue[] |
getProjectIssues(long projectId,
int pageNumber,
int perPage)
Get the issues that match the specified project id and paging details |
IAccount[] |
getProjectUsers(long projectId,
AccessLevel access)
Get appropriate users assigned to a project by access level. |
IProjectVersion[] |
getReleasedVersions(long projectId)
Get the released versions that belong to the specified project. |
IProjectVersion[] |
getUnreleasedVersions(long projectId)
Get the unreleased version that belong to the specified project. |
java.lang.String |
getVersion()
Get Version of MantisConnect this session is connected to. |
IProjectVersion[] |
getVersions(long projectId)
Get the versions belonging to the specified project. |
boolean |
issueExists(long issueId)
Check there exists an issue with the specified id. |
IIssue |
newIssue(long projectId)
Create a new Issue with default values set. |
INote |
newNote(java.lang.String text)
Create a new Note with default values set. |
boolean |
updateIssue(IIssue issue)
Update issue. |
boolean |
updateVersion(IProjectVersion version)
Update version method. |
Method Detail |
public void flush()
public IIssue newIssue(long projectId) throws MCException
MCException
public INote newNote(java.lang.String text) throws MCException
MCException
public java.lang.String getVersion() throws MCException
MCException
public IMCAttribute[] getEnum(Enumeration enumeration) throws MCException
MCException
public java.lang.String getEnum(java.lang.String enumeration) throws MCException
MCException
public boolean issueExists(long issueId) throws MCException
MCException
public IIssue getIssue(long issueId) throws MCException
MCException
public long getBiggestIssueId(long projectId) throws MCException
MCException
public long getIdFromSummary(java.lang.String summary) throws MCException
MCException
public long addIssue(IIssue issue) throws MCException
MCException
public long addNote(long issueId, INote note) throws MCException
MCException
public boolean deleteIssue(long issueId) throws MCException
MCException
public long addProject(IProject project) throws MCException
MCException
public boolean deleteProject(long projectId) throws MCException
MCException
public IProject[] getAccessibleProjects() throws MCException
MCException
public java.lang.String[] getCategories(long projectId) throws MCException
MCException
public IProjectVersion[] getVersions(long projectId) throws MCException
MCException
public IProjectVersion[] getReleasedVersions(long projectId) throws MCException
MCException
public IProjectVersion[] getUnreleasedVersions(long projectId) throws MCException
MCException
public IFilter[] getFilters(long projectId) throws MCException
MCException
public IIssue[] getIssues(long projectId, long filterId) throws MCException
MCException
public IIssue[] getIssues(long projectId, long filterId, int limit) throws MCException
limit
.
MCException
public IIssue[] getIssues(long projectId, long filterId, int pageNumber, int perPage) throws MCException
MCException
public IIssueHeader[] getIssueHeaders(long projectId, long filterId) throws MCException
MCException
public IIssueHeader[] getIssueHeaders(long projectId, long filterId, int limit) throws MCException
limit
.
MCException
public IIssueHeader[] getIssueHeaders(long projectId, long filterId, int pageNumber, int perPage) throws MCException
MCException
public IIssue[] getProjectIssues(long projectId) throws MCException
MCException
public IIssue[] getProjectIssues(long projectId, int limit) throws MCException
limit
.
MCException
public IIssue[] getProjectIssues(long projectId, int pageNumber, int perPage) throws MCException
MCException
public IIssueHeader[] getProjectIssueHeaders(long projectId) throws MCException
MCException
public IIssueHeader[] getProjectIssueHeaders(long projectId, int limit) throws MCException
limit
.
MCException
public IIssueHeader[] getProjectIssueHeaders(long projectId, int pageNumber, int perPage) throws MCException
MCException
public IProjectAttachment[] getProjectAttachments(long projectId) throws MCException
MCException
public byte[] getProjectAttachment(long attachmentId) throws MCException
MCException
public long addProjectAttachment(long projectId, java.lang.String name, java.lang.String fileType, java.lang.String title, java.lang.String description, byte[] content) throws MCException
MCException
public boolean deleteProjectAttachment(long attachmentId) throws MCException
MCException
public IAccount[] getProjectUsers(long projectId, AccessLevel access) throws MCException
MCException
public java.lang.String getConfigString(java.lang.String configVar) throws MCException
MCException
public boolean deleteNote(long noteId) throws MCException
MCException
public boolean updateIssue(IIssue issue) throws MCException
MCException
public byte[] getIssueAttachment(long attachmentId) throws MCException
MCException
public long addIssueAttachment(long issueId, java.lang.String name, java.lang.String fileType, byte[] content) throws MCException
MCException
public boolean deleteIssueAttachment(long attachmentId) throws MCException
MCException
public ICustomFieldDefinition[] getCustomFieldDefinitions(long projectId) throws MCException
MCException
public long addVersion(IProjectVersion version) throws MCException
MCException
public boolean updateVersion(IProjectVersion version) throws MCException
MCException
public boolean deleteVersion(long id) throws MCException
MCException
public IMCAttribute getDefaultIssuePriority() throws MCException
MCException
public IMCAttribute getDefaultIssueSeverity() throws MCException
MCException
public Viewstate getDefaultIssueViewState() throws MCException
MCException
public Viewstate getDefaultNoteViewState() throws MCException
MCException
public long addRelationship(long issueId, IRelationship relationship) throws MCException
MCException
public boolean deleteRelationship(long issueId, long relationshipId) throws MCException
MCException
public IProject getProject(long projectId) throws MCException
projectId.
Subprojects are
included (recursively) in the search.
MCException
public IProject getProject(java.lang.String name) throws MCException
name.
Subprojects are
included (recursively) in the search.
MCException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |