org.mantisbt.connect
Class Session

java.lang.Object
  extended byorg.mantisbt.connect.Session
All Implemented Interfaces:
ISession, java.io.Serializable

Deprecated. Use org.mantisbt.connect.axis.MCSession instead.

public class Session
extends java.lang.Object
implements ISession, java.io.Serializable

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

The following information is cached:

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

Field Summary
 
Fields inherited from interface org.mantisbt.connect.ISession
AL_ADMINISTRATOR, AL_ANYBODY, AL_DEVELOPER, AL_MANAGER, AL_NOBODY, AL_REPORTER, AL_UPDATER, AL_VIEWER, CF_TYPE_CHECKBOX, CF_TYPE_DATE, CF_TYPE_EMAIL, CF_TYPE_ENUM, CF_TYPE_FLOAT, CF_TYPE_LIST, CF_TYPE_MULTILIST, CF_TYPE_NUMERIC, CF_TYPE_STRING, VS_PRIVATE, VS_PUBLIC
 
Constructor Summary
protected Session(MantisConnectPortType portType, java.lang.String user, java.lang.String pwd)
          Deprecated.  
 
Method Summary
 long addIssue(IssueData issue)
          Deprecated. Submit the specified issue.
 long addIssueAttachment(long issueId, java.lang.String name, java.lang.String fileType, byte[] content)
          Deprecated. Submit an issue attachment
 long addNote(long issueId, IssueNoteData note)
          Deprecated. Submit a new note.
 long addProject(ProjectData project)
          Deprecated. Add a new project to the tracker (must have admin privileges).
 long addProjectAttachment(long projectId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String fileType, byte[] content)
          Deprecated. Submit a project attachment
 long addRelationship(long issueId, RelationshipData relationship)
          Deprecated. Submit a new realtionship.
 long addVersion(ProjectVersionData version)
          Deprecated. Submit the specified version details.
protected  void cacheCategories(long projectId, java.lang.String[] categories)
          Deprecated.  
protected  void cacheConfigString(java.lang.String configVar, java.lang.String string)
          Deprecated.  
protected  void cacheCusomFieldDefinitionData(long projectId, CustomFieldDefinitionData[] data)
          Deprecated.  
protected  void cacheFilters(long projectId, FilterData[] data)
          Deprecated.  
protected  void cacheNamedEnum(java.lang.String enumeration, java.lang.String value)
          Deprecated.  
protected  void cachEnum(Enumeration enumeration, ObjectRef[] values)
          Deprecated.  
protected  void cacheProjectData(ProjectData[] data)
          Deprecated.  
protected  void cacheProjectUsers(long projectId, int access, AccountData[] data)
          Deprecated.  
protected  void cacheReleasedVersions(long projectId, ProjectVersionData[] data)
          Deprecated.  
protected  void cacheUnreleasedVersion(long projectId, ProjectVersionData[] data)
          Deprecated.  
protected  void cacheVersion(java.lang.String version)
          Deprecated.  
protected  void cacheVersions(long projectId, ProjectVersionData[] data)
          Deprecated.  
 boolean deleteIssue(long issueId)
          Deprecated. Delete the issue with the specified id.
 boolean deleteIssueAttachment(long attachmentId)
          Deprecated. Delete the issue attachment with the specified id.
 boolean deleteNote(long noteId)
          Deprecated. Delete the note with the specified id.
 boolean deleteProject(long projectId)
          Deprecated. Delete the project with the specified id (must have admin privileges).
 boolean deleteProjectAttachment(long attachmentId)
          Deprecated. Delete the project attachment with the specified id.
 boolean deleteRelationship(long issueId, long relationshipId)
          Deprecated. Delete the relationship for the specified issue.
 boolean deleteVersion(long versionId)
          Deprecated. Delete the version with the specified id.
 void flush()
          Deprecated. Flush cached information
 ProjectData[] getAccessibleProjects()
          Deprecated. Get the list of projects that are accessible to the logged in user.
 long getBiggestIssueId(long projectId)
          Deprecated. Get the latest submitted issue in the specified project.
protected  ProjectData[] getCachedAccessibleProjects()
          Deprecated.  
protected  java.lang.String[] getCachedCategories(long projectId)
          Deprecated.  
protected  java.lang.String getCachedConfigString(java.lang.String configVar)
          Deprecated.  
protected  CustomFieldDefinitionData[] getCachedCustomFieldDefinitionData(long projectId)
          Deprecated.  
protected  ObjectRef[] getCachedEnum(Enumeration enumeration)
          Deprecated.  
protected  FilterData[] getCachedFilters(long projectId)
          Deprecated.  
protected  java.lang.String getCachedNamedEnum(java.lang.String enumeration)
          Deprecated.  
protected  AccountData[] getCachedProjectUsers(long projectId, int access)
          Deprecated.  
protected  ProjectVersionData[] getCachedReleasedVersions(long projectId)
          Deprecated.  
protected  ProjectVersionData[] getCachedUnreleasedVersions(long projectId)
          Deprecated.  
protected  java.lang.String getCachedVersion()
          Deprecated.  
protected  ProjectVersionData[] getCachedVersions(long projectId)
          Deprecated.  
 java.lang.String[] getCategories(long projectId)
          Deprecated. Get the categories belonging to the specified project.
 java.lang.String getConfigString(java.lang.String configVar)
          Deprecated. Get the value for the specified configuration variable.
 CustomFieldDefinitionData[] getCustomFieldDefinitions(long projectId)
          Deprecated. Get the custom fields that belong to the specified project.
 ObjectRef getDefaultIssuePriority()
          Deprecated. Get the default priority for new issues.
 ObjectRef getDefaultIssueSeverity()
          Deprecated. Get the default severity for new issues.
 ObjectRef getDefaultIssueViewState()
          Deprecated. Get the default viewstate for new issues.
 ObjectRef getDefaultNoteViewState()
          Deprecated. Get the default viewstate for new notes.
 ObjectRef[] getEnum(Enumeration enumeration)
          Deprecated. Get the specified enumeration.
 java.lang.String getEnum(java.lang.String enumeration)
          Deprecated. Get the specified enumeration.
 FilterData[] getFilters(long projectId)
          Deprecated. Get the filters defined for the specified project.
 long getIdFromSummary(java.lang.String summary)
          Deprecated. Get the id of the issue with the specified summary.
 IssueData getIssue(long issueId)
          Deprecated. Get the issue with the specified id.
 byte[] getIssueAttachment(long attachmentId)
          Deprecated. Get the data for the specified issue attachment.
 IssueHeaderData[] getIssueHeaders(long projectId, long filterId)
          Deprecated. Get all issue headers that match the specified filter.
 IssueHeaderData[] getIssueHeaders(long projectId, long filterId, int limit)
          Deprecated. Get issue headers that match the specified filter.
 IssueHeaderData[] getIssueHeaders(long projectId, long filterId, int pageNumber, int perPage)
          Deprecated. Get all issue headers that match the specified filter and paging details.
 IssueData[] getIssues(long projectId, long filterId)
          Deprecated. Get all issues that match the specified filter.
 IssueData[] getIssues(long projectId, long filterId, int limit)
          Deprecated. Get issues that match the specified filter.
 IssueData[] getIssues(long projectId, long filterId, int pageNumber, int perPage)
          Deprecated. Get all issues that match the specified filter and paging details.
protected  MantisConnectPortType getPortType()
          Deprecated.  
