public class BacklogClientImpl extends BacklogClientBase implements BacklogClient
backlogEndPointSupport, configure, factory, httpClient, oAuthSupport
Constructor and Description |
---|
BacklogClientImpl(BacklogConfigure configure) |
BacklogClientImpl(BacklogConfigure configure,
BacklogHttpClient httpClient) |
Modifier and Type | Method and Description |
---|---|
Category |
addCategory(AddCategoryParams params)
Adds a category to the project.
|
CheckBoxCustomFieldSetting |
addCheckBoxCustomField(AddCheckBoxCustomFieldParams params)
Adds a checkbox type custom field to the project.
|
DateCustomFieldSetting |
addDateCustomField(AddDateCustomFieldParams params)
Adds a date type custom field to the project.
|
IssueComment |
addIssueComment(AddIssueCommentParams params)
Adds a issue comment.
|
IssueComment |
addIssueCommentNotification(AddIssueCommentNotificationParams params)
Adds a issue comment notification.
|
IssueType |
addIssueType(AddIssueTypeParams params)
Adds a issue type to the project.
|
CustomFieldSetting |
addListCustomFieldItem(java.lang.Object projectIdOrKey,
java.lang.Object customFieldId,
java.lang.String name)
Adds a item to the list type custom field.
|
Milestone |
addMilestone(AddMilestoneParams params)
Adds a Milestone to the project.
|
MultipleListCustomFieldSetting |
addMultipleListCustomField(AddMultipleListCustomFieldParams params)
Adds a multiple list type custom field to the project.
|
NumericCustomFieldSetting |
addNumericCustomField(AddNumericCustomFieldParams params)
Adds a numeric type custom field to the project.
|
User |
addProjectAdministrator(java.lang.Object projectIdOrKey,
java.lang.Object userId)
Adds the project administrators.
|
User |
addProjectUser(java.lang.Object projectIdOrKey,
java.lang.Object userId)
Adds the user to the project.
|
PullRequest |
addPullRequest(AddPullRequestParams params)
Add a pull request.
|
PullRequestComment |
addPullRequestComment(AddPullRequestCommentParams params)
Add a comment on the pull request.
|
RadioCustomFieldSetting |
addRadioCustomField(AddRadioCustomFieldParams params)
Adds a radio type custom field to the project.
|
SingleListCustomFieldSetting |
addSingleListCustomField(AddSingleListCustomFieldParams params)
Adds a single list type custom field to the project.
|
void |
addStarToComment(java.lang.Object commentId)
Adds a star to the issue comment.
|
void |
addStarToIssue(java.lang.Object issueId)
Adds a star to the issue.
|
void |
addStarToPullRequest(java.lang.Object pullRequestId)
Adds a star to the pull request.
|
void |
addStarToPullRequestComment(java.lang.Object pullRequestCommentId)
Adds a star to the pull request comment.
|
void |
addStarToWiki(java.lang.Object wikiId)
Adds a star to the wiki.
|
Status |
addStatus(AddStatusParams params)
Add status in the project.
|
TextAreaCustomFieldSetting |
addTextAreaCustomField(AddTextAreaCustomFieldParams params)
Adds a text area type custom field to the project.
|
TextCustomFieldSetting |
addTextCustomField(AddTextCustomFieldParams params)
Adds a text type custom field to the project.
|
Version |
addVersion(AddVersionParams params)
Adds a version to the project.
|
Watch |
addWatchToIssue(java.lang.Object issueIdOrKey,
java.lang.String note)
Adds a watching to the issue.
|
ResponseList<Attachment> |
addWikiAttachment(AddWikiAttachmentParams params)
Attaches the files to the Wiki page.
|
Group |
createGroup(CreateGroupParams params)
Creates a group.
|
Issue |
createIssue(CreateIssueParams params)
Creates a issue.
|
Project |
createProject(CreateProjectParams params)
Create a project.
|
User |
createUser(CreateUserParams params)
Creates a user in the space.
|
Webhook |
createWebhook(CreateWebhookParams params)
Create a webhook.
|
Wiki |
createWiki(CreateWikiParams params)
Create a Wiki page in the project.
|
Group |
deleteGroup(java.lang.Object groupId)
Deletes the existing groups.
|
Issue |
deleteIssue(java.lang.Object issueIdOrKey)
Deletes the issue.
|
Attachment |
deleteIssueAttachment(java.lang.Object issueIdOrKey,
java.lang.Object attachmentId)
Deletes the attachment file on the issue.
|
Project |
deleteProject(java.lang.Object projectIdOrKey)
Deletes the existing project.
|
Attachment |
deletePullRequestAttachment(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number,
java.lang.Object attachmentId)
Deletes the attachment file on the pull request.
|
User |
deleteUser(java.lang.Object numericUserId)
Deletes the user in space.
|
Watch |
deleteWatch(java.lang.Object watchingId)
Deletes the existing watching.
|
Webhook |
deleteWebhook(java.lang.Object projectIdOrKey,
java.lang.Object webhookId)
Deletes the existing webhook.
|
Wiki |
deleteWiki(java.lang.Object wikiId,
boolean mailNotify)
Deletes the Wiki page.
|
Attachment |
deleteWikiAttachment(java.lang.Object wikiId,
java.lang.Object attachmentId)
Deletes the Wiki page's attachment file
|
AttachmentData |
downloadIssueAttachment(java.lang.Object issueIdOrKey,
java.lang.Object attachmentId)
Returns the attachment file data on the issue.
|
AttachmentData |
downloadPullRequestAttachment(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number,
java.lang.Object attachmentId)
Returns the attachment file data on the pull request.
|
SharedFileData |
downloadSharedFile(java.lang.Object projectIdOrKey,
java.lang.Object sharedFileId)
Returns the shared file data in the project.
|
AttachmentData |
downloadWikiAttachment(java.lang.Object wikiId,
java.lang.Object attachmentId)
Downloads the Wiki page's attachment file.
|
ResponseList<Category> |
getCategories(java.lang.Object projectIdOrKey)
Returns the categories in the project.
|
ResponseList<CustomFieldSetting> |
getCustomFields(java.lang.Object projectIdOrKey)
Returns the custom fields in the project.
|
ResponseList<Repository> |
getGitRepositories(java.lang.Object projectIdOrKey)
Returns the git repositories in the project.
|
Repository |
getGitRepository(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName)
Returns the git repository.
|
Group |
getGroup(java.lang.Object groupId)
Returns the groups identified by the group's id.
|
ResponseList<Group> |
getGroups()
Returns all the groups.
|
ResponseList<Group> |
getGroups(OffsetParams params)
Returns all the groups.
|
Issue |
getIssue(java.lang.Object issueIdOrKey)
Returns the issue.
|
ResponseList<Attachment> |
getIssueAttachments(java.lang.Object issueIdOrKey)
Returns all the attachments on the issue.
|
IssueComment |
getIssueComment(java.lang.Object issueIdOrKey,
java.lang.Object commentId)
Returns the issue comment.
|
int |
getIssueCommentCount(java.lang.Object issueIdOrKey)
Returns the count of the issue comments.
|
ResponseList<Notification> |
getIssueCommentNotifications(java.lang.Object issueIdOrKey,
java.lang.Object commentId)
Returns the issue comment notifications.
|
ResponseList<IssueComment> |
getIssueComments(java.lang.Object issueIdOrKey)
Returns the issue comments.
|
ResponseList<IssueComment> |
getIssueComments(java.lang.Object issueIdOrKey,
QueryParams queryParams)
Returns the issue comments.
|
java.lang.String |
getIssueCommentUrl(Issue issue,
IssueComment issueComment) |
ResponseList<Issue> |
getIssues(GetIssuesParams params)
Finds and returns all the issues.
|
int |
getIssuesCount(GetIssuesCountParams params)
Finds and returns all the issues count.
|
ResponseList<SharedFile> |
getIssueSharedFiles(java.lang.Object issueIdOrKey)
Returns all the shared files on the issue.
|
ResponseList<IssueType> |
getIssueTypes(java.lang.Object projectIdOrKey)
Returns the issue types in the project.
|
java.lang.String |
getIssueUrl(Issue issue) |
ResponseList<Milestone> |
getMilestones(java.lang.Object projectIdOrKey)
Returns the Milestones in the project.
|
User |
getMyself()
Returns the own information.
|
int |
getNotificationCount(GetNotificationCountParams params)
Returns the count of the notifications.
|
ResponseList<Notification> |
getNotifications()
Returns the notifications.
|
ResponseList<Notification> |
getNotifications(QueryParams params)
Returns the notifications.
|
ResponseList<Priority> |
getPriorities()
Returns the priorities.
|
Project |
getProject(java.lang.Object projectIdOrKey)
Returns the project.
|
ResponseList<Activity> |
getProjectActivities(java.lang.Object projectIdOrKey)
Returns the activities on the project.
|
ResponseList<Activity> |
getProjectActivities(java.lang.Object projectIdOrKey,
ActivityQueryParams query)
Returns the activities on the project.
|
ResponseList<User> |
getProjectAdministrators(java.lang.Object projectIdOrKey)
Returns the project administrators.
|
DiskUsageDetail |
getProjectDiskUsage(java.lang.Object projectIdOrKey)
Returns the disk usage of the project.
|
Icon |
getProjectIcon(java.lang.Object projectIdOrKey)
Returns the project icon.
|
ResponseList<Project> |
getProjects()
Returns all the projects.
|
ResponseList<User> |
getProjectUsers(java.lang.Object projectIdOrKey)
Returns the users in the project.
|
PullRequest |
getPullRequest(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number)
Returns the pull request.
|
ResponseList<Attachment> |
getPullRequestAttachments(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number)
Returns the pull request attachment list.
|
int |
getPullRequestCommentCount(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number)
Returns the pull request comment count.
|
ResponseList<PullRequestComment> |
getPullRequestComments(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number,
QueryParams params)
Returns the comments of pull requests.
|
java.lang.String |
getPullRequestCommentUrl(Project project,
Repository repository,
PullRequest pullRequest,
PullRequestComment pullRequestComment) |
int |
getPullRequestCount(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName)
Returns the count of the pull requests.
|
int |
getPullRequestCount(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
PullRequestQueryParams params)
Returns the count of the pull requests.
|
ResponseList<PullRequest> |
getPullRequests(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName)
Returns the pull requests of the repository.
|
ResponseList<PullRequest> |
getPullRequests(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
PullRequestQueryParams params)
Returns the pull requests of the repository.
|
java.lang.String |
getPullRequestUrl(Project project,
Repository repository,
PullRequest pullRequest) |
ResponseList<ViewedIssue> |
getRecentlyViewedIssues()
Returns the recently viewed issues
|
ResponseList<ViewedIssue> |
getRecentlyViewedIssues(OffsetParams params)
Returns the recently viewed issues
|
ResponseList<ViewedProject> |
getRecentlyViewedProjects()
Returns the recently viewed projects
|
ResponseList<ViewedProject> |
getRecentlyViewedProjects(OffsetParams params)
Returns the recently viewed projects
|
ResponseList<ViewedWiki> |
getRecentlyViewedWikis()
Returns the recently viewed wikis
|
ResponseList<ViewedWiki> |
getRecentlyViewedWikis(OffsetParams params)
Returns the recently viewed wikis
|
ResponseList<Resolution> |
getResolutions()
Returns the resolutions.
|
ResponseList<SharedFile> |
getSharedFiles(java.lang.Object projectIdOrKey,
java.lang.String path)
Returns the shared files in the project.
|
ResponseList<SharedFile> |
getSharedFiles(java.lang.Object projectIdOrKey,
java.lang.String path,
QueryParams queryParams)
Returns the shared files in the project.
|
Space |
getSpace()
Returns the Space.
|
ResponseList<Activity> |
getSpaceActivities()
Returns the activities in the space.
|
ResponseList<Activity> |
getSpaceActivities(ActivityQueryParams params)
Returns the activities in the space.
|
DiskUsage |
getSpaceDiskUsage()
Returns the disk usage of the project.
|
Icon |
getSpaceIcon()
Returns the space icon.
|
SpaceNotification |
getSpaceNotification()
Returns the space information.
|
ResponseList<Status> |
getStatuses()
Returns the statuses.
|
ResponseList<Status> |
getStatuses(java.lang.Object projectIdOrKey)
Returns the issue statuses in the project.
|
User |
getUser(java.lang.Object numericUserId)
Returns the user in the space.
|
ResponseList<Activity> |
getUserActivities(java.lang.Object numericUserId)
Returns the user recently updates
|
ResponseList<Activity> |
getUserActivities(java.lang.Object numericUserId,
ActivityQueryParams queryParams)
Returns the user recently updates
|
Icon |
getUserIcon(java.lang.Object numericUserId)
Returns the user icon.
|
ResponseList<User> |
getUsers()
Returns all the users in the space.
|
int |
getUserStarCount(java.lang.Object numericUserId,
GetStarsParams params)
Returns the received star count
|
ResponseList<Star> |
getUserStars(java.lang.Object numericUserId)
Returns the received stars
|
ResponseList<Star> |
getUserStars(java.lang.Object numericUserId,
QueryParams queryParams)
Returns the received stars
|
int |
getUserWatchCount(java.lang.Object numericUserId,
GetWatchesParams params)
Returns the received watch count
|
ResponseList<Watch> |
getUserWatches(java.lang.Object numericUserId)
Returns the received watchings
|
ResponseList<Version> |
getVersions(java.lang.Object projectIdOrKey)
Returns the versions in the project.
|
Watch |
getWatch(java.lang.Long watchingId)
Returns the Watch.
|
Webhook |
getWebhook(java.lang.Object projectIdOrKey,
java.lang.Object webhookId)
Returns the webhook.
|
ResponseList<Webhook> |
getWebhooks(java.lang.Object projectIdOrKey)
Returns all the webhooks.
|
Wiki |
getWiki(java.lang.Object wikiId)
Returns the Wiki page.
|
ResponseList<Attachment> |
getWikiAttachments(java.lang.Object wikiId)
Returns the Wiki page's attachment files.
|
int |
getWikiCount(java.lang.Object projectIdOrKey)
Returns Wiki pages count.
|
ResponseList<WikiHistory> |
getWikiHistories(java.lang.Object wikiId)
Returns history of the Wiki page.
|
ResponseList<WikiHistory> |
getWikiHistories(java.lang.Object wikiId,
QueryParams params)
Returns history of the Wiki page.
|
ResponseList<Wiki> |
getWikis(GetWikisParams params)
Returns Wiki pages in the project.
|
ResponseList<Wiki> |
getWikis(java.lang.Object projectIdOrKey)
Returns Wiki pages in the project.
|
ResponseList<SharedFile> |
getWikiSharedFiles(java.lang.Object wikiId)
Returns the Wiki page's shared files.
|
ResponseList<Star> |
getWikiStars(java.lang.Object wikiId)
Returns list of stars received on the Wiki page.
|
ResponseList<WikiTag> |
getWikiTags(java.lang.Object projectIdOrKey)
Returns Wiki page's tags in the project.
|
java.lang.String |
getWikiUrl(Project project,
Wiki wiki) |
ResponseList<SharedFile> |
linkIssueSharedFile(java.lang.Object issueIdOrKey,
java.util.List fileIds)
links the shared files to the issue.
|
ResponseList<SharedFile> |
linkWikiSharedFile(java.lang.Object wikiId,
java.util.List fileIds)
Links the shared files to Wiki.
|
void |
markAsCheckedUserWatches(java.lang.Object numericUserId)
Marks the watching as already read.
|
void |
markAsReadNotification(java.lang.Object notificationId)
Marks the notification as already read.
|
Attachment |
postAttachment(AttachmentData attachmentData)
Posts the attachment file for issue or wiki.
|
Category |
removeCategory(java.lang.Object projectIdOrKey,
java.lang.Object categoryId)
Removes the category from the project
|
CustomFieldSetting |
removeCustomField(java.lang.Object projectIdOrKey,
java.lang.Object customFieldId)
Removes the custom filed from the project.
|
IssueType |
removeIssueType(java.lang.Object projectIdOrKey,
java.lang.Object issueTypeId,
java.lang.Object substituteIssueTypeId)
Removes the existing issue type from the project.
|
CustomFieldSetting |
removeListCustomFieldItem(java.lang.Object projectIdOrKey,
java.lang.Object customFieldId,
java.lang.Object itemId)
Removes the item of list type custom field.
|
Milestone |
removeMilestone(java.lang.Object projectIdOrKey,
java.lang.Object MilestoneId)
Removes the Milestone from the project.
|
User |
removeProjectAdministrator(java.lang.Object projectIdOrKey,
java.lang.Object userId)
Deletes the project administrators.
|
User |
removeProjectUser(java.lang.Object projectIdOrKey,
java.lang.Object userId)
Removes the user from the project.
|
Status |
removeStatus(java.lang.Object projectIdOrKey,
java.lang.Object statusId,
java.lang.Object substituteStatusId)
Removes the status in the project.
|
Version |
removeVersion(java.lang.Object projectIdOrKey,
java.lang.Object versionId)
Removes the version from the project.
|
int |
resetNotificationCount()
Resets the count of the notifications.
|
static void |
sortWikis(ResponseList<Wiki> wikis,
GetWikisParams.SortKey sort,
GetWikisParams.Order order) |
SharedFile |
unlinkIssueSharedFile(java.lang.Object issueIdOrKey,
java.lang.Object fileId)
Deletes link of the shared file from the issue.
|
SharedFile |
unlinkWikiSharedFile(java.lang.Object wikiId,
java.lang.Object fileId)
Removes link to shared Files from the Wiki.
|
Category |
updateCategory(UpdateCategoryParams params)
Updates the existing category in the project.
|
CheckBoxCustomFieldSetting |
updateCheckBoxCustomField(UpdateCheckBoxCustomFieldParams params)
Updates the existing checkbox type custom field in the project.
|
DateCustomFieldSetting |
updateDateCustomField(UpdateDateCustomFieldParams params)
Updates the existing date type custom field in the project.
|
Group |
updateGroup(UpdateGroupParams params)
Updates the existing group.
|
Issue |
updateIssue(UpdateIssueParams params)
Updates an existing issue.
|
IssueComment |
updateIssueComment(UpdateIssueCommentParams params)
Updates an existing issue comment.
|
IssueType |
updateIssueType(UpdateIssueTypeParams params)
Updates the issue type in the project.
|
CustomFieldSetting |
updateListCustomFieldItem(java.lang.Object projectIdOrKey,
java.lang.Object customFieldId,
java.lang.Object itemId,
java.lang.String name)
Updates the existing item of list type custom field.
|
Milestone |
updateMilestone(UpdateMilestoneParams params)
Updates the existing Milestone in the project.
|
MultipleListCustomFieldSetting |
updateMultipleListCustomField(UpdateMultipleListCustomFieldParams params)
Updates the existing multiple list type custom field in the project.
|
NumericCustomFieldSetting |
updateNumericCustomField(UpdateNumericCustomFieldParams params)
Updates the existing numeric type custom field in the project.
|
ResponseList<Status> |
updateOrderOfStatus(UpdateOrderOfStatusParams params)
Updates the statuses order in the project.
|
Project |
updateProject(UpdateProjectParams params)
Updates the existing project.
|
PullRequest |
updatePullRequest(UpdatePullRequestParams params)
Update a pull request.
|
PullRequestComment |
updatePullRequestComment(UpdatePullRequestCommentParams params)
Updates the pull request comment.
|
RadioCustomFieldSetting |
updateRadioCustomField(UpdateRadioCustomFieldParams params)
Updates the existing radio type custom field in the project.
|
SingleListCustomFieldSetting |
updateSingleListCustomField(UpdateSingleListCustomFieldParams params)
Updates the existing single list type custom field in the project.
|
SpaceNotification |
updateSpaceNotification(java.lang.String content)
Updates the space information.
|
Status |
updateStatus(UpdateStatusParams params)
Updates the existing status in the project.
|
TextAreaCustomFieldSetting |
updateTextAreaCustomField(UpdateTextAreaCustomFieldParams params)
Updates the existing text area type custom field in the project.
|
TextCustomFieldSetting |
updateTextCustomField(UpdateTextCustomFieldParams params)
Updates the existing text type custom field in the project.
|
Version |
updateVersion(UpdateVersionParams params)
Updates the existing version in the project.
|
Watch |
updateWatch(UpdateWatchParams params)
Updates the existing watching.
|
Webhook |
updateWebhook(UpdateWebhookParams params)
Updates the existing webhook.
|
Wiki |
updateWiki(UpdateWikiParams params)
Updates an existing Wiki page in the project.
|
buildEndpoint, delete, delete, delete, delete, get, get, get, get, patch, patch, post, post, post, postMultiPart, put, setOAuthSupport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setOAuthSupport
public BacklogClientImpl(BacklogConfigure configure)
public BacklogClientImpl(BacklogConfigure configure, BacklogHttpClient httpClient)
public Space getSpace() throws BacklogException
SpaceMethods
getSpace
in interface SpaceMethods
BacklogException
public ResponseList<Activity> getSpaceActivities() throws BacklogException
SpaceMethods
getSpaceActivities
in interface SpaceMethods
BacklogException
public ResponseList<Activity> getSpaceActivities(ActivityQueryParams params) throws BacklogException
SpaceMethods
getSpaceActivities
in interface SpaceMethods
params
- the query parametersBacklogException
public Icon getSpaceIcon() throws BacklogException
SpaceMethods
getSpaceIcon
in interface SpaceMethods
BacklogException
public SpaceNotification getSpaceNotification() throws BacklogException
SpaceMethods
getSpaceNotification
in interface SpaceMethods
BacklogException
public SpaceNotification updateSpaceNotification(java.lang.String content) throws BacklogException
SpaceMethods
updateSpaceNotification
in interface SpaceMethods
content
- informationBacklogException
public DiskUsage getSpaceDiskUsage() throws BacklogException
SpaceMethods
getSpaceDiskUsage
in interface SpaceMethods
BacklogException
public Attachment postAttachment(AttachmentData attachmentData)
SpaceMethods
postAttachment
in interface SpaceMethods
attachmentData
- the attachment file datapublic ResponseList<Project> getProjects() throws BacklogException
ProjectMethods
getProjects
in interface ProjectMethods
BacklogException
public Project createProject(CreateProjectParams params) throws BacklogException
ProjectMethods
createProject
in interface ProjectMethods
params
- the creating project parameters.BacklogException
public Project getProject(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getProject
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public Project updateProject(UpdateProjectParams params) throws BacklogException
ProjectMethods
updateProject
in interface ProjectMethods
params
- the updating project parametersBacklogException
public Project deleteProject(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
deleteProject
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public Icon getProjectIcon(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getProjectIcon
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public ResponseList<Activity> getProjectActivities(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getProjectActivities
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public ResponseList<Activity> getProjectActivities(java.lang.Object projectIdOrKey, ActivityQueryParams query) throws BacklogException
ProjectMethods
getProjectActivities
in interface ProjectMethods
projectIdOrKey
- the project identifierquery
- the query parametersBacklogException
public ResponseList<User> getProjectUsers(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getProjectUsers
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public User addProjectUser(java.lang.Object projectIdOrKey, java.lang.Object userId) throws BacklogException
ProjectMethods
addProjectUser
in interface ProjectMethods
projectIdOrKey
- the project identifieruserId
- the user identifierBacklogException
public User removeProjectUser(java.lang.Object projectIdOrKey, java.lang.Object userId) throws BacklogException
ProjectMethods
removeProjectUser
in interface ProjectMethods
projectIdOrKey
- the project identifieruserId
- the user identifierBacklogException
public User addProjectAdministrator(java.lang.Object projectIdOrKey, java.lang.Object userId) throws BacklogException
ProjectMethods
addProjectAdministrator
in interface ProjectMethods
projectIdOrKey
- the project identifieruserId
- the user identifierBacklogException
public ResponseList<User> getProjectAdministrators(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getProjectAdministrators
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public User removeProjectAdministrator(java.lang.Object projectIdOrKey, java.lang.Object userId) throws BacklogException
ProjectMethods
removeProjectAdministrator
in interface ProjectMethods
projectIdOrKey
- the project identifieruserId
- the user identifierBacklogException
public ResponseList<IssueType> getIssueTypes(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getIssueTypes
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public IssueType addIssueType(AddIssueTypeParams params) throws BacklogException
ProjectMethods
addIssueType
in interface ProjectMethods
params
- the creating issue type parametersBacklogException
public IssueType updateIssueType(UpdateIssueTypeParams params) throws BacklogException
ProjectMethods
updateIssueType
in interface ProjectMethods
params
- the updating issue type parametersBacklogException
public IssueType removeIssueType(java.lang.Object projectIdOrKey, java.lang.Object issueTypeId, java.lang.Object substituteIssueTypeId) throws BacklogException
ProjectMethods
removeIssueType
in interface ProjectMethods
projectIdOrKey
- the project identifierissueTypeId
- the issue type identifiersubstituteIssueTypeId
- the substitute issue type identifierBacklogException
public ResponseList<Status> getStatuses(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getStatuses
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public ResponseList<Category> getCategories(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getCategories
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public Category addCategory(AddCategoryParams params) throws BacklogException
ProjectMethods
addCategory
in interface ProjectMethods
params
- the adding category parameterBacklogException
public Category updateCategory(UpdateCategoryParams params) throws BacklogException
ProjectMethods
updateCategory
in interface ProjectMethods
params
- the updating category parameters.BacklogException
public Category removeCategory(java.lang.Object projectIdOrKey, java.lang.Object categoryId) throws BacklogException
ProjectMethods
removeCategory
in interface ProjectMethods
projectIdOrKey
- the project identifiercategoryId
- the category identifierBacklogException
public ResponseList<Version> getVersions(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getVersions
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public Version addVersion(AddVersionParams params) throws BacklogException
ProjectMethods
addVersion
in interface ProjectMethods
params
- the adding version parameters.BacklogException
public Version updateVersion(UpdateVersionParams params) throws BacklogException
ProjectMethods
updateVersion
in interface ProjectMethods
params
- the updating version parameters.BacklogException
public Version removeVersion(java.lang.Object projectIdOrKey, java.lang.Object versionId) throws BacklogException
ProjectMethods
removeVersion
in interface ProjectMethods
projectIdOrKey
- the project identifierversionId
- the version identifierBacklogException
public ResponseList<Milestone> getMilestones(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getMilestones
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public Milestone addMilestone(AddMilestoneParams params) throws BacklogException
ProjectMethods
addMilestone
in interface ProjectMethods
params
- the adding Milestone parameters.BacklogException
public Milestone updateMilestone(UpdateMilestoneParams params) throws BacklogException
ProjectMethods
updateMilestone
in interface ProjectMethods
params
- the updating Milestone parameters.BacklogException
public Milestone removeMilestone(java.lang.Object projectIdOrKey, java.lang.Object MilestoneId) throws BacklogException
ProjectMethods
removeMilestone
in interface ProjectMethods
projectIdOrKey
- the project identifierMilestoneId
- the Milestone identifierBacklogException
public ResponseList<CustomFieldSetting> getCustomFields(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getCustomFields
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public TextCustomFieldSetting addTextCustomField(AddTextCustomFieldParams params) throws BacklogException
ProjectMethods
addTextCustomField
in interface ProjectMethods
params
- the adding text type custom filed parameters.BacklogException
public TextAreaCustomFieldSetting addTextAreaCustomField(AddTextAreaCustomFieldParams params) throws BacklogException
ProjectMethods
addTextAreaCustomField
in interface ProjectMethods
params
- the adding text area type custom filed parameters.BacklogException
public NumericCustomFieldSetting addNumericCustomField(AddNumericCustomFieldParams params) throws BacklogException
ProjectMethods
addNumericCustomField
in interface ProjectMethods
params
- the adding numeric type custom filed parameters.BacklogException
public DateCustomFieldSetting addDateCustomField(AddDateCustomFieldParams params) throws BacklogException
ProjectMethods
addDateCustomField
in interface ProjectMethods
params
- the adding date type custom filed parameters.BacklogException
public SingleListCustomFieldSetting addSingleListCustomField(AddSingleListCustomFieldParams params) throws BacklogException
ProjectMethods
addSingleListCustomField
in interface ProjectMethods
params
- the adding single list type custom filed parameters.BacklogException
public MultipleListCustomFieldSetting addMultipleListCustomField(AddMultipleListCustomFieldParams params) throws BacklogException
ProjectMethods
addMultipleListCustomField
in interface ProjectMethods
params
- the adding multiple list type custom filed parameters.BacklogException
public RadioCustomFieldSetting addRadioCustomField(AddRadioCustomFieldParams params) throws BacklogException
ProjectMethods
addRadioCustomField
in interface ProjectMethods
params
- the adding radio type custom filed parameters.BacklogException
public CheckBoxCustomFieldSetting addCheckBoxCustomField(AddCheckBoxCustomFieldParams params) throws BacklogException
ProjectMethods
addCheckBoxCustomField
in interface ProjectMethods
params
- the adding checkbox type custom filed parameters.BacklogException
public TextCustomFieldSetting updateTextCustomField(UpdateTextCustomFieldParams params) throws BacklogException
ProjectMethods
updateTextCustomField
in interface ProjectMethods
params
- the updating text type custom filed parameters.BacklogException
public TextAreaCustomFieldSetting updateTextAreaCustomField(UpdateTextAreaCustomFieldParams params) throws BacklogException
ProjectMethods
updateTextAreaCustomField
in interface ProjectMethods
params
- the updating text area type custom filed parameters.BacklogException
public NumericCustomFieldSetting updateNumericCustomField(UpdateNumericCustomFieldParams params) throws BacklogException
ProjectMethods
updateNumericCustomField
in interface ProjectMethods
params
- the updating numeric type custom filed parameters.BacklogException
public DateCustomFieldSetting updateDateCustomField(UpdateDateCustomFieldParams params) throws BacklogException
ProjectMethods
updateDateCustomField
in interface ProjectMethods
params
- the updating date type custom filed parameters.BacklogException
public SingleListCustomFieldSetting updateSingleListCustomField(UpdateSingleListCustomFieldParams params) throws BacklogException
ProjectMethods
updateSingleListCustomField
in interface ProjectMethods
params
- the updating single list type custom filed parameters.BacklogException
public MultipleListCustomFieldSetting updateMultipleListCustomField(UpdateMultipleListCustomFieldParams params) throws BacklogException
ProjectMethods
updateMultipleListCustomField
in interface ProjectMethods
params
- the multiple list text type custom filed parameters.BacklogException
public RadioCustomFieldSetting updateRadioCustomField(UpdateRadioCustomFieldParams params) throws BacklogException
ProjectMethods
updateRadioCustomField
in interface ProjectMethods
params
- the updating radio type custom filed parameters.BacklogException
public CheckBoxCustomFieldSetting updateCheckBoxCustomField(UpdateCheckBoxCustomFieldParams params) throws BacklogException
ProjectMethods
updateCheckBoxCustomField
in interface ProjectMethods
params
- the updating checkbox type custom filed parameters.BacklogException
public CustomFieldSetting removeCustomField(java.lang.Object projectIdOrKey, java.lang.Object customFieldId) throws BacklogException
ProjectMethods
removeCustomField
in interface ProjectMethods
projectIdOrKey
- the project identifiercustomFieldId
- the custom field identifierBacklogException
public CustomFieldSetting addListCustomFieldItem(java.lang.Object projectIdOrKey, java.lang.Object customFieldId, java.lang.String name) throws BacklogException
ProjectMethods
addListCustomFieldItem
in interface ProjectMethods
projectIdOrKey
- the project identifiercustomFieldId
- the custom field identifiername
- name of the adding itemBacklogException
public CustomFieldSetting updateListCustomFieldItem(java.lang.Object projectIdOrKey, java.lang.Object customFieldId, java.lang.Object itemId, java.lang.String name) throws BacklogException
ProjectMethods
updateListCustomFieldItem
in interface ProjectMethods
projectIdOrKey
- the project identifiercustomFieldId
- the custom field identifieritemId
- the item identifiername
- name of the updating itemBacklogException
public CustomFieldSetting removeListCustomFieldItem(java.lang.Object projectIdOrKey, java.lang.Object customFieldId, java.lang.Object itemId) throws BacklogException
ProjectMethods
removeListCustomFieldItem
in interface ProjectMethods
projectIdOrKey
- the project identifiercustomFieldId
- the custom field identifieritemId
- the item identifierBacklogException
public ResponseList<SharedFile> getSharedFiles(java.lang.Object projectIdOrKey, java.lang.String path) throws BacklogException
ProjectMethods
getSharedFiles
in interface ProjectMethods
projectIdOrKey
- the project identifierpath
- path of the shared file directoryBacklogException
public ResponseList<SharedFile> getSharedFiles(java.lang.Object projectIdOrKey, java.lang.String path, QueryParams queryParams) throws BacklogException
ProjectMethods
getSharedFiles
in interface ProjectMethods
projectIdOrKey
- the project identifierpath
- path of the shared file directoryqueryParams
- the query parametersBacklogException
public SharedFileData downloadSharedFile(java.lang.Object projectIdOrKey, java.lang.Object sharedFileId) throws BacklogException
ProjectMethods
downloadSharedFile
in interface ProjectMethods
projectIdOrKey
- the project identifiersharedFileId
- the shared file identifierBacklogException
public DiskUsageDetail getProjectDiskUsage(java.lang.Object projectIdOrKey) throws BacklogException
ProjectMethods
getProjectDiskUsage
in interface ProjectMethods
projectIdOrKey
- the project identifierBacklogException
public ResponseList<Issue> getIssues(GetIssuesParams params) throws BacklogException
IssueMethods
getIssues
in interface IssueMethods
params
- the finding issue parametersBacklogException
public int getIssuesCount(GetIssuesCountParams params) throws BacklogException
IssueMethods
getIssuesCount
in interface IssueMethods
params
- the finding issue parametersBacklogException
public Issue createIssue(CreateIssueParams params) throws BacklogException
IssueMethods
createIssue
in interface IssueMethods
params
- the issue creating parametersBacklogException
public Issue updateIssue(UpdateIssueParams params) throws BacklogException
IssueMethods
updateIssue
in interface IssueMethods
params
- the issue updating parametersBacklogException
public Issue deleteIssue(java.lang.Object issueIdOrKey) throws BacklogException
IssueMethods
deleteIssue
in interface IssueMethods
issueIdOrKey
- the issue identifierBacklogException
public Issue getIssue(java.lang.Object issueIdOrKey) throws BacklogException
IssueMethods
getIssue
in interface IssueMethods
issueIdOrKey
- the issue identifierBacklogException
public ResponseList<IssueComment> getIssueComments(java.lang.Object issueIdOrKey) throws BacklogException
IssueMethods
getIssueComments
in interface IssueMethods
issueIdOrKey
- the issue identifierBacklogException
public ResponseList<IssueComment> getIssueComments(java.lang.Object issueIdOrKey, QueryParams queryParams) throws BacklogException
IssueMethods
getIssueComments
in interface IssueMethods
issueIdOrKey
- the issue identifierqueryParams
- the query parametersBacklogException
public IssueComment addIssueComment(AddIssueCommentParams params) throws BacklogException
IssueMethods
addIssueComment
in interface IssueMethods
params
- the issue comment adding parametersBacklogException
public int getIssueCommentCount(java.lang.Object issueIdOrKey) throws BacklogException
IssueMethods
getIssueCommentCount
in interface IssueMethods
issueIdOrKey
- the issue identifierBacklogException
public IssueComment getIssueComment(java.lang.Object issueIdOrKey, java.lang.Object commentId) throws BacklogException
IssueMethods
getIssueComment
in interface IssueMethods
issueIdOrKey
- the issue identifiercommentId
- the comment identifierBacklogException
public IssueComment updateIssueComment(UpdateIssueCommentParams params) throws BacklogException
IssueMethods
updateIssueComment
in interface IssueMethods
params
- the issue comment updating parameters.BacklogException
public ResponseList<Notification> getIssueCommentNotifications(java.lang.Object issueIdOrKey, java.lang.Object commentId) throws BacklogException
IssueMethods
getIssueCommentNotifications
in interface IssueMethods
issueIdOrKey
- the issue identifiercommentId
- the comment identifierBacklogException
public IssueComment addIssueCommentNotification(AddIssueCommentNotificationParams params) throws BacklogException
IssueMethods
addIssueCommentNotification
in interface IssueMethods
params
- the issue comment notification adding parametersBacklogException
public ResponseList<Attachment> getIssueAttachments(java.lang.Object issueIdOrKey)
IssueMethods
getIssueAttachments
in interface IssueMethods
issueIdOrKey
- the issue identifierpublic AttachmentData downloadIssueAttachment(java.lang.Object issueIdOrKey, java.lang.Object attachmentId)
IssueMethods
downloadIssueAttachment
in interface IssueMethods
issueIdOrKey
- the issue identifierattachmentId
- the attachment identifierpublic Attachment deleteIssueAttachment(java.lang.Object issueIdOrKey, java.lang.Object attachmentId)
IssueMethods
deleteIssueAttachment
in interface IssueMethods
issueIdOrKey
- the issue identifierattachmentId
- the attachment identifierpublic ResponseList<SharedFile> getIssueSharedFiles(java.lang.Object issueIdOrKey)
IssueMethods
getIssueSharedFiles
in interface IssueMethods
issueIdOrKey
- the issue identifierpublic ResponseList<SharedFile> linkIssueSharedFile(java.lang.Object issueIdOrKey, java.util.List fileIds)
IssueMethods
linkIssueSharedFile
in interface IssueMethods
issueIdOrKey
- the issue identifierfileIds
- the file identifiers in a listpublic SharedFile unlinkIssueSharedFile(java.lang.Object issueIdOrKey, java.lang.Object fileId)
IssueMethods
unlinkIssueSharedFile
in interface IssueMethods
issueIdOrKey
- the issue identifierfileId
- the file identifierspublic ResponseList<Wiki> getWikis(java.lang.Object projectIdOrKey)
WikiMethods
getWikis
in interface WikiMethods
projectIdOrKey
- the project identifierpublic ResponseList<Wiki> getWikis(GetWikisParams params)
WikiMethods
getWikis
in interface WikiMethods
params
- the finding wiki parameterspublic static void sortWikis(ResponseList<Wiki> wikis, GetWikisParams.SortKey sort, GetWikisParams.Order order)
public int getWikiCount(java.lang.Object projectIdOrKey)
WikiMethods
getWikiCount
in interface WikiMethods
projectIdOrKey
- the project identifierpublic ResponseList<WikiTag> getWikiTags(java.lang.Object projectIdOrKey)
WikiMethods
getWikiTags
in interface WikiMethods
projectIdOrKey
- the project identifierpublic Wiki createWiki(CreateWikiParams params)
WikiMethods
createWiki
in interface WikiMethods
params
- the creating Wiki page parameterspublic Wiki getWiki(java.lang.Object wikiId)
WikiMethods
getWiki
in interface WikiMethods
wikiId
- the Wiki page identifierpublic Wiki updateWiki(UpdateWikiParams params)
WikiMethods
updateWiki
in interface WikiMethods
params
- the updating Wiki page parameterspublic Wiki deleteWiki(java.lang.Object wikiId, boolean mailNotify)
WikiMethods
deleteWiki
in interface WikiMethods
wikiId
- the Wiki page identifierpublic ResponseList<Attachment> getWikiAttachments(java.lang.Object wikiId)
WikiMethods
getWikiAttachments
in interface WikiMethods
wikiId
- the Wiki page identifierpublic ResponseList<Attachment> addWikiAttachment(AddWikiAttachmentParams params)
WikiMethods
addWikiAttachment
in interface WikiMethods
params
- the Wiki page's attachment parameterspublic AttachmentData downloadWikiAttachment(java.lang.Object wikiId, java.lang.Object attachmentId)
WikiMethods
downloadWikiAttachment
in interface WikiMethods
wikiId
- the Wiki page identifierattachmentId
- the attachment file identifierpublic Attachment deleteWikiAttachment(java.lang.Object wikiId, java.lang.Object attachmentId)
WikiMethods
deleteWikiAttachment
in interface WikiMethods
wikiId
- the Wiki page identifierattachmentId
- the attachment file identifierpublic ResponseList<SharedFile> getWikiSharedFiles(java.lang.Object wikiId)
WikiMethods
getWikiSharedFiles
in interface WikiMethods
wikiId
- the Wiki page identifierpublic ResponseList<SharedFile> linkWikiSharedFile(java.lang.Object wikiId, java.util.List fileIds)
WikiMethods
linkWikiSharedFile
in interface WikiMethods
wikiId
- the Wiki page identifierfileIds
- the shared file identifierspublic SharedFile unlinkWikiSharedFile(java.lang.Object wikiId, java.lang.Object fileId)
WikiMethods
unlinkWikiSharedFile
in interface WikiMethods
wikiId
- the Wiki page identifierfileId
- the shared file identifierpublic ResponseList<WikiHistory> getWikiHistories(java.lang.Object wikiId)
WikiMethods
getWikiHistories
in interface WikiMethods
wikiId
- the Wiki page identifierpublic ResponseList<WikiHistory> getWikiHistories(java.lang.Object wikiId, QueryParams params)
WikiMethods
getWikiHistories
in interface WikiMethods
wikiId
- the Wiki page identifierparams
- the query parameterspublic ResponseList<Star> getWikiStars(java.lang.Object wikiId)
WikiMethods
getWikiStars
in interface WikiMethods
wikiId
- the Wiki page identifierpublic ResponseList<Priority> getPriorities() throws BacklogException
PriorityMethods
getPriorities
in interface PriorityMethods
BacklogException
public ResponseList<Resolution> getResolutions() throws BacklogException
ResolutionMethods
getResolutions
in interface ResolutionMethods
BacklogException
public ResponseList<Status> getStatuses() throws BacklogException
StatusMethods
getStatuses
in interface StatusMethods
BacklogException
public Status addStatus(AddStatusParams params) throws BacklogException
StatusMethods
addStatus
in interface StatusMethods
params
- the adding status parameters.BacklogException
public Status updateStatus(UpdateStatusParams params) throws BacklogException
StatusMethods
updateStatus
in interface StatusMethods
params
- the updating status parameters.BacklogException
public ResponseList<Status> updateOrderOfStatus(UpdateOrderOfStatusParams params) throws BacklogException
StatusMethods
updateOrderOfStatus
in interface StatusMethods
params
- the updating statuses order parameters.BacklogException
public Status removeStatus(java.lang.Object projectIdOrKey, java.lang.Object statusId, java.lang.Object substituteStatusId) throws BacklogException
StatusMethods
removeStatus
in interface StatusMethods
projectIdOrKey
- the project identifierstatusId
- the status identifiersubstituteStatusId
- the substitute status identifierBacklogException
public Icon getUserIcon(java.lang.Object numericUserId)
UserMethods
getUserIcon
in interface UserMethods
numericUserId
- the user identifierpublic ResponseList<Activity> getUserActivities(java.lang.Object numericUserId) throws BacklogException
UserMethods
getUserActivities
in interface UserMethods
numericUserId
- the user identifierBacklogException
public ResponseList<Activity> getUserActivities(java.lang.Object numericUserId, ActivityQueryParams queryParams) throws BacklogException
UserMethods
getUserActivities
in interface UserMethods
numericUserId
- the user identifierqueryParams
- the query parametersBacklogException
public ResponseList<Star> getUserStars(java.lang.Object numericUserId) throws BacklogException
UserMethods
getUserStars
in interface UserMethods
numericUserId
- the user identifierBacklogException
public ResponseList<Star> getUserStars(java.lang.Object numericUserId, QueryParams queryParams) throws BacklogException
UserMethods
getUserStars
in interface UserMethods
numericUserId
- the user identifierqueryParams
- the query parametersBacklogException
public int getUserStarCount(java.lang.Object numericUserId, GetStarsParams params) throws BacklogException
UserMethods
getUserStarCount
in interface UserMethods
numericUserId
- the user identifierparams
- star count parametersBacklogException
public ResponseList<ViewedIssue> getRecentlyViewedIssues() throws BacklogException
UserMethods
getRecentlyViewedIssues
in interface UserMethods
BacklogException
public ResponseList<ViewedIssue> getRecentlyViewedIssues(OffsetParams params) throws BacklogException
UserMethods
getRecentlyViewedIssues
in interface UserMethods
params
- the offset parametersBacklogException
public ResponseList<ViewedProject> getRecentlyViewedProjects() throws BacklogException
UserMethods
getRecentlyViewedProjects
in interface UserMethods
BacklogException
public ResponseList<ViewedProject> getRecentlyViewedProjects(OffsetParams params) throws BacklogException
UserMethods
getRecentlyViewedProjects
in interface UserMethods
params
- the offset parametersBacklogException
public ResponseList<ViewedWiki> getRecentlyViewedWikis() throws BacklogException
UserMethods
getRecentlyViewedWikis
in interface UserMethods
BacklogException
public ResponseList<ViewedWiki> getRecentlyViewedWikis(OffsetParams params) throws BacklogException
UserMethods
getRecentlyViewedWikis
in interface UserMethods
params
- the offset parametersBacklogException
public ResponseList<User> getUsers() throws BacklogException
UserMethods
getUsers
in interface UserMethods
BacklogException
public User getUser(java.lang.Object numericUserId) throws BacklogException
UserMethods
getUser
in interface UserMethods
numericUserId
- the user identifierBacklogException
public User createUser(CreateUserParams params) throws BacklogException
UserMethods
createUser
in interface UserMethods
params
- the creating user parameterBacklogException
public User deleteUser(java.lang.Object numericUserId) throws BacklogException
UserMethods
deleteUser
in interface UserMethods
numericUserId
- the user identifierBacklogException
public User getMyself()
UserMethods
getMyself
in interface UserMethods
public void addStarToIssue(java.lang.Object issueId) throws BacklogException
StarMethods
addStarToIssue
in interface StarMethods
issueId
- the issue identifierBacklogException
public void addStarToComment(java.lang.Object commentId) throws BacklogException
StarMethods
addStarToComment
in interface StarMethods
commentId
- the issue comment identifierBacklogException
public void addStarToWiki(java.lang.Object wikiId) throws BacklogException
StarMethods
addStarToWiki
in interface StarMethods
wikiId
- the wiki identifierBacklogException
public void addStarToPullRequest(java.lang.Object pullRequestId) throws BacklogException
StarMethods
addStarToPullRequest
in interface StarMethods
pullRequestId
- the pull request identifierBacklogException
public void addStarToPullRequestComment(java.lang.Object pullRequestCommentId) throws BacklogException
StarMethods
addStarToPullRequestComment
in interface StarMethods
pullRequestCommentId
- the pull request comment identifierBacklogException
public ResponseList<Notification> getNotifications() throws BacklogException
NotificationMethods
getNotifications
in interface NotificationMethods
BacklogException
public ResponseList<Notification> getNotifications(QueryParams params) throws BacklogException
NotificationMethods
getNotifications
in interface NotificationMethods
params
- the query parametersBacklogException
public int getNotificationCount(GetNotificationCountParams params) throws BacklogException
NotificationMethods
getNotificationCount
in interface NotificationMethods
params
- the notification parametersBacklogException
public int resetNotificationCount() throws BacklogException
NotificationMethods
resetNotificationCount
in interface NotificationMethods
BacklogException
public void markAsReadNotification(java.lang.Object notificationId) throws BacklogException
NotificationMethods
markAsReadNotification
in interface NotificationMethods
notificationId
- the notification identifierBacklogException
public ResponseList<Repository> getGitRepositories(java.lang.Object projectIdOrKey) throws BacklogException
GitMethods
getGitRepositories
in interface GitMethods
projectIdOrKey
- the project identifierBacklogException
public Repository getGitRepository(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName) throws BacklogException
GitMethods
getGitRepository
in interface GitMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository nameBacklogException
public ResponseList<PullRequest> getPullRequests(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName) throws BacklogException
PullRequestMethods
getPullRequests
in interface PullRequestMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository nameBacklogException
public ResponseList<PullRequest> getPullRequests(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, PullRequestQueryParams params) throws BacklogException
PullRequestMethods
getPullRequests
in interface PullRequestMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository nameparams
- the finding pull request parameters.BacklogException
public int getPullRequestCount(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName) throws BacklogException
PullRequestMethods
getPullRequestCount
in interface PullRequestMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository nameBacklogException
public int getPullRequestCount(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, PullRequestQueryParams params) throws BacklogException
PullRequestMethods
getPullRequestCount
in interface PullRequestMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository nameparams
- the finding pull request parameters.BacklogException
public PullRequest addPullRequest(AddPullRequestParams params) throws BacklogException
PullRequestMethods
addPullRequest
in interface PullRequestMethods
params
- the pull request adding parametersBacklogException
public PullRequest updatePullRequest(UpdatePullRequestParams params) throws BacklogException
PullRequestMethods
updatePullRequest
in interface PullRequestMethods
params
- the pull request updating parametersBacklogException
public PullRequest getPullRequest(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number) throws BacklogException
PullRequestMethods
getPullRequest
in interface PullRequestMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierBacklogException
public ResponseList<PullRequestComment> getPullRequestComments(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number, QueryParams params) throws BacklogException
PullRequestMethods
getPullRequestComments
in interface PullRequestMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierparams
- the finding pull request comments parameters.BacklogException
public PullRequestComment addPullRequestComment(AddPullRequestCommentParams params) throws BacklogException
PullRequestMethods
addPullRequestComment
in interface PullRequestMethods
params
- the adding pull request comment parameters.BacklogException
public int getPullRequestCommentCount(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number) throws BacklogException
PullRequestMethods
getPullRequestCommentCount
in interface PullRequestMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierBacklogException
public PullRequestComment updatePullRequestComment(UpdatePullRequestCommentParams params) throws BacklogException
PullRequestMethods
updatePullRequestComment
in interface PullRequestMethods
params
- the pull request comment updating parametersBacklogException
public ResponseList<Attachment> getPullRequestAttachments(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number) throws BacklogException
PullRequestMethods
getPullRequestAttachments
in interface PullRequestMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierBacklogException
public AttachmentData downloadPullRequestAttachment(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number, java.lang.Object attachmentId) throws BacklogException
PullRequestMethods
downloadPullRequestAttachment
in interface PullRequestMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierattachmentId
- the pull request attachment identifierBacklogException
public Attachment deletePullRequestAttachment(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number, java.lang.Object attachmentId) throws BacklogException
PullRequestMethods
deletePullRequestAttachment
in interface PullRequestMethods
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierattachmentId
- the pull request attachment identifierBacklogException
public ResponseList<Group> getGroups() throws BacklogException
GroupMethods
getGroups
in interface GroupMethods
BacklogException
public ResponseList<Group> getGroups(OffsetParams params) throws BacklogException
GroupMethods
getGroups
in interface GroupMethods
params
- the offset parametersBacklogException
public Group createGroup(CreateGroupParams params) throws BacklogException
GroupMethods
createGroup
in interface GroupMethods
params
- the group creating parametersBacklogException
public Group getGroup(java.lang.Object groupId) throws BacklogException
GroupMethods
getGroup
in interface GroupMethods
groupId
- the group identifierBacklogException
public Group updateGroup(UpdateGroupParams params) throws BacklogException
GroupMethods
updateGroup
in interface GroupMethods
params
- the group updating parametersBacklogException
public Group deleteGroup(java.lang.Object groupId) throws BacklogException
GroupMethods
deleteGroup
in interface GroupMethods
groupId
- the group identifierBacklogException
public ResponseList<Webhook> getWebhooks(java.lang.Object projectIdOrKey) throws BacklogException
WebhookMethods
getWebhooks
in interface WebhookMethods
projectIdOrKey
- the project keyBacklogException
public Webhook createWebhook(CreateWebhookParams params) throws BacklogException
WebhookMethods
createWebhook
in interface WebhookMethods
params
- the creating webhook parameters.BacklogException
public Webhook getWebhook(java.lang.Object projectIdOrKey, java.lang.Object webhookId) throws BacklogException
WebhookMethods
getWebhook
in interface WebhookMethods
projectIdOrKey
- the project identifierwebhookId
- the webhook identifierBacklogException
public Webhook updateWebhook(UpdateWebhookParams params) throws BacklogException
WebhookMethods
updateWebhook
in interface WebhookMethods
params
- the updating webhook parametersBacklogException
public Webhook deleteWebhook(java.lang.Object projectIdOrKey, java.lang.Object webhookId) throws BacklogException
WebhookMethods
deleteWebhook
in interface WebhookMethods
projectIdOrKey
- the project keywebhookId
- the webhook identifierBacklogException
public java.lang.String getPullRequestUrl(Project project, Repository repository, PullRequest pullRequest)
public java.lang.String getPullRequestCommentUrl(Project project, Repository repository, PullRequest pullRequest, PullRequestComment pullRequestComment)
public java.lang.String getIssueUrl(Issue issue)
public java.lang.String getIssueCommentUrl(Issue issue, IssueComment issueComment)
public Watch getWatch(java.lang.Long watchingId) throws BacklogException
WatchingMethods
getWatch
in interface WatchingMethods
BacklogException
public int getUserWatchCount(java.lang.Object numericUserId, GetWatchesParams params) throws BacklogException
UserMethods
getUserWatchCount
in interface UserMethods
numericUserId
- the user identifierparams
- watch count parametersBacklogException
public ResponseList<Watch> getUserWatches(java.lang.Object numericUserId) throws BacklogException
UserMethods
getUserWatches
in interface UserMethods
numericUserId
- the user identifierBacklogException
public Watch addWatchToIssue(java.lang.Object issueIdOrKey, java.lang.String note) throws BacklogException
WatchingMethods
addWatchToIssue
in interface WatchingMethods
issueIdOrKey
- the issue identifierBacklogException
public Watch updateWatch(UpdateWatchParams params) throws BacklogException
WatchingMethods
updateWatch
in interface WatchingMethods
params
- the updating project parametersBacklogException
public Watch deleteWatch(java.lang.Object watchingId) throws BacklogException
WatchingMethods
deleteWatch
in interface WatchingMethods
watchingId
- the watching identifierBacklogException
public void markAsCheckedUserWatches(java.lang.Object numericUserId) throws BacklogException
WatchingMethods
markAsCheckedUserWatches
in interface WatchingMethods
numericUserId
- the user identifierBacklogException