org.mantisbt.connect.axis
Class MCSession

java.lang.Object
  extended byorg.mantisbt.connect.axis.MCSession
All Implemented Interfaces:
IMCSession, java.io.Serializable

public class MCSession
extends java.lang.Object
implements IMCSession, java.io.Serializable

Default implementation for a Session which delegates all operations to axis.

The following information is cached:

If you need to set a HTTP proxy then use org.mantisbt.connect.axis.Proxy.

Author:
Peter Lanser, planser@users.sourceforge.net
See Also:
Serialized Form

Constructor Summary
MCSession(java.net.URL url, java.lang.String user, java.lang.String pwd)
           
 
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.
protected  void cacheCategories(long projectId, java.lang.String[] categories)
           
protected  void cacheConfigString(java.lang.String configVar, java.lang.String string)
           
protected  void cacheCusomFieldDefinitionData(long projectId, org.mantisbt.connect.axis.CustomFieldDefinition[] data)
           
protected  void cacheFilters(long projectId, org.mantisbt.connect.axis.Filter[] data)
           
protected  void cacheNamedEnum(java.lang.String enumeration, java.lang.String value)
           
protected  void cachEnum(Enumeration enumeration, org.mantisbt.connect.axis.MCAttribute[] values)
           
protected  void cacheProjectData(org.mantisbt.connect.axis.Project[] data)
           
protected  void cacheProjectUsers(long projectId, int access, org.mantisbt.connect.axis.Account[] data)
           
protected  void cacheReleasedVersions(long projectId, org.mantisbt.connect.axis.ProjectVersion[] data)
           
protected  void cacheUnreleasedVersion(long projectId, org.mantisbt.connect.axis.ProjectVersion[] data)
           
protected  void cacheVersion(java.lang.String version)
           
protected  void cacheVersions(long projectId, org.mantisbt.connect.axis.ProjectVersion[] data)
           
 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.
protected  org.mantisbt.connect.axis.Project[] getCachedAccessibleProjects()
           
protected  java.lang.String[] getCachedCategories(long projectId)
           
protected  java.lang.String getCachedConfigString(java.lang.String configVar)
           
protected  org.mantisbt.connect.axis.CustomFieldDefinition[] getCachedCustomFieldDefinitionData(long projectId)
           
protected  org.mantisbt.connect.axis.MCAttribute[] getCachedEnum(Enumeration enumeration)
           
protected  org.mantisbt.connect.axis.Filter[] getCachedFilters(long projectId)
           
protected  java.lang.String getCachedNamedEnum(java.lang.String enumeration)
           
protected  org.mantisbt.connect.axis.Account[] getCachedProjectUsers(long projectId, int access)
           
protected  org.mantisbt.connect.axis.ProjectVersion[] getCachedReleasedVersions(long projectId)
           
protected  org.mantisbt.connect.axis.ProjectVersion[] getCachedUnreleasedVersions(long projectId)
           
protected  java.lang.String getCachedVersion()
           
protected  org.mantisbt.connect.axis.ProjectVersion[] getCachedVersions(long projectId)
           
 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.
protected  MantisConnectPortType getPortType()
           
 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.
protected  java.lang.String getPwd()
           
 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.
protected  java.lang.String getUser()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCSession

public MCSession(java.net.URL url,
                 java.lang.String user,
                 java.lang.String pwd)
          throws MCException
Method Detail

getPortType

protected MantisConnectPortType getPortType()

getUser

protected java.lang.String getUser()

getPwd

protected java.lang.String getPwd()

addIssue

public long addIssue(IIssue issue)
              throws MCException
Description copied from interface: IMCSession
Submit the specified issue.

Specified by:
addIssue in interface IMCSession
Throws:
MCException

addIssueAttachment

public long addIssueAttachment(long issueId,
                               java.lang.String name,
                               java.lang.String fileType,
                               byte[] content)
                        throws MCException
Description copied from interface: IMCSession
Submit an issue attachment

Specified by:
addIssueAttachment in interface IMCSession
Throws:
MCException

addNote

public long addNote(long issueId,
                    INote note)
             throws MCException