protected  ObjectRef getProject(long projectId)
          Deprecated.  
 byte[] getProjectAttachment(long attachmentId)
          Deprecated. Get the data for the specified project attachment.
 ProjectAttachmentData[] getProjectAttachments(long projectId)
          Deprecated. Get the attachments that belong to the specified project.
 ObjectRef getProjectByName(java.lang.String name)
          Deprecated.  
 IssueHeaderData[] getProjectIssueHeaders(long projectId)
          Deprecated. Get all issue headers that match the specified project.
 IssueHeaderData[] getProjectIssueHeaders(long projectId, int limit)
          Deprecated. Get the issue headers that match the specified project id and paging details Constrain the number of issues to limit.
 IssueHeaderData[] getProjectIssueHeaders(long projectId, int pageNumber, int perPage)
          Deprecated. Get the issue headers that match the specified project id and paging details
 IssueData[] getProjectIssues(long projectId)
          Deprecated. Get all issues that match the specified project.
 IssueData[] getProjectIssues(long projectId, int limit)
          Deprecated. Get the issues that match the specified project id and paging details Constrain the number of issues to limit.
 IssueData[] getProjectIssues(long projectId, int pageNumber, int perPage)
          Deprecated. Get the issues that match the specified project id and paging details
 AccountData[] getProjectUsers(long projectId, AccessLevel access)
          Deprecated. Get appropriate users assigned to a project by access level.
 AccountData[] getProjectUsers(long projectId, int access)
          Deprecated. Get appropriate users assigned to a project by access level.
protected  java.lang.String getPwd()
          Deprecated.  
 ProjectVersionData[] getReleasedVersions(long projectId)
          Deprecated. Get the released versions that belong to the specified project.
 ProjectVersionData[] getUnreleasedVersions(long projectId)
          Deprecated. Get the unreleased version that belong to the specified project.
protected  java.lang.String getUser()
          Deprecated.  
 java.lang.String getVersion()
          Deprecated. Get Version of MantisConnect this session is connected to.
 ProjectVersionData[] getVersions(long projectId)
          Deprecated. Get the versions belonging to the specified project.
 boolean issueExists(long issueId)
          Deprecated. Check there exists an issue with the specified id.
 IssueData newIssue(long projectId)
          Deprecated. Create a new Issue with default values set.
 IssueNoteData newNote(java.lang.String text)
          Deprecated. Create a new Note with default values set.
protected  java.math.BigInteger toBigInt(long i)
          Deprecated.  
protected  long toLong(java.math.BigInteger i)
          Deprecated.  
 boolean updateIssue(IssueData issue)
          Deprecated. Update issue.
 boolean updateVersion(ProjectVersionData version)
          Deprecated. Update version method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Session

protected Session(MantisConnectPortType portType,
                  java.lang.String user,
                  java.lang.String pwd)
Deprecated. 
Method Detail

getPortType

protected MantisConnectPortType getPortType()
                                     throws JMTException
Deprecated. 
Throws:
JMTException

getUser

protected java.lang.String getUser()
Deprecated. 

getPwd

protected java.lang.String getPwd()
Deprecated. 

toBigInt

protected java.math.BigInteger toBigInt(long i)
Deprecated. 

toLong

protected long toLong(java.math.BigInteger i)
Deprecated. 

flush

public void flush()
Deprecated. 
Description copied from interface: ISession
Flush cached information

Specified by:
flush in interface ISession

newIssue

public IssueData newIssue(long projectId)
                   throws JMTException
Deprecated. 
Description copied from interface: ISession
Create a new Issue with default values set.

Specified by:
newIssue in interface ISession
Throws:
JMTException

newNote

public IssueNoteData newNote(java.lang.String text)
                      throws JMTException
Deprecated. 
Description copied from interface: ISession
Create a new Note with default values set.

Specified by:
newNote in interface ISession
Throws:
JMTException

getDefaultNoteViewState

public ObjectRef getDefaultNoteViewState()
                                  throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the default viewstate for new notes.

Specified by:
getDefaultNoteViewState in interface ISession
Throws:
JMTException

getDefaultIssueViewState

public ObjectRef getDefaultIssueViewState()
                                   throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the default viewstate for new issues.

Specified by:
getDefaultIssueViewState in interface ISession
Throws:
JMTException

