public interface ProjectMethods
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.
|
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.
|
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.
|
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.
|
Project |
createProject(CreateProjectParams params)
Create a project.
|
Project |
deleteProject(java.lang.Object projectIdOrKey)
Deletes the existing project.
|
SharedFileData |
downloadSharedFile(java.lang.Object projectIdOrKey,
java.lang.Object sharedFileId)
Returns the shared file data in the project.
|
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<IssueType> |
getIssueTypes(java.lang.Object projectIdOrKey)
Returns the issue types in the project.
|
ResponseList<Milestone> |
getMilestones(java.lang.Object projectIdOrKey)
Returns the Milestones in the project.
|
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.
|
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.
|
ResponseList<Status> |
getStatuses(java.lang.Object projectIdOrKey)
Returns the issue statuses in the project.
|
ResponseList<Version> |
getVersions(java.lang.Object projectIdOrKey)
Returns the versions in the project.
|
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.
|
Version |
removeVersion(java.lang.Object projectIdOrKey,
java.lang.Object versionId)
Removes the version from the project.
|
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.
|
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.
|
Project |
updateProject(UpdateProjectParams params)
Updates the existing project.
|
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.
|
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.
|
ResponseList<Project> getProjects() throws BacklogException
BacklogException
Project createProject(CreateProjectParams params) throws BacklogException
params
- the creating project parameters.BacklogException
Project getProject(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
Project updateProject(UpdateProjectParams params) throws BacklogException
params
- the updating project parametersBacklogException
Project deleteProject(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
Icon getProjectIcon(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
ResponseList<Activity> getProjectActivities(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
ResponseList<Activity> getProjectActivities(java.lang.Object projectIdOrKey, ActivityQueryParams query) throws BacklogException
projectIdOrKey
- the project identifierquery
- the query parametersBacklogException
User addProjectUser(java.lang.Object projectIdOrKey, java.lang.Object userId) throws BacklogException
projectIdOrKey
- the project identifieruserId
- the user identifierBacklogException
ResponseList<User> getProjectUsers(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
User removeProjectUser(java.lang.Object projectIdOrKey, java.lang.Object userId) throws BacklogException
projectIdOrKey
- the project identifieruserId
- the user identifierBacklogException
User addProjectAdministrator(java.lang.Object projectIdOrKey, java.lang.Object userId) throws BacklogException
projectIdOrKey
- the project identifieruserId
- the user identifierBacklogException
ResponseList<User> getProjectAdministrators(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
User removeProjectAdministrator(java.lang.Object projectIdOrKey, java.lang.Object userId) throws BacklogException
projectIdOrKey
- the project identifieruserId
- the user identifierBacklogException
ResponseList<IssueType> getIssueTypes(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
IssueType addIssueType(AddIssueTypeParams params) throws BacklogException
params
- the creating issue type parametersBacklogException
IssueType updateIssueType(UpdateIssueTypeParams params) throws BacklogException
params
- the updating issue type parametersBacklogException
IssueType removeIssueType(java.lang.Object projectIdOrKey, java.lang.Object issueTypeId, java.lang.Object substituteIssueTypeId) throws BacklogException
projectIdOrKey
- the project identifierissueTypeId
- the issue type identifiersubstituteIssueTypeId
- the substitute issue type identifierBacklogException
ResponseList<Status> getStatuses(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
ResponseList<Category> getCategories(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
Category addCategory(AddCategoryParams params) throws BacklogException
params
- the adding category parameterBacklogException
Category updateCategory(UpdateCategoryParams params) throws BacklogException
params
- the updating category parameters.BacklogException
Category removeCategory(java.lang.Object projectIdOrKey, java.lang.Object categoryId) throws BacklogException
projectIdOrKey
- the project identifiercategoryId
- the category identifierBacklogException
ResponseList<Version> getVersions(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
Version addVersion(AddVersionParams params) throws BacklogException
params
- the adding version parameters.BacklogException
Version updateVersion(UpdateVersionParams params) throws BacklogException
params
- the updating version parameters.BacklogException
Version removeVersion(java.lang.Object projectIdOrKey, java.lang.Object versionId) throws BacklogException
projectIdOrKey
- the project identifierversionId
- the version identifierBacklogException
ResponseList<Milestone> getMilestones(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
Milestone addMilestone(AddMilestoneParams params) throws BacklogException
params
- the adding Milestone parameters.BacklogException
Milestone updateMilestone(UpdateMilestoneParams params) throws BacklogException
params
- the updating Milestone parameters.BacklogException
Milestone removeMilestone(java.lang.Object projectIdOrKey, java.lang.Object MilestoneId) throws BacklogException
projectIdOrKey
- the project identifierMilestoneId
- the Milestone identifierBacklogException
ResponseList<CustomFieldSetting> getCustomFields(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
TextCustomFieldSetting addTextCustomField(AddTextCustomFieldParams params) throws BacklogException
params
- the adding text type custom filed parameters.BacklogException
TextAreaCustomFieldSetting addTextAreaCustomField(AddTextAreaCustomFieldParams params) throws BacklogException
params
- the adding text area type custom filed parameters.BacklogException
NumericCustomFieldSetting addNumericCustomField(AddNumericCustomFieldParams params) throws BacklogException
params
- the adding numeric type custom filed parameters.BacklogException
DateCustomFieldSetting addDateCustomField(AddDateCustomFieldParams params) throws BacklogException
params
- the adding date type custom filed parameters.BacklogException
SingleListCustomFieldSetting addSingleListCustomField(AddSingleListCustomFieldParams params) throws BacklogException
params
- the adding single list type custom filed parameters.BacklogException
MultipleListCustomFieldSetting addMultipleListCustomField(AddMultipleListCustomFieldParams params) throws BacklogException
params
- the adding multiple list type custom filed parameters.BacklogException
RadioCustomFieldSetting addRadioCustomField(AddRadioCustomFieldParams params) throws BacklogException
params
- the adding radio type custom filed parameters.BacklogException
CheckBoxCustomFieldSetting addCheckBoxCustomField(AddCheckBoxCustomFieldParams params) throws BacklogException
params
- the adding checkbox type custom filed parameters.BacklogException
TextCustomFieldSetting updateTextCustomField(UpdateTextCustomFieldParams params) throws BacklogException
params
- the updating text type custom filed parameters.BacklogException
TextAreaCustomFieldSetting updateTextAreaCustomField(UpdateTextAreaCustomFieldParams params) throws BacklogException
params
- the updating text area type custom filed parameters.BacklogException
NumericCustomFieldSetting updateNumericCustomField(UpdateNumericCustomFieldParams params) throws BacklogException
params
- the updating numeric type custom filed parameters.BacklogException
DateCustomFieldSetting updateDateCustomField(UpdateDateCustomFieldParams params) throws BacklogException
params
- the updating date type custom filed parameters.BacklogException
SingleListCustomFieldSetting updateSingleListCustomField(UpdateSingleListCustomFieldParams params) throws BacklogException
params
- the updating single list type custom filed parameters.BacklogException
MultipleListCustomFieldSetting updateMultipleListCustomField(UpdateMultipleListCustomFieldParams params) throws BacklogException
params
- the multiple list text type custom filed parameters.BacklogException
RadioCustomFieldSetting updateRadioCustomField(UpdateRadioCustomFieldParams params) throws BacklogException
params
- the updating radio type custom filed parameters.BacklogException
CheckBoxCustomFieldSetting updateCheckBoxCustomField(UpdateCheckBoxCustomFieldParams params) throws BacklogException
params
- the updating checkbox type custom filed parameters.BacklogException
CustomFieldSetting removeCustomField(java.lang.Object projectIdOrKey, java.lang.Object customFieldId) throws BacklogException
projectIdOrKey
- the project identifiercustomFieldId
- the custom field identifierBacklogException
CustomFieldSetting addListCustomFieldItem(java.lang.Object projectIdOrKey, java.lang.Object customFieldId, java.lang.String name) throws BacklogException
projectIdOrKey
- the project identifiercustomFieldId
- the custom field identifiername
- name of the adding itemBacklogException
CustomFieldSetting updateListCustomFieldItem(java.lang.Object projectIdOrKey, java.lang.Object customFieldId, java.lang.Object itemId, java.lang.String name) throws BacklogException
projectIdOrKey
- the project identifiercustomFieldId
- the custom field identifieritemId
- the item identifiername
- name of the updating itemBacklogException
CustomFieldSetting removeListCustomFieldItem(java.lang.Object projectIdOrKey, java.lang.Object customFieldId, java.lang.Object itemId) throws BacklogException
projectIdOrKey
- the project identifiercustomFieldId
- the custom field identifieritemId
- the item identifierBacklogException
ResponseList<SharedFile> getSharedFiles(java.lang.Object projectIdOrKey, java.lang.String path) throws BacklogException
projectIdOrKey
- the project identifierpath
- path of the shared file directoryBacklogException
ResponseList<SharedFile> getSharedFiles(java.lang.Object projectIdOrKey, java.lang.String path, QueryParams queryParams) throws BacklogException
projectIdOrKey
- the project identifierpath
- path of the shared file directoryqueryParams
- the query parametersBacklogException
SharedFileData downloadSharedFile(java.lang.Object projectIdOrKey, java.lang.Object sharedFileId) throws BacklogException
projectIdOrKey
- the project identifiersharedFileId
- the shared file identifierBacklogException
DiskUsageDetail getProjectDiskUsage(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException