|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RedmineService
The service that mirrors the rails jredmine plugin.
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
Plexus lookup name |
| Method Summary | |
|---|---|
Attachment |
addAttachment(java.lang.String projectId,
java.lang.String versionId,
Attachment attachement)
Add a attachment for a given version of a given project. |
News |
addNews(java.lang.String projectId,
News news)
Add a news for a given project. |
Version |
addVersion(java.lang.String projectId,
Version version)
Add a version for a given project. |
Attachment[] |
getAttachments(java.lang.String projectId,
java.lang.String versionId)
Obtain all attachments for a specific version on a given project |
IssueCategory[] |
getIssueCategories(java.lang.String projectId)
Obtain all categories defined on issues for a given project. |
IssuePriority[] |
getIssuePriorities()
Obtain all the priorities defined on a Issue. |
Issue[] |
getIssues(java.lang.String projectId,
java.lang.String versionId)
Obtain all issues for a specific version on a given project |
IssueStatus[] |
getIssueStatuses()
Obtain all the statuses defined on a Issue. |
News[] |
getNews(java.lang.String projectId)
Obtain all news defined on a given project. |
Project |
getProject(java.lang.String projectId)
Obtain a project given his name. |
Project[] |
getProjects()
Obtain all accessible projets for the loggued user. |
Tracker[] |
getTrackers(java.lang.String projectId)
Obtain all trackers defined on a given project. |
User[] |
getUsers(java.lang.String projectId)
Obtain all users defined on a given project. |
Version |
getVersion(java.lang.String projectId,
java.lang.String versionId)
Obtain a specific version for a given project. |
Version[] |
getVersions(java.lang.String projectId)
Obtain all versions defined on a given project. |
Version |
nextVersion(java.lang.String projectId,
java.lang.String oldVersionName,
Version newVersion)
Prepare a new version (create it or update it). |
Version |
updateVersion(java.lang.String projectId,
Version version)
Update a version for a given project. |
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
Project[] getProjects()
throws RedmineServiceException
RedmineServiceException - if any pbProject
IssuePriority[] getIssuePriorities()
throws RedmineServiceException
Issue.
Note : The priorities are common for all projects.
RedmineServiceExceptionIssuePriority
IssueStatus[] getIssueStatuses()
throws RedmineServiceException
Issue.
Note : The statuses are common for all projects.
RedmineServiceExceptionIssueStatus
Project getProject(java.lang.String projectId)
throws RedmineServiceException
projectId - the name of the project
RedmineServiceExceptionProject
IssueCategory[] getIssueCategories(java.lang.String projectId)
throws RedmineServiceException
projectId - the name of the project
RedmineServiceExceptionIssueCategory
Tracker[] getTrackers(java.lang.String projectId)
throws RedmineServiceException
projectId - the name of the project
RedmineServiceExceptionTracker
News[] getNews(java.lang.String projectId)
throws RedmineServiceException
projectId - the name of the project
RedmineServiceExceptionNews
User[] getUsers(java.lang.String projectId)
throws RedmineServiceException
projectId - the name of the project
RedmineServiceExceptionUser
Version[] getVersions(java.lang.String projectId)
throws RedmineServiceException
projectId - the name of the project
RedmineServiceExceptionVersion
Version getVersion(java.lang.String projectId,
java.lang.String versionId)
throws RedmineServiceException
projectId - the name of the projectversionId - the name of the version
RedmineServiceExceptionVersion
Issue[] getIssues(java.lang.String projectId,
java.lang.String versionId)
throws RedmineServiceException
projectId - the name of the projectversionId - the name of the version
RedmineServiceExceptionIssue
Attachment[] getAttachments(java.lang.String projectId,
java.lang.String versionId)
throws RedmineServiceException
projectId - the name of the projectversionId - the name of the version
RedmineServiceExceptionAttachment
Version addVersion(java.lang.String projectId,
Version version)
throws RedmineServiceException
projectId - the name of the projectversion - the version to add
RedmineServiceExceptionVersion
Version updateVersion(java.lang.String projectId,
Version version)
throws RedmineServiceException
projectId - the name of the projectversion - the version to update
RedmineServiceExceptionVersion
Version nextVersion(java.lang.String projectId,
java.lang.String oldVersionName,
Version newVersion)
throws RedmineServiceException
oldVersionName is given, then all issues unclosed from this
old version will be move to the new version.
projectId - the name of the projectoldVersionName - the name of the old version (optional)newVersion - the newVersion to create or update
RedmineServiceExceptionVersion
News addNews(java.lang.String projectId,
News news)
throws RedmineServiceException
projectId - the name of the projectnews - the news to add
RedmineServiceExceptionNews
Attachment addAttachment(java.lang.String projectId,
java.lang.String versionId,
Attachment attachement)
throws RedmineServiceException
projectId - the name of the projectversionId - the name of the versionattachement - the attachment to add
RedmineServiceExceptionAttachment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||