getProject

protected ObjectRef getProject(long projectId)
                        throws JMTException
Deprecated. 
Throws:
JMTException

getDefaultIssuePriority

public ObjectRef getDefaultIssuePriority()
                                  throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the default priority for new issues.

Specified by:
getDefaultIssuePriority in interface ISession
Throws:
JMTException

getDefaultIssueSeverity

public ObjectRef getDefaultIssueSeverity()
                                  throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the default severity for new issues.

Specified by:
getDefaultIssueSeverity in interface ISession
Throws:
JMTException

getCachedVersion

protected java.lang.String getCachedVersion()
Deprecated. 

getVersion

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

Specified by:
getVersion in interface ISession
Throws:
JMTException

cacheVersion

protected void cacheVersion(java.lang.String version)
Deprecated. 

getCachedEnum

protected ObjectRef[] getCachedEnum(Enumeration enumeration)
Deprecated. 

getEnum

public ObjectRef[] getEnum(Enumeration enumeration)
                    throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the specified enumeration.

Specified by:
getEnum in interface ISession
Throws:
JMTException

cachEnum

protected void cachEnum(Enumeration enumeration,
                        ObjectRef[] values)
Deprecated. 

getCachedNamedEnum

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

getEnum

public java.lang.String getEnum(java.lang.String enumeration)
                         throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the specified enumeration.

Specified by:
getEnum in interface ISession
Throws:
JMTException

cacheNamedEnum

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

issueExists

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

Specified by:
issueExists in interface ISession
Throws:
JMTException

getIssue

public IssueData getIssue(long issueId)
                   throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the issue with the specified id.

Specified by:
getIssue in interface ISession
Throws:
JMTException

getBiggestIssueId

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

Specified by:
getBiggestIssueId in interface ISession
Throws:
JMTException

getIdFromSummary

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

Specified by:
getIdFromSummary in interface ISession
Throws:
JMTException

addIssue

public long addIssue(IssueData issue)
              throws JMTException
Deprecated. 
Description copied from interface: ISession
Submit the specified issue.

Specified by:
addIssue in interface ISession
Throws:
JMTException

addNote

public long addNote(long issueId,
                    IssueNoteData note)
             throws JMTException
Deprecated. 
Description copied from interface: ISession
Submit a new note.

Specified by:
addNote in interface ISession
Throws:
JMTException

deleteIssue

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

Specified by:
deleteIssue in interface ISession
Throws:
JMTException

addProject

public long addProject(ProjectData project)
                throws JMTException
Deprecated. 
Description copied from interface: ISession
Add a new project to the tracker (must have admin privileges).

Specified by:
addProject in interface ISession
Throws:
JMTException

deleteProject

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

Specified by:
deleteProject in interface ISession
Throws:
JMTException

getCachedAccessibleProjects

protected ProjectData[] getCachedAccessibleProjects()
Deprecated. 

getAccessibleProjects

public ProjectData[] getAccessibleProjects()
                                    throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the list of projects that are accessible to the logged in user.

Specified by:
getAccessibleProjects in interface ISession
Throws:
JMTException

cacheProjectData

protected void cacheProjectData(ProjectData[] data)
Deprecated. 

getCachedCategories

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

getCategories

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

Specified by:
getCategories in interface ISession
Throws:
JMTException

cacheCategories

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

getCachedVersions

protected ProjectVersionData[] getCachedVersions(long projectId)
Deprecated. 

getVersions

public ProjectVersionData[] getVersions(long projectId)
                                 throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the versions belonging to the specified project.

Specified by:
getVersions in interface ISession
Throws:
JMTException

cacheVersions

protected void cacheVersions(long projectId,
                             ProjectVersionData[] data)
Deprecated. 

getCachedReleasedVersions

protected ProjectVersionData[] getCachedReleasedVersions(long projectId)
Deprecated. 

getReleasedVersions

public ProjectVersionData[] getReleasedVersions(long projectId)
                                         throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the released versions that belong to the specified project.

