public interface RedmineLogguedService
DefaultRedmineService.
Created: 2 janv. 2010RedmineAnonymousService,
RedmineService| Modifier and Type | Method and Description |
|---|---|
Attachment |
addAttachment(String projectName,
String versionName,
Attachment attachement)
Add a attachment for a given version of a given project.
|
TimeEntry |
addIssueTimeEntry(String projectName,
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(String projectName,
News news)
Add a news for a given project.
|
Version |
addVersion(String projectName,
Version version)
Add a version for a given project.
|
User |
getCurrentUser()
Obtain the redmine user from the credentials given in the service configuration.
|
Project[] |
getUserProjects()
Obtain for the loggued user, all projets where he belongs.
|
Version |
nextVersion(String projectName,
String oldVersionName,
Version newVersion)
Prepare a new version (create it or update it).
|
Version |
updateVersion(String projectName,
Version version)
Update a version for a given project.
|
User getCurrentUser() throws RedmineServiceException
RedmineServiceException - if any pbProject[] getUserProjects() throws RedmineServiceException
RedmineServiceException - if any pb while retriving datasProjectVersion addVersion(String projectName, Version version) throws RedmineServiceException
projectName - the name of the projectversion - the version to addRedmineServiceException - if any pb while sending and retriving
datas to redmine serverVersionVersion updateVersion(String projectName, Version version) throws RedmineServiceException
projectName - the name of the projectversion - the version to updateRedmineServiceException - if any pb while sending and retriving
datas to redmine serverVersionVersion nextVersion(String projectName, 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 updateRedmineServiceException - if any pb while sending and retriving
datas to redmine serverVersionNews addNews(String projectName, News news) throws RedmineServiceException
projectName - the name of the projectnews - the news to addRedmineServiceException - if any pb while sending and retriving
datas to redmine serverNewsAttachment addAttachment(String projectName, String versionName, Attachment attachement) throws RedmineServiceException
projectName - the name of the projectversionName - the name of the versionattachement - the attachment to addRedmineServiceException - if any pb while sending and retriving
datas to redmine serverAttachmentTimeEntry addIssueTimeEntry(String projectName, String issueId, TimeEntry entry) throws RedmineServiceException
projectName - the name of the projectissueId - the id of the issue to updateentry - time entry to addRedmineServiceException - if any pb while sending or retrieving
datas to redmine serverIssue,
TimeEntryCopyright © 2009–2015 CodeLutin. All rights reserved.