Description copied from interface: IMCSession
Submit a new note.

Specified by:
addNote in interface IMCSession
Throws:
MCException

addProject

public long addProject(IProject project)
                throws MCException
Description copied from interface: IMCSession
Add a new project to the tracker (must have admin privileges).

Specified by:
addProject in interface IMCSession
Throws:
MCException

addProjectAttachment

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
Description copied from interface: IMCSession
Submit a project attachment

Specified by:
addProjectAttachment in interface IMCSession
Throws:
MCException

addRelationship

public long addRelationship(long issueId,
                            IRelationship relationship)
                     throws MCException
Description copied from interface: IMCSession
Submit a new realtionship.

Specified by:
addRelationship in interface IMCSession
Throws:
MCException

addVersion

public long addVersion(IProjectVersion version)
                throws MCException
Description copied from interface: IMCSession
Submit the specified version details.

Specified by:
addVersion in interface IMCSession
Throws:
MCException

deleteIssue

public boolean deleteIssue(long issueId)
                    throws MCException
Description copied from interface: IMCSession
Delete the issue with the specified id.

Specified by:
deleteIssue in interface IMCSession
Throws:
MCException

deleteIssueAttachment

public boolean deleteIssueAttachment(long attachmentId)
                              throws MCException
Description copied from interface: IMCSession
Delete the issue attachment with the specified id.

Specified by:
deleteIssueAttachment in interface IMCSession
Throws:
MCException

deleteNote

public boolean deleteNote(long noteId)
                   throws MCException
Description copied from interface: IMCSession
Delete the note with the specified id.

Specified by:
deleteNote in interface IMCSession
Throws:
MCException

deleteProject

public boolean deleteProject(long projectId)
                      throws MCException
Description copied from interface: IMCSession
Delete the project with the specified id (must have admin privileges).

Specified by:
deleteProject in interface IMCSession
Throws:
MCException

deleteProjectAttachment

public boolean deleteProjectAttachment(long attachmentId)
                                throws MCException
Description copied from interface: IMCSession
Delete the project attachment with the specified id.

Specified by:
deleteProjectAttachment in interface IMCSession
Throws:
MCException

deleteRelationship

public boolean deleteRelationship(long issueId,
                                  long relationshipId)
                           throws MCException
Description copied from interface: IMCSession
Delete the relationship for the specified issue.

Specified by:
deleteRelationship in interface IMCSession
Throws:
MCException

deleteVersion

public boolean deleteVersion(long id)
                      throws MCException
Description copied from interface: IMCSession
Delete the version with the specified id.

Specified by:
deleteVersion in interface IMCSession
Throws:
MCException

flush

public void flush()
Description copied from interface: IMCSession
Flush cached information

Specified by:
flush in interface IMCSession

getAccessibleProjects

public IProject[] getAccessibleProjects()
                                 throws MCException
Description copied from interface: IMCSession
Get the list of projects that are accessible to the logged in user.

Specified by:
getAccessibleProjects in interface IMCSession
Throws:
MCException

cacheProjectData

protected void cacheProjectData(org.mantisbt.connect.axis.Project[] data)

getCachedAccessibleProjects

protected org.mantisbt.connect.axis.Project[] getCachedAccessibleProjects()

getBiggestIssueId

public long getBiggestIssueId(long projectId)
                       throws MCException
Description copied from interface: IMCSession
Get the latest submitted issue in the specified project.

Specified by:
getBiggestIssueId in interface IMCSession
Throws:
MCException

getCategories

public java.lang.String[] getCategories(long projectId)
                                 throws MCException
Description copied from interface: IMCSession
Get the categories belonging to the specified project.

Specified by:
getCategories in interface IMCSession
Throws:
MCException

cacheCategories

protected void cacheCategories(long projectId,
                               java.lang.String[] categories)

getCachedCategories

protected java.lang.String[] getCachedCategories(long projectId)

getConfigString

public java.lang.String getConfigString(java.lang.String configVar)
                                 throws MCException
Description copied from interface: IMCSession
Get the value for the specified configuration variable.

