|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RedmineLogguedService
Contract of all redmine operations that needs a login to be performed.
A default implementation is offered inDefaultRedmineService.
Created: 2 janv. 2010
RedmineAnonymousService,
RedmineService| Method Summary | |
|---|---|
Attachment |
addAttachment(java.lang.String projectName,
java.lang.String versionName,
Attachment attachement)
Add a attachment for a given version of a given project. |
TimeEntry |
addIssueTimeEntry(java.lang.String projectName,
java.lang.String issueId,
TimeEntry entry)
Add a new time entry to the given issue for the given project and return the updated time entry. |
News |
addNews(java.lang.String projectName,
News news)
Add a news for a given project. |
Version |
addVersion(java.lang.String projectName,
Version version)
Add a version for a given project. |
Project[] |
getUserProjects()
Obtain for the loggued user, all projets where he belongs. |
Version |
nextVersion(java.lang.String projectName,
java.lang.String oldVersionName,
Version newVersion)
Prepare a new version (create it or update it). |
Version |
updateVersion(java.lang.String projectName,
Version version)
Update a version for a given project. |
| Method Detail |
|---|
Project[] getUserProjects()
throws RedmineServiceException
RedmineServiceException - if any pb while retriving datasProject
Version addVersion(java.lang.String projectName,
Version version)
throws RedmineServiceException
projectName - the name of the projectversion - the version to add
RedmineServiceException - if any pb while sending and retriving datas to redmine serverVersion
Version updateVersion(java.lang.String projectName,
Version version)
throws RedmineServiceException
projectName - the name of the projectversion - the version to update
RedmineServiceException - if any pb while sending and retriving datas to redmine serverVersion
Version nextVersion(java.lang.String projectName,
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.
b>Note: This method requires to be loggued on redmine server.
projectName - the name of the projectoldVersionName - the name of the old version (optional)newVersion - the newVersion to create or update
RedmineServiceException - if any pb while sending and retriving datas to redmine serverVersion
News addNews(java.lang.String projectName,
News news)
throws RedmineServiceException
projectName - the name of the projectnews - the news to add
RedmineServiceException - if any pb while sending and retriving datas to redmine serverNews
Attachment addAttachment(java.lang.String projectName,
java.lang.String versionName,
Attachment attachement)
throws RedmineServiceException
projectName - the name of the projectversionName - the name of the versionattachement - the attachment to add
RedmineServiceException - if any pb while sending and retriving datas to redmine serverAttachment
TimeEntry addIssueTimeEntry(java.lang.String projectName,
java.lang.String issueId,
TimeEntry entry)
throws RedmineServiceException
projectName - the name of the projectissueId - the id of the issue to updateentry - time entry to add
RedmineServiceException - if any pb while sending or retrieving datas to redmine serverIssue,
TimeEntry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||