org.nuiton.jredmine
Interface RedmineAnonymousService

All Known Subinterfaces:
RedmineService
All Known Implementing Classes:
DefaultRedmineAnonymousService, DefaultRedmineService

public interface RedmineAnonymousService

Contract of all redmine operations which do not requires any login to server.

A default implementation is offered in DefaultRedmineAnonymousService.

Created: 2 janv. 2010

Since:
1.0.3
Version:
$Revision: 157 $

Mise a jour: $Date: 2010-10-08 12:23:16 +0200 (ven, 08 oct 2010) $ par : $Author: tchemit $

Author:
Tony Chemit Copyright Code Lutin
See Also:
DefaultRedmineAnonymousService

Method Summary
 Attachment[] getAttachments(String projectName, String versionName)
          Obtain all attachments for a specific version on a given project
 Issue[] getClosedIssues(String projectName)
          Obtain all closed issues for a given project
 IssueCategory[] getIssueCategories(String projectName)
          Obtain all categories defined on issues for a given project.
 IssuePriority[] getIssuePriorities()
          Obtain all the priorities defined on a Issue.
 Issue[] getIssues(String projectName)
          Obtain all issues for a given project
 Issue[] getIssues(String projectName, String versionName)
          Obtain all issues for a specific version on a given project
 IssueStatus[] getIssueStatuses()
          Obtain all the statuses defined on a Issue.
 TimeEntry[] getIssueTimeEntries(String projectName, String issueId)
          Obtain for a given issue of a given project all the time entries.
 News[] getNews(String projectName)
          Obtain all news defined on a given project.
 Issue[] getOpenedIssues(String projectName)
          Obtain all opened issues for a given project
 Project getProject(String projectName)
          Obtain a project given his name.
 User[] getProjectMembers(String projectName)
          Obtain all users defined on a given project.
 Project[] getProjects()
          Obtain all accessible projets.
 Tracker[] getTrackers(String projectName)
          Obtain all trackers defined on a given project.
 User[] getUsers(String projectName)
          Deprecated. since 1.0.3, use now getProjectMembers(String).
 Version getVersion(String projectName, String versionName)
          Obtain a specific version for a given project.
 Version[] getVersions(String projectName)
          Obtain all versions defined on a given project.
 

Method Detail

getProjects

Project[] getProjects()
                      throws RedmineServiceException
Obtain all accessible projets.

Returns:
all the projects
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
Project

getIssuePriorities

IssuePriority[] getIssuePriorities()
                                   throws RedmineServiceException
Obtain all the priorities defined on a Issue.

Note : The priorities are common for all projects.

Returns:
all the issue properties
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
IssuePriority

getIssueStatuses

IssueStatus[] getIssueStatuses()
                               throws RedmineServiceException
Obtain all the statuses defined on a Issue.

Note : The statuses are common for all projects.

Returns:
all the issue statuses
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
IssueStatus

getProject

Project getProject(String projectName)
                   throws RedmineServiceException
Obtain a project given his name.

Parameters:
projectName - the name of the project
Returns:
the project
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
Project

getIssueCategories

IssueCategory[] getIssueCategories(String projectName)
                                   throws RedmineServiceException
Obtain all categories defined on issues for a given project.

Parameters:
projectName - the name of the project
Returns:
the categories of issues for the given project.
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
IssueCategory

getTrackers

Tracker[] getTrackers(String projectName)
                      throws RedmineServiceException
Obtain all trackers defined on a given project.

Parameters:
projectName - the name of the project
Returns:
the trackers for the given project.
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
Tracker

getNews

News[] getNews(String projectName)
               throws RedmineServiceException
Obtain all news defined on a given project.

Parameters:
projectName - the name of the project
Returns:
the news for the given project.
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
News

getUsers

@Deprecated
User[] getUsers(String projectName)
                throws RedmineServiceException
Deprecated. since 1.0.3, use now getProjectMembers(String).

Obtain all users defined on a given project.

Parameters:
projectName - the name of the project
Returns:
the users for the given project.
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
User

getProjectMembers

User[] getProjectMembers(String projectName)
                         throws RedmineServiceException
Obtain all users defined on a given project.

Parameters:
projectName - the name of the project
Returns:
the users for the given project.
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
User

getVersions

Version[] getVersions(String projectName)
                      throws RedmineServiceException
Obtain all versions defined on a given project.

Parameters:
projectName - the name of the project
Returns:
the versions of the given project.
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
Version

getVersion

Version getVersion(String projectName,
                   String versionName)
                   throws RedmineServiceException
Obtain a specific version for a given project.

Parameters:
projectName - the name of the project
versionName - the name of the version
Returns:
the version
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
Version

getIssues

Issue[] getIssues(String projectName)
                  throws RedmineServiceException
Obtain all issues for a given project

Parameters:
projectName - the name of the project
Returns:
the issues
Throws:
RedmineServiceException - if any pb while retriving datas
Since:
1.0.3
See Also:
Issue

getOpenedIssues

Issue[] getOpenedIssues(String projectName)
                        throws RedmineServiceException
Obtain all opened issues for a given project

Parameters:
projectName - the name of the project
Returns:
the issues
Throws:
RedmineServiceException - if any pb while retriving datas
Since:
1.0.3
See Also:
Issue

getClosedIssues

Issue[] getClosedIssues(String projectName)
                        throws RedmineServiceException
Obtain all closed issues for a given project

Parameters:
projectName - the name of the project
Returns:
the issues
Throws:
RedmineServiceException - if any pb while retriving datas
Since:
1.0.3
See Also:
Issue

getIssues

Issue[] getIssues(String projectName,
                  String versionName)
                  throws RedmineServiceException
Obtain all issues for a specific version on a given project

Parameters:
projectName - the name of the project
versionName - the name of the version
Returns:
the issues
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
Issue

getIssueTimeEntries

TimeEntry[] getIssueTimeEntries(String projectName,
                                String issueId)
                                throws RedmineServiceException
Obtain for a given issue of a given project all the time entries.

Parameters:
projectName - the name of the project
issueId - the id of the issue
Returns:
the time entries of the issue
Throws:
RedmineServiceException - if any pb while retrieving time entries of the issue
Since:
1.0.3

getAttachments

Attachment[] getAttachments(String projectName,
                            String versionName)
                            throws RedmineServiceException
Obtain all attachments for a specific version on a given project

Parameters:
projectName - the name of the project
versionName - the name of the version
Returns:
the attachments
Throws:
RedmineServiceException - if any pb while retriving datas
See Also:
Attachment


Copyright © 2009-2010 CodeLutin. All Rights Reserved.