Specified by:
getConfigString in interface IMCSession
Throws:
MCException

cacheConfigString

protected void cacheConfigString(java.lang.String configVar,
                                 java.lang.String string)

getCachedConfigString

protected java.lang.String getCachedConfigString(java.lang.String configVar)

getCustomFieldDefinitions

public ICustomFieldDefinition[] getCustomFieldDefinitions(long projectId)
                                                   throws MCException
Description copied from interface: IMCSession
Get the custom fields that belong to the specified project.

Specified by:
getCustomFieldDefinitions in interface IMCSession
Throws:
MCException

cacheCusomFieldDefinitionData

protected void cacheCusomFieldDefinitionData(long projectId,
                                             org.mantisbt.connect.axis.CustomFieldDefinition[] data)

getCachedCustomFieldDefinitionData

protected org.mantisbt.connect.axis.CustomFieldDefinition[] getCachedCustomFieldDefinitionData(long projectId)

getDefaultIssuePriority

public IMCAttribute getDefaultIssuePriority()
                                     throws MCException
Description copied from interface: IMCSession
Get the default priority for new issues.

Specified by:
getDefaultIssuePriority in interface IMCSession
Throws:
MCException

getDefaultIssueSeverity

public IMCAttribute getDefaultIssueSeverity()
                                     throws MCException
Description copied from interface: IMCSession
Get the default severity for new issues.

Specified by:
getDefaultIssueSeverity in interface IMCSession
Throws:
MCException

getDefaultIssueViewState

public Viewstate getDefaultIssueViewState()
                                   throws MCException
Description copied from interface: IMCSession
Get the default viewstate for new issues.

Specified by:
getDefaultIssueViewState in interface IMCSession
Throws:
MCException

getDefaultNoteViewState

public Viewstate getDefaultNoteViewState()
                                  throws MCException
Description copied from interface: IMCSession
Get the default viewstate for new notes.

Specified by:
getDefaultNoteViewState in interface IMCSession
Throws:
MCException

getEnum

public IMCAttribute[] getEnum(Enumeration enumeration)
                       throws MCException
Description copied from interface: IMCSession
Get the specified enumeration.

Specified by:
getEnum in interface IMCSession
Throws:
MCException

cachEnum

protected void cachEnum(Enumeration enumeration,
                        org.mantisbt.connect.axis.MCAttribute[] values)

getCachedEnum

protected org.mantisbt.connect.axis.MCAttribute[] getCachedEnum(Enumeration enumeration)

getEnum

public java.lang.String getEnum(java.lang.String enumeration)
                         throws MCException
Description copied from interface: IMCSession
Get the specified enumeration.

Specified by:
getEnum in interface IMCSession
Throws:
MCException

cacheNamedEnum

protected void cacheNamedEnum(java.lang.String enumeration,
                              java.lang.String value)

getCachedNamedEnum

protected java.lang.String getCachedNamedEnum(java.lang.String enumeration)

getFilters

public IFilter[] getFilters(long projectId)
                     throws MCException
Description copied from interface: IMCSession
Get the filters defined for the specified project.

Specified by:
getFilters in interface IMCSession
Throws:
MCException

cacheFilters

protected void cacheFilters(long projectId,
                            org.mantisbt.connect.axis.Filter[] data)

getCachedFilters

protected org.mantisbt.connect.axis.Filter[] getCachedFilters(long projectId)

getIdFromSummary

public long getIdFromSummary(java.lang.String summary)
                      throws MCException
Description copied from interface: IMCSession
Get the id of the issue with the specified summary.

Specified by:
getIdFromSummary in interface IMCSession
Throws:
MCException

getIssue

public IIssue getIssue(long issueId)
                throws MCException
Description copied from interface: IMCSession
Get the issue with the specified id.

Specified by:
getIssue in interface IMCSession
Throws:
MCException

getIssueAttachment

public byte[] getIssueAttachment(long attachmentId)
                          throws MCException
Description copied from interface: IMCSession
Get the data for the specified issue attachment.

Specified by:
getIssueAttachment in interface IMCSession
Throws:
MCException

getIssueHeaders