Specified by:
getReleasedVersions in interface ISession
Throws:
JMTException

cacheReleasedVersions

protected void cacheReleasedVersions(long projectId,
                                     ProjectVersionData[] data)
Deprecated. 

getCachedUnreleasedVersions

protected ProjectVersionData[] getCachedUnreleasedVersions(long projectId)
Deprecated. 

getUnreleasedVersions

public ProjectVersionData[] getUnreleasedVersions(long projectId)
                                           throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the unreleased version that belong to the specified project.

Specified by:
getUnreleasedVersions in interface ISession
Throws:
JMTException

cacheUnreleasedVersion

protected void cacheUnreleasedVersion(long projectId,
                                      ProjectVersionData[] data)
Deprecated. 

getCachedFilters

protected FilterData[] getCachedFilters(long projectId)
Deprecated. 

getFilters

public FilterData[] getFilters(long projectId)
                        throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the filters defined for the specified project.

Specified by:
getFilters in interface ISession
Throws:
JMTException

cacheFilters

protected void cacheFilters(long projectId,
                            FilterData[] data)
Deprecated. 

getIssues

public IssueData[] getIssues(long projectId,
                             long filterId)
                      throws JMTException
Deprecated. 
Description copied from interface: ISession
Get all issues that match the specified filter.

Specified by:
getIssues in interface ISession
Throws:
JMTException

getIssues

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

Specified by:
getIssues in interface ISession
Throws:
JMTException

getIssues

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

Specified by:
getIssues in interface ISession
Throws:
JMTException

getIssueHeaders

public IssueHeaderData[] getIssueHeaders(long projectId,
                                         long filterId)
                                  throws JMTException
Deprecated. 
Description copied from interface: ISession
Get all issue headers that match the specified filter.

Specified by:
getIssueHeaders in interface ISession
Throws:
JMTException

getIssueHeaders

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

Specified by:
getIssueHeaders in interface ISession
Throws:
JMTException

getIssueHeaders

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

Specified by:
getIssueHeaders in interface ISession
Throws:
JMTException

getProjectIssues

public IssueData[] getProjectIssues(long projectId)
                             throws JMTException
Deprecated. 
Description copied from interface: ISession
Get all issues that match the specified project.

Specified by:
getProjectIssues in interface ISession
Throws:
JMTException

getProjectIssues

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

Specified by:
getProjectIssues in interface ISession
Throws:
JMTException

getProjectIssues

public IssueData[] getProjectIssues(long projectId,
                                    int pageNumber,
                                    int perPage)
                             throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the issues that match the specified project id and paging details

Specified by:
getProjectIssues in interface ISession
Throws:
JMTException

getProjectIssueHeaders

public IssueHeaderData[] getProjectIssueHeaders(long projectId)
                                         throws JMTException
Deprecated. 
Description copied from interface: ISession
Get all issue headers that match the specified project.

Specified by:
getProjectIssueHeaders in interface ISession
Throws:
JMTException

getProjectIssueHeaders

public IssueHeaderData[] getProjectIssueHeaders(long projectId,
                                                int limit)
                                         throws JMTException
Deprecated. 
Description copied from interface: ISession
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 ISession
Throws:
JMTException

getProjectIssueHeaders

public IssueHeaderData[] getProjectIssueHeaders(long projectId,
                                                int pageNumber,
                                                int perPage)
                                         throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the issue headers that match the specified project id and paging details

Specified by:
getProjectIssueHeaders in interface ISession
Throws:
JMTException

getProjectAttachments

public ProjectAttachmentData[] getProjectAttachments(long projectId)
                                              throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the attachments that belong to the specified project.

Specified by:
getProjectAttachments in interface ISession
Throws:
JMTException

getProjectAttachment

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

Specified by:
getProjectAttachment in interface ISession
Throws:
JMTException

addProjectAttachment

public long addProjectAttachment(long projectId,
                                 java.lang.String name,
                                 java.lang.String title,
                                 java.lang.String description,
                                 java.lang.String fileType,
                                 byte[] content)
                          throws JMTException
Deprecated. 
Description copied from interface: ISession
Submit a project attachment

Specified by:
addProjectAttachment in interface ISession
Throws:
JMTException

deleteProjectAttachment

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

Specified by:
deleteProjectAttachment in interface ISession
Throws:
JMTException

getProjectUsers

public AccountData[] getProjectUsers(long projectId,
                                     int access)
                              throws JMTException
Deprecated. 
Description copied from interface: ISession
Get appropriate users assigned to a project by access level.

Specified by:
getProjectUsers in interface ISession
Throws:
JMTException

getProjectUsers

public AccountData[] getProjectUsers(long projectId,
                                     AccessLevel access)
                              throws JMTException
Deprecated. 
Description copied from interface: ISession
Get appropriate users assigned to a project by access level.

Specified by:
getProjectUsers in interface ISession
Throws:
JMTException

cacheProjectUsers

protected void cacheProjectUsers(long projectId,
                                 int access,
                                 AccountData[] data)
Deprecated. 

getCachedProjectUsers

protected AccountData[] getCachedProjectUsers(long projectId,
                                              int access)
Deprecated. 

getCachedConfigString

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

getConfigString

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

Specified by:
getConfigString in interface ISession
Throws:
JMTException

cacheConfigString

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

deleteNote

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

Specified by:
deleteNote in interface ISession
Throws:
JMTException

updateIssue

public boolean updateIssue(IssueData issue)
                    throws JMTException
Deprecated. 
Description copied from interface: ISession
Update issue.

Specified by:
updateIssue in interface ISession
Throws:
JMTException

getIssueAttachment

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

Specified by:
getIssueAttachment in interface ISession
Throws:
JMTException

addIssueAttachment

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

Specified by:
addIssueAttachment in interface ISession
Throws:
JMTException

deleteIssueAttachment

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

Specified by:
deleteIssueAttachment in interface ISession
Throws:
JMTException

getCachedCustomFieldDefinitionData

protected CustomFieldDefinitionData[] getCachedCustomFieldDefinitionData(long projectId)
Deprecated. 

getCustomFieldDefinitions

public CustomFieldDefinitionData[] getCustomFieldDefinitions(long projectId)
                                                      throws JMTException
Deprecated. 
Description copied from interface: ISession
Get the custom fields that belong to the specified project.

Specified by:
getCustomFieldDefinitions in interface ISession
Throws:
JMTException

cacheCusomFieldDefinitionData

protected void cacheCusomFieldDefinitionData(long projectId,
                                             CustomFieldDefinitionData[] data)
Deprecated. 

addVersion

public long addVersion(ProjectVersionData version)
                throws JMTException
Deprecated. 
Description copied from interface: ISession
Submit the specified version details.

Specified by:
addVersion in interface ISession
Throws:
JMTException

updateVersion

public boolean updateVersion(ProjectVersionData version)
                      throws JMTException
Deprecated. 
Description copied from interface: ISession
Update version method.

Specified by:
updateVersion in interface ISession
Throws:
JMTException

deleteVersion

public boolean deleteVersion(long versionId)
                      throws JMTException
Deprecated. 
Description copied from interface: ISession
Delete the version with the specified id.

Specified by:
deleteVersion in interface ISession
Throws:
JMTException

getProjectByName

public ObjectRef getProjectByName(java.lang.String name)
                           throws JMTException
Deprecated. 
Throws:
JMTException

addRelationship

public long addRelationship(long issueId,
                            RelationshipData relationship)
                     throws JMTException
Deprecated. 
Description copied from interface: ISession
Submit a new realtionship.

Specified by:
addRelationship in interface ISession
Throws:
JMTException

deleteRelationship

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

Specified by:
deleteRelationship in interface ISession
Throws:
JMTException