public IIssueHeader[] getIssueHeaders(long projectId,
                                      long filterId)
                               throws MCException
Description copied from interface: IMCSession
Get all issue headers that match the specified filter.

Specified by:
getIssueHeaders in interface IMCSession
Throws:
MCException

getIssueHeaders

public IIssueHeader[] getIssueHeaders(long projectId,
                                      long filterId,
                                      int limit)
                               throws MCException
Description copied from interface: IMCSession
Get issue headers that match the specified filter. Constrain the number of issues to limit.

Specified by:
getIssueHeaders in interface IMCSession
Throws:
MCException

getIssueHeaders

public IIssueHeader[] getIssueHeaders(long projectId,
                                      long filterId,
                                      int pageNumber,
                                      int perPage)
                               throws MCException
Description copied from interface: IMCSession
Get all issue headers that match the specified filter and paging details.

Specified by:
getIssueHeaders in interface IMCSession
Throws:
MCException

getIssues

public IIssue[] getIssues(long projectId,
                          long filterId)
                   throws MCException
Description copied from interface: IMCSession
Get all issues that match the specified filter.

Specified by:
getIssues in interface IMCSession
Throws:
MCException

getIssues

public IIssue[] getIssues(long projectId,
                          long filterId,
                          int limit)
                   throws MCException
Description copied from interface: IMCSession
Get issues that match the specified filter. Constrain the number of issues to limit.

Specified by:
getIssues in interface IMCSession
Throws:
MCException

getIssues

public IIssue[] getIssues(long projectId,
                          long filterId,
                          int pageNumber,
                          int perPage)
                   throws MCException
Description copied from interface: IMCSession
Get all issues that match the specified filter and paging details.

Specified by:
getIssues in interface IMCSession
Throws:
MCException

getProjectAttachment

public byte[] getProjectAttachment(long attachmentId)
                            throws MCException
Description copied from interface: IMCSession
Get the data for the specified project attachment.

Specified by:
getProjectAttachment in interface IMCSession
Throws:
MCException

getProjectAttachments

public IProjectAttachment[] getProjectAttachments(long projectId)
                                           throws MCException
Description copied from interface: IMCSession
Get the attachments that belong to the specified project.

Specified by:
getProjectAttachments in interface IMCSession
Throws:
MCException

getProjectIssueHeaders

public IIssueHeader[] getProjectIssueHeaders(long projectId)
                                      throws MCException
Description copied from interface: IMCSession
Get all issue headers that match the specified project.

Specified by:
getProjectIssueHeaders in interface IMCSession
Throws:
MCException

getProjectIssueHeaders

public IIssueHeader[] getProjectIssueHeaders(long projectId,
                                             int limit)
                                      throws MCException
Description copied from interface: IMCSession
Get the issue headers that match the specified project id and paging details Constrain the number of issues to limit.

Specified by:
getProjectIssueHeaders in interface IMCSession
Throws:
MCException

getProjectIssueHeaders

public IIssueHeader[] getProjectIssueHeaders(long projectId,
                                             int pageNumber,
                                             int perPage)
                                      throws MCException
Description copied from interface: IMCSession
Get the issue headers that match the specified project id and paging details

Specified by:
getProjectIssueHeaders in interface IMCSession
Throws:
MCException

getProjectIssues

public IIssue[] getProjectIssues(long projectId)
                          throws MCException
Description copied from interface: IMCSession
Get all issues that match the specified project.

Specified by:
getProjectIssues in interface IMCSession
Throws:
MCException

getProjectIssues

public IIssue[] getProjectIssues(long projectId,
                                 int limit)
                          throws MCException
Description copied from interface: IMCSession
Get the issues that match the specified project id and paging details Constrain the number of issues to limit.

Specified by:
getProjectIssues in interface IMCSession
Throws:
MCException

getProjectIssues

public IIssue[] getProjectIssues(long projectId,
                                 int pageNumber,
                                 int perPage)
                          throws MCException
Description copied from interface: IMCSession
Get the issues that match the specified project id and paging details

Specified by:
getProjectIssues in interface IMCSession
Throws:
MCException

getProjectUsers

public IAccount[] getProjectUsers(long projectId,
                                  AccessLevel access)
                           throws MCException
Description copied from interface: IMCSession
Get appropriate users assigned to a project by access level.

Specified by:
getProjectUsers in interface IMCSession
Throws:
MCException

cacheProjectUsers

protected void cacheProjectUsers(long projectId,
                                 int access,
                                 org.mantisbt.connect.axis.Account[] data)

getCachedProjectUsers

protected org.mantisbt.connect.axis.Account[] getCachedProjectUsers(long projectId,
                                                                    int access)

getReleasedVersions

public IProjectVersion[] getReleasedVersions(long projectId)
                                      throws MCException
Description copied from interface: IMCSession
Get the released versions that belong to the specified project.

Specified by:
getReleasedVersions in interface IMCSession
Throws:
MCException

cacheReleasedVersions

protected void cacheReleasedVersions(long projectId,
                                     org.mantisbt.connect.axis.ProjectVersion[] data)

getCachedReleasedVersions

protected org.mantisbt.connect.axis.ProjectVersion[] getCachedReleasedVersions(long projectId)

getUnreleasedVersions

public IProjectVersion[] getUnreleasedVersions(long projectId)
                                        throws MCException
Description copied from interface: IMCSession
Get the unreleased version that belong to the specified project.

Specified by:
getUnreleasedVersions in interface IMCSession
Throws:
MCException

cacheUnreleasedVersion

protected void cacheUnreleasedVersion(long projectId,
                                      org.mantisbt.connect.axis.ProjectVersion[] data)

getCachedUnreleasedVersions

protected org.mantisbt.connect.axis.ProjectVersion[] getCachedUnreleasedVersions(long projectId)

getVersion

public java.lang.String getVersion()
                            throws MCException
Description copied from interface: IMCSession
Get Version of MantisConnect this session is connected to.

Specified by:
getVersion in interface IMCSession
Throws:
MCException

cacheVersion

protected void cacheVersion(java.lang.String version)

getCachedVersion

protected java.lang.String getCachedVersion()

getVersions

public IProjectVersion[] getVersions(long projectId)
                              throws MCException
Description copied from interface: IMCSession
Get the versions belonging to the specified project.

Specified by:
getVersions in interface IMCSession
Throws:
MCException

cacheVersions

protected void cacheVersions(long projectId,
                             org.mantisbt.connect.axis.ProjectVersion[] data)

getCachedVersions

protected org.mantisbt.connect.axis.ProjectVersion[] getCachedVersions(long projectId)

issueExists

public boolean issueExists(long issueId)
                    throws MCException
Description copied from interface: IMCSession
Check there exists an issue with the specified id.

Specified by:
issueExists in interface IMCSession
Throws:
MCException

newIssue

public IIssue newIssue(long projectId)
                throws MCException
Description copied from interface: IMCSession
Create a new Issue with default values set.

Specified by:
newIssue in interface IMCSession
Throws:
MCException

getProject

public IProject getProject(long projectId)
                    throws MCException
Description copied from interface: IMCSession
Returns the project with id projectId. Subprojects are included (recursively) in the search.

Specified by:
getProject in interface IMCSession
Throws:
MCException

getProject

public IProject getProject(java.lang.String name)
                    throws MCException
Description copied from interface: IMCSession
Returns the project with name name. Subprojects are included (recursively) in the search.

Specified by:
getProject in interface IMCSession
Throws:
MCException

newNote

public INote newNote(java.lang.String text)
              throws MCException
Description copied from interface: IMCSession
Create a new Note with default values set.

Specified by:
newNote in interface IMCSession
Throws:
MCException

updateIssue

public boolean updateIssue(IIssue issue)
                    throws MCException
Description copied from interface: IMCSession
Update issue.

Specified by:
updateIssue in interface IMCSession
Throws:
MCException

updateVersion

public boolean updateVersion(IProjectVersion version)
                      throws MCException
Description copied from interface: IMCSession
Update version method.

Specified by:
updateVersion in interface IMCSession
Throws:
MCException