Modifier and Type | Method and Description |
---|---|
ServiceOutcome<ApplicationRole> |
MockApplicationRoleAdminService.getRole(com.atlassian.application.api.ApplicationKey key) |
ServiceOutcome<ApplicationRole> |
DefaultApplicationRoleAdminService.getRole(com.atlassian.application.api.ApplicationKey key) |
ServiceOutcome<ApplicationRole> |
ApplicationRoleAdminService.getRole(com.atlassian.application.api.ApplicationKey key)
Return the
ApplicationRole backed by a (potentially exceeded) license. |
ServiceOutcome<Set<ApplicationRole>> |
MockApplicationRoleAdminService.getRoles() |
ServiceOutcome<Set<ApplicationRole>> |
DefaultApplicationRoleAdminService.getRoles() |
ServiceOutcome<Set<ApplicationRole>> |
ApplicationRoleAdminService.getRoles()
Returns an immutable
Set of all ApplicationRole s
that are backed by a (potentially exceeded) license. |
ServiceOutcome<ApplicationRole> |
MockApplicationRoleAdminService.setRole(ApplicationRole role) |
ServiceOutcome<ApplicationRole> |
DefaultApplicationRoleAdminService.setRole(ApplicationRole role) |
ServiceOutcome<ApplicationRole> |
ApplicationRoleAdminService.setRole(ApplicationRole role)
Save the passed
ApplicationRole information to the database. |
ServiceOutcome<Set<ApplicationRole>> |
MockApplicationRoleAdminService.setRoles(Collection<ApplicationRole> rolesList) |
ServiceOutcome<Set<ApplicationRole>> |
DefaultApplicationRoleAdminService.setRoles(Collection<ApplicationRole> roles) |
ServiceOutcome<Set<ApplicationRole>> |
ApplicationRoleAdminService.setRoles(Collection<ApplicationRole> roles)
Save the passed list of
ApplicationRole information to the database. |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Records> |
DefaultAuditingService.getRecords(Integer offset,
Integer maxResults,
AuditingFilter filter) |
ServiceOutcome<Records> |
AuditingService.getRecords(Integer offset,
Integer maxResults,
AuditingFilter filter)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceOutcomeImpl<T>
Generic service outcome that can optionally hold a value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ErrorMatcher.describeMismatchSafely(ServiceOutcome<?> item,
org.hamcrest.Description mismatchDescription) |
protected void |
ValueMatcher.describeMismatchSafely(ServiceOutcome<T> item,
org.hamcrest.Description mismatchDescription) |
static <T> ServiceOutcomeImpl<T> |
ServiceOutcomeImpl.error(ServiceOutcome<?> outcome)
Convenience method that returns a new ServiceOutcomeImpl instance with the errors from the passed outcome.
|
protected boolean |
ErrorMatcher.matchesSafely(ServiceOutcome<?> serviceOutcome) |
protected boolean |
ValueMatcher.matchesSafely(ServiceOutcome<T> item) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Status> |
DefaultStatusService.createStatus(ApplicationUser user,
String name,
String description,
String iconUrl,
StatusCategory statusCategory) |
ServiceOutcome<Status> |
StatusService.createStatus(ApplicationUser user,
String name,
String description,
String iconUrl,
StatusCategory statusCategory)
Validates and when validation is performed successfully creates new status basing on given parameters
|
ServiceOutcome<Status> |
DefaultStatusService.editStatus(ApplicationUser user,
Status status,
String name,
String description,
String iconUrl,
StatusCategory statusCategory) |
ServiceOutcome<Status> |
StatusService.editStatus(ApplicationUser user,
Status status,
String name,
String description,
String iconUrl,
StatusCategory statusCategory)
Validates and when validation is performed successfully alters given status basing on given parameters
|
ServiceOutcome<Collection<IssueType>> |
DefaultConstantsService.getAllIssueTypes(ApplicationUser user) |
ServiceOutcome<Collection<IssueType>> |
ConstantsService.getAllIssueTypes(ApplicationUser user)
Returns a ServiceOutcome containing all IssueTypes.
|
ServiceOutcome<Collection<StatusCategory>> |
DefaultConstantsService.getAllStatusCategories(ApplicationUser user) |
ServiceOutcome<Collection<StatusCategory>> |
ConstantsService.getAllStatusCategories(ApplicationUser user)
Returns a ServiceOutcome containing all StatusCategories.
|
ServiceOutcome<Collection<Status>> |
DefaultConstantsService.getAllStatuses(ApplicationUser user) |
ServiceOutcome<Collection<Status>> |
ConstantsService.getAllStatuses(ApplicationUser user)
Returns a ServiceOutcome containing all Statuses.
|
ServiceOutcome<List<JiraWorkflow>> |
DefaultStatusService.getAssociatedWorkflows(ApplicationUser user,
Status status) |
ServiceOutcome<List<JiraWorkflow>> |
StatusService.getAssociatedWorkflows(ApplicationUser user,
Status status)
Gets a list of workflows which contains given status
|
ServiceOutcome<StatusCategory> |
DefaultConstantsService.getDefaultStatusCategory(ApplicationUser user) |
ServiceOutcome<StatusCategory> |
ConstantsService.getDefaultStatusCategory(ApplicationUser user)
Returns a ServiceOutcome containing default StatusCategory.
|
ServiceOutcome<IssueType> |
DefaultConstantsService.getIssueTypeById(ApplicationUser user,
String issueTypeId) |
ServiceOutcome<IssueType> |
ConstantsService.getIssueTypeById(ApplicationUser user,
String issueTypeId)
Returns a ServiceOutcome containing the IssueType that has the given id.
|
ServiceOutcome<Status> |
DefaultConstantsService.getStatusById(ApplicationUser user,
String statusId) |
ServiceOutcome<Status> |
ConstantsService.getStatusById(ApplicationUser user,
String statusId)
Returns a ServiceOutcome containing the Status that has the given id.
|
ServiceOutcome<Status> |
DefaultConstantsService.getStatusByName(ApplicationUser user,
String statusName) |
ServiceOutcome<Status> |
ConstantsService.getStatusByName(ApplicationUser user,
String statusName)
Returns a ServiceOutcome containing the Status that has the given Name.
|
ServiceOutcome<Status> |
DefaultConstantsService.getStatusByTranslatedName(ApplicationUser user,
String statusName) |
ServiceOutcome<Status> |
ConstantsService.getStatusByTranslatedName(ApplicationUser user,
String statusName)
Returns a ServiceOutcome containing the Status that has the given Name.
|
ServiceOutcome<StatusCategory> |
DefaultConstantsService.getStatusCategoryById(ApplicationUser user,
String id) |
ServiceOutcome<StatusCategory> |
ConstantsService.getStatusCategoryById(ApplicationUser user,
String id)
Returns a ServiceOutcome containing StatusCategory that has the gived id.
|
ServiceOutcome<StatusCategory> |
DefaultConstantsService.getStatusCategoryByKey(ApplicationUser user,
String key) |
ServiceOutcome<StatusCategory> |
ConstantsService.getStatusCategoryByKey(ApplicationUser user,
String key)
Returns a ServiceOutcome containing StatusCategory that has the gived key.
|
ServiceOutcome<Collection<StatusCategory>> |
DefaultConstantsService.getUserVisibleStatusCategories(ApplicationUser user) |
ServiceOutcome<Collection<StatusCategory>> |
ConstantsService.getUserVisibleStatusCategories(ApplicationUser user)
Returns a ServiceOutcome containing StatusCategories visible to any user.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<Long>> |
CustomFieldService.addToScreenTabs(ApplicationUser user,
Long customFieldId,
List<Long> tabIds)
Adds a custom field with the given id to selected tabs.
|
ServiceOutcome<CustomField> |
DefaultCustomFieldService.create(CreateValidationResult createValidationResult) |
ServiceOutcome<CustomField> |
CustomFieldService.create(CreateValidationResult createValidationResult)
Creates a custom field using a
CreateValidationResult as parameter. |
ServiceOutcome<CustomField> |
DefaultCustomFieldService.getCustomFieldForEditConfig(ApplicationUser user,
String fieldId) |
ServiceOutcome<CustomField> |
CustomFieldService.getCustomFieldForEditConfig(ApplicationUser user,
String fieldId)
Return the custom field if the passed user has permission to edit its configuration.
|
ServiceOutcome<List<Long>> |
CustomFieldService.removeFromScreenTabs(ApplicationUser user,
Long customFieldId,
List<Long> tabIds)
Removes a custom field with the given id from selected tabs.
|
ServiceOutcome<CreateValidationResult> |
DefaultCustomFieldService.validateCreate(ApplicationUser user,
CustomFieldDefinition customFieldDefinition) |
ServiceOutcome<CreateValidationResult> |
CustomFieldService.validateCreate(ApplicationUser user,
CustomFieldDefinition customFieldDefinition)
Validates that the custom field with the provided data can be created.
|
Modifier and Type | Field and Description |
---|---|
ServiceOutcome<Void> |
ExportCompletedEvent.outcome
The outcome of the export.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Void> |
ExportService.export(ApplicationUser loggedInUser,
String filename,
ExportService.Style style,
TaskProgressSink taskProgressSink)
Export JIRA to the given filename with the specified backup style.
|
ServiceOutcome<Void> |
DefaultExportService.export(ApplicationUser loggedInUser,
String filename,
ExportService.Style style,
TaskProgressSink taskProgressSink) |
ServiceOutcome<Void> |
ExportService.export(ApplicationUser loggedInUser,
String filename,
TaskProgressSink taskProgressSink)
Export JIRA to the given filename.
|
ServiceOutcome<Void> |
DefaultExportService.export(ApplicationUser loggedInUser,
String filename,
TaskProgressSink taskProgressSink) |
ServiceOutcome<Void> |
ExportService.exportForDevelopment(ApplicationUser loggedInUser,
String xmlFilename,
TaskProgressSink taskProgressSink)
Export JIRA to the given filename.
|
ServiceOutcome<Void> |
DefaultExportService.exportForDevelopment(ApplicationUser loggedInUser,
String xmlFilename,
TaskProgressSink taskProgressSink) |
Constructor and Description |
---|
ExportCompletedEvent(ApplicationUser user,
String filename,
ServiceOutcome<Void> outcome)
Deprecated.
|
ExportCompletedEvent(ApplicationUser user,
String filename,
ServiceOutcome<Void> outcome,
Long xmlExportTime) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<SearchRequest>> |
ProjectSearchRequestServiceImpl.associateSearchRequestsWithProject(ApplicationUser user,
Project project,
Long... searchRequestIds) |
ServiceOutcome<List<SearchRequest>> |
ProjectSearchRequestService.associateSearchRequestsWithProject(ApplicationUser user,
Project project,
Long... searchRequestIds)
For a given project this method will associated the provided search requests such that they will be returned by
subsequent calls to
ProjectSearchRequestService.getSearchRequestsForProject(ApplicationUser, Project) . |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<FieldConfigScheme> |
FieldConfigSchemeServiceImpl.createFieldConfigScheme(ApplicationUser user,
FieldConfigSchemeParameters parameters) |
ServiceOutcome<FieldConfigScheme> |
FieldConfigSchemeService.createFieldConfigScheme(ApplicationUser user,
FieldConfigSchemeParameters parameters)
Creates new field configuration scheme.
|
ServiceOutcome<List<Project>> |
FieldConfigSchemeServiceImpl.getAvailableProjectsForCreate(ApplicationUser loggedInUser,
String fieldId) |
ServiceOutcome<List<Project>> |
FieldConfigSchemeService.getAvailableProjectsForCreate(ApplicationUser loggedInUser,
String fieldId)
Gets list of available projects that can be used for new field context for passed
fieldId . |
ServiceOutcome<List<Project>> |
FieldConfigSchemeServiceImpl.getAvailableProjectsForUpdate(ApplicationUser loggedInUser,
String fieldId,
long configSchemeId) |
ServiceOutcome<List<Project>> |
FieldConfigSchemeService.getAvailableProjectsForUpdate(ApplicationUser loggedInUser,
String fieldId,
long configSchemeId)
Gets list of available projects that can be used for updating existing field context for passed
fieldId and configSchemeId . |
ServiceOutcome<ColumnLayout> |
ColumnServiceImpl.getColumnLayout(ApplicationUser serviceUser,
ApplicationUser userWithColumns) |
ServiceOutcome<ColumnLayout> |
ColumnService.getColumnLayout(ApplicationUser serviceUser,
ApplicationUser userWithColumns)
Retreive the effective
ColumnLayout for userWithColumns. |
ServiceOutcome<ColumnLayout> |
ColumnServiceImpl.getColumnLayout(ApplicationUser serviceUser,
Long filterId) |
ServiceOutcome<ColumnLayout> |
ColumnService.getColumnLayout(ApplicationUser serviceUser,
Long filterId)
Get the column layout for the given filter.
|
ServiceOutcome<ColumnLayout> |
ColumnServiceImpl.getDefaultColumnLayout(ApplicationUser serviceUser) |
ServiceOutcome<ColumnLayout> |
ColumnService.getDefaultColumnLayout(ApplicationUser serviceUser)
Get the system's default columns.
|
ServiceOutcome<FieldConfigScheme> |
FieldConfigSchemeServiceImpl.getFieldConfigScheme(ApplicationUser user,
String fieldId,
long configSchemeId) |
ServiceOutcome<FieldConfigScheme> |
FieldConfigSchemeService.getFieldConfigScheme(ApplicationUser user,
String fieldId,
long configSchemeId) |
ServiceOutcome<List<FieldConfigScheme>> |
FieldConfigSchemeServiceImpl.getFieldConfigSchemesForField(ApplicationUser user,
String fieldId) |
ServiceOutcome<List<FieldConfigScheme>> |
FieldConfigSchemeService.getFieldConfigSchemesForField(ApplicationUser user,
String fieldId) |
ServiceOutcome<Boolean> |
FieldConfigSchemeServiceImpl.isGlobalAvailableForCreate(ApplicationUser loggedInUser,
String fieldId) |
ServiceOutcome<Boolean> |
FieldConfigSchemeService.isGlobalAvailableForCreate(ApplicationUser loggedInUser,
String fieldId)
Checks if new field context for passed
fieldId can be configured as "global" context. |
ServiceOutcome<Boolean> |
FieldConfigSchemeServiceImpl.isGlobalAvailableForUpdate(ApplicationUser loggedInUser,
String fieldId,
long configSchemeId) |
ServiceOutcome<Boolean> |
FieldConfigSchemeService.isGlobalAvailableForUpdate(ApplicationUser loggedInUser,
String fieldId,
long configSchemeId)
Checks if existing field context for passed
fieldId and configSchemeId can be configured as "global" context. |
ServiceOutcome<FieldConfigScheme> |
FieldConfigSchemeServiceImpl.updateFieldConfigScheme(ApplicationUser user,
FieldConfigSchemeParameters parameters) |
ServiceOutcome<FieldConfigScheme> |
FieldConfigSchemeService.updateFieldConfigScheme(ApplicationUser user,
FieldConfigSchemeParameters parameters)
Updates field configuration scheme,
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<VoteHistoryEntry>> |
DefaultVoteService.getVoterHistory(Issue issue,
ApplicationUser remoteUser) |
ServiceOutcome<List<VoteHistoryEntry>> |
VoteService.getVoterHistory(Issue issue,
ApplicationUser remoteUser)
Get the list of vote history for an issue.
|
ServiceOutcome<Collection<ApplicationUser>> |
DefaultVoteService.viewVoters(Issue issue,
ApplicationUser remoteUser) |
ServiceOutcome<Collection<ApplicationUser>> |
VoteService.viewVoters(Issue issue,
ApplicationUser remoteUser)
Get the list of all users who have voted on an issue.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<ApplicationUser>> |
DefaultWatcherService.addWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher) |
ServiceOutcome<List<ApplicationUser>> |
WatcherService.addWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher)
Adds a watcher to an issue's list of watchers, returning the updated list of watchers.
|
ServiceOutcome<Pair<Integer,List<ApplicationUser>>> |
DefaultWatcherService.getWatchers(Issue issue,
ApplicationUser remoteUser) |
ServiceOutcome<Pair<Integer,List<ApplicationUser>>> |
WatcherService.getWatchers(Issue issue,
ApplicationUser remoteUser)
Returns a the total number of watchers for a given issue in the first element of the returned Pair, and the list
of visible watchers in the second element of the Pair.
|
ServiceOutcome<List<ApplicationUser>> |
DefaultWatcherService.removeWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher) |
ServiceOutcome<List<ApplicationUser>> |
WatcherService.removeWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher)
Removes a watcher from an issue's list of watchers, returning the updated list of watchers.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Set<Worklog>> |
DefaultWorklogService.getWorklogsForIds(JiraServiceContext jiraServiceContext,
Set<Long> idsOfWorklogs) |
ServiceOutcome<Set<Worklog>> |
WorklogService.getWorklogsForIds(JiraServiceContext jiraServiceContext,
Set<Long> idsOfWorklogs)
Returns a set of worklogs for provided ids.
|
Modifier and Type | Class and Description |
---|---|
protected class |
DefaultProjectService.PermissionErrorResult
A GetProjectResult that indicates the calling user does not have permission to perform an action on a project.
|
protected class |
DefaultProjectService.ProjectNotFoundResult
A GetProjectResult that indicates a project was not found.
|
static class |
ProjectService.AbstractProjectResult |
static class |
ProjectService.DeleteProjectValidationResult |
static class |
ProjectService.GetProjectResult |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<Project>> |
DefaultProjectService.getAllProjects(ApplicationUser user) |
ServiceOutcome<List<Project>> |
ProjectService.getAllProjects(ApplicationUser user)
Used to retrieve a list of
Project objects. |
ServiceOutcome<List<Project>> |
DefaultProjectService.getAllProjectsForAction(ApplicationUser user,
ProjectAction action) |
ServiceOutcome<List<Project>> |
ProjectService.getAllProjectsForAction(ApplicationUser user,
ProjectAction action)
Used to retrieve a list of
Project objects. |
ServiceOutcome<List<Project>> |
DefaultProjectService.getAllProjectsForAction(ApplicationUser user,
ProjectAction action,
boolean includeArchived) |
ServiceOutcome<List<Project>> |
ProjectService.getAllProjectsForAction(ApplicationUser user,
ProjectAction action,
boolean includeArchived)
Deprecated.
Use
ProjectService.getAllProjectsForAction(ApplicationUser, ProjectAction) instead. Since v7.10. |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Version> |
DefaultVersionService.create(ApplicationUser user,
VersionService.VersionBuilderValidationResult validationResult) |
ServiceOutcome<Version> |
VersionService.create(ApplicationUser user,
VersionService.VersionBuilderValidationResult validationResult)
Creates a new
Version , based on the validation result from calling #validateCreate(User,
VersionBuilder) . |
ServiceOutcome<Page<Version>> |
DefaultVersionService.getVersionsByProject(ApplicationUser user,
Project project,
PageRequest pageRequest) |
ServiceOutcome<Page<Version>> |
VersionService.getVersionsByProject(ApplicationUser user,
Project project,
PageRequest pageRequest)
This method returns all versions for a given project.
|
ServiceOutcome<Page<Version>> |
DefaultVersionService.getVersionsByProject(ApplicationUser user,
Project project,
PageRequest pageRequest,
io.atlassian.fugue.Option<OrderByRequest<VersionService.VersionExtractableField>> orderBy) |
ServiceOutcome<Page<Version>> |
DefaultVersionService.getVersionsByProject(ApplicationUser user,
Project project,
PageRequest pageRequest,
OrderByRequest<VersionService.VersionExtractableField> orderBy) |
ServiceOutcome<Page<Version>> |
VersionService.getVersionsByProject(ApplicationUser user,
Project project,
PageRequest pageRequest,
OrderByRequest<VersionService.VersionExtractableField> orderBy)
This method returns all versions for a given project.
|
ServiceOutcome<Version> |
DefaultVersionService.setReleaseDate(ApplicationUser user,
Version version,
Date releaseDate) |
ServiceOutcome<Version> |
VersionService.setReleaseDate(ApplicationUser user,
Version version,
Date releaseDate)
Deprecated.
Use
#validateUpdate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder) .
Since v6.4 |
ServiceOutcome<Version> |
DefaultVersionService.setReleaseDate(ApplicationUser user,
Version version,
String releaseDate) |
ServiceOutcome<Version> |
VersionService.setReleaseDate(ApplicationUser user,
Version version,
String releaseDate)
Deprecated.
Use
#validateUpdate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder) .
Since v6.4 |
ServiceOutcome<Version> |
DefaultVersionService.setVersionDetails(ApplicationUser user,
Version version,
String name,
String description) |
ServiceOutcome<Version> |
VersionService.setVersionDetails(ApplicationUser user,
Version version,
String name,
String description)
Deprecated.
Use
#validateUpdate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder) .
Since v6.4 |
ServiceOutcome<Version> |
DefaultVersionService.update(ApplicationUser user,
VersionService.VersionBuilderValidationResult validationResult) |
ServiceOutcome<Version> |
VersionService.update(ApplicationUser user,
VersionService.VersionBuilderValidationResult validationResult)
Updates the existing
Version , based on the validation result from calling #validateUpdate(User,
VersionBuilder) . |
ServiceOutcome<Version> |
DefaultVersionService.validateReleaseDate(ApplicationUser user,
Version version,
String releaseDate) |
ServiceOutcome<Version> |
VersionService.validateReleaseDate(ApplicationUser user,
Version version,
String releaseDate)
Deprecated.
Use
#validateUpdate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder) .
Since v6.4 |
protected ServiceOutcome<Void> |
DefaultVersionService.validateStartReleaseDates(ApplicationUser user,
com.atlassian.jira.bc.project.version.DefaultVersionService.DateField field,
Date startDate,
Date releaseDate) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Board> |
BoardServiceImpl.createBoard(ApplicationUser user,
BoardCreationData boardCreationData) |
ServiceOutcome<Board> |
BoardService.createBoard(ApplicationUser user,
BoardCreationData boardCreationData)
Create a board according to the data provided.
|
ServiceOutcome<Board> |
BoardServiceImpl.createDefaultBoardForProject(ApplicationUser user,
long projectId) |
ServiceOutcome<Board> |
BoardService.createDefaultBoardForProject(ApplicationUser user,
long projectId)
Create a default board for the specified project.
|
ServiceOutcome<Boolean> |
BoardServiceImpl.deleteBoard(ApplicationUser user,
BoardId boardId) |
ServiceOutcome<Boolean> |
BoardService.deleteBoard(ApplicationUser user,
BoardId boardId)
Delete the board.
|
ServiceOutcome<Query> |
BoardQueryService.getBaseQueryForBoard(ApplicationUser user,
Board board)
Returns the query originally associated with the JQL of a board, with the
additional constraint of including only standard issue types.
|
ServiceOutcome<Query> |
BoardQueryServiceImpl.getBaseQueryForBoard(ApplicationUser user,
Board board) |
ServiceOutcome<Board> |
BoardServiceImpl.getBoard(ApplicationUser user,
BoardId boardId) |
ServiceOutcome<Board> |
BoardService.getBoard(ApplicationUser user,
BoardId boardId)
get the board for board id
Get the board for specified board id.
|
ServiceOutcome<List<Board>> |
BoardServiceImpl.getBoardsForProject(ApplicationUser user,
long projectId) |
ServiceOutcome<List<Board>> |
BoardService.getBoardsForProject(ApplicationUser user,
long projectId)
Get a list of boards related to the project.
|
ServiceOutcome<BoardData> |
DefaultBoardDataService.getDataForBoard(ApplicationUser user,
Board board) |
ServiceOutcome<BoardData> |
BoardDataService.getDataForBoard(ApplicationUser user,
Board board)
As the given user, get the data for a board.
|
ServiceOutcome<Boolean> |
BoardServiceImpl.hasBoardInProject(ApplicationUser user,
long projectId) |
ServiceOutcome<Boolean> |
BoardService.hasBoardInProject(ApplicationUser user,
long projectId)
Returns whether there is at least one visible board for the user in the project.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Void> |
DefaultIssueTypeSchemeService.addProjectAssociations(ApplicationUser user,
long schemeId,
List<String> projectIdsOrKeys) |
ServiceOutcome<Void> |
IssueTypeSchemeService.addProjectAssociations(ApplicationUser user,
long schemeId,
List<String> projectIdsOrKeys)
Adds additional project-scheme associations between the issue type scheme specified by the
schemeId
and the projects given by the projectIdsOrKeys collection. |
default ServiceOutcome<Void> |
IssueTypeSchemeService.addProjectAssociations(ApplicationUser user,
String schemeId,
List<String> projectIdsOrKeys)
Adds additional project-scheme associations between the issue type scheme specified by the
schemeId
and the projects given by the projectIdsOrKeys collection. |
default ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.createIssueTypeScheme(ApplicationUser user,
String name,
String description,
List<String> issueTypeIds)
Creates a new issue type scheme with the specified name, description, issue types, and an unspecified default issue
type.
|
ServiceOutcome<FieldConfigScheme> |
DefaultIssueTypeSchemeService.createIssueTypeScheme(ApplicationUser user,
String name,
String description,
List<String> issueTypeIds,
String defaultIssueTypeId) |
ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.createIssueTypeScheme(ApplicationUser user,
String name,
String description,
List<String> issueTypeIds,
String defaultIssueTypeId)
Creates a new issue type scheme with the specified name, description, issue types, and default issue type.
|
ServiceOutcome<Void> |
DefaultIssueTypeSchemeService.deleteIssueTypeScheme(ApplicationUser user,
long schemeId) |
ServiceOutcome<Void> |
IssueTypeSchemeService.deleteIssueTypeScheme(ApplicationUser user,
long schemeId)
Deletes the issue type scheme specified by the
schemeId . |
default ServiceOutcome<Void> |
IssueTypeSchemeService.deleteIssueTypeScheme(ApplicationUser user,
String schemeId)
Deletes the issue type scheme specified by the
schemeId . |
<T> ServiceOutcome<T> |
DefaultIssueTypeSchemeService.errorCase(String msg,
ErrorCollection.Reason reason) |
<T> ServiceOutcome<T> |
IssueTypeSchemeService.errorCase(String msg,
ErrorCollection.Reason reason)
Creates a failed service outcome with the specified error
msg and reason . |
ServiceOutcome<List<FieldConfigScheme>> |
DefaultIssueTypeSchemeService.getAllIssueTypeSchemes(ApplicationUser user) |
ServiceOutcome<List<FieldConfigScheme>> |
IssueTypeSchemeService.getAllIssueTypeSchemes(ApplicationUser user)
Retrieves and returns all issue type schemes in the Jira.
|
ServiceOutcome<List<Project>> |
DefaultIssueTypeSchemeService.getAssociatedProjects(ApplicationUser user,
long schemeId) |
ServiceOutcome<List<Project>> |
IssueTypeSchemeService.getAssociatedProjects(ApplicationUser user,
long schemeId)
Retrieves the project-scheme associations for the issue type scheme specified by the
schemeId . |
default ServiceOutcome<List<Project>> |
IssueTypeSchemeService.getAssociatedProjects(ApplicationUser user,
String schemeId)
Retrieves the project-scheme associations for the issue type scheme specified by the
schemeId . |
ServiceOutcome<List<Issue>> |
DefaultIssueTypeSchemeService.getIssuesRequiringMigration(ApplicationUser user,
Collection<String> chosenIssueTypeIds,
List<Long> projectIds) |
ServiceOutcome<List<Issue>> |
IssueTypeSchemeService.getIssuesRequiringMigration(ApplicationUser user,
Collection<String> chosenIssueTypeIds,
List<Long> projectIds)
Figures out which issues in the specified projects would require migration if only the
chosenIssueTypeIds
were made available to the projects. |
ServiceOutcome<List<Issue>> |
DefaultIssueTypeSchemeService.getIssuesRequiringMigrationDueToSchemeAssociation(ApplicationUser user,
FieldConfigScheme issueTypeScheme,
List<Long> projectIds) |
ServiceOutcome<List<Issue>> |
IssueTypeSchemeService.getIssuesRequiringMigrationDueToSchemeAssociation(ApplicationUser user,
FieldConfigScheme issueTypeScheme,
List<Long> projectIds)
Figures out which issues in the specified projects would require migration if the given
issueTypeScheme
were to be associated with them. |
ServiceOutcome<FieldConfigScheme> |
DefaultIssueTypeSchemeService.getIssueTypeScheme(ApplicationUser user,
long schemeId) |
ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.getIssueTypeScheme(ApplicationUser user,
long schemeId)
Retrieves the issue type scheme specified by the
schemeId . |
default ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.getIssueTypeScheme(ApplicationUser user,
String schemeId)
Retrieves the issue type scheme specified by the
schemeId . |
ServiceOutcome<Void> |
DefaultIssueTypeSchemeService.removeAllProjectAssociations(ApplicationUser user,
long schemeId) |
ServiceOutcome<Void> |
IssueTypeSchemeService.removeAllProjectAssociations(ApplicationUser user,
long schemeId)
Removes all project associations for the issue type scheme specified by the
schemeId . |
default ServiceOutcome<Void> |
IssueTypeSchemeService.removeAllProjectAssociations(ApplicationUser user,
String schemeId)
Removes all project associations for the issue type scheme specified by the
schemeId . |
ServiceOutcome<Void> |
DefaultIssueTypeSchemeService.removeProjectAssociation(ApplicationUser user,
long schemeId,
String projKeyOrId) |
ServiceOutcome<Void> |
IssueTypeSchemeService.removeProjectAssociation(ApplicationUser user,
long schemeId,
String projKeyOrId)
For the issue type scheme specified by the
schemeId , removes the project association given by
projKeyOrId . |
default ServiceOutcome<Void> |
IssueTypeSchemeService.removeProjectAssociation(ApplicationUser user,
String schemeId,
String projKeyOrId)
For the issue type scheme specified by the
schemeId , removes the project association given by
projKeyOrId . |
ServiceOutcome<Void> |
DefaultIssueTypeSchemeService.setProjectAssociations(ApplicationUser user,
long schemeId,
List<String> projectIdsOrKeys) |
ServiceOutcome<Void> |
IssueTypeSchemeService.setProjectAssociations(ApplicationUser user,
long schemeId,
List<String> projectIdsOrKeys)
|
default ServiceOutcome<Void> |
IssueTypeSchemeService.setProjectAssociations(ApplicationUser user,
String schemeId,
List<String> projectIdsOrKeys)
Replaces the project-scheme associations for the issue type scheme specified by the
schemeId
with the projects given by the projectIdsOrKeys collection. |
default ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.updateIssueTypeScheme(ApplicationUser user,
long schemeId,
String name,
String description,
List<String> issueTypeIds)
Updates the issue type scheme specified by
schemeId to have the given name, description, issue types,
and an unspecified default issue type. |
ServiceOutcome<FieldConfigScheme> |
DefaultIssueTypeSchemeService.updateIssueTypeScheme(ApplicationUser user,
long schemeId,
String name,
String description,
List<String> issueTypeIds,
String defaultIssueTypeId) |
ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.updateIssueTypeScheme(ApplicationUser user,
long schemeId,
String name,
String description,
List<String> issueTypeIds,
String defaultIssueTypeId)
Updates the issue type scheme specified by
schemeId to have the given name, description, issue types,
and default issue type. |
default ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.updateIssueTypeScheme(ApplicationUser user,
String schemeId,
String name,
String description,
List<String> issueTypeIds)
Updates the issue type scheme specified by
schemeId to have the given name, description, issue types,
and an unspecified default issue type. |
default ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.updateIssueTypeScheme(ApplicationUser user,
String schemeId,
String name,
String description,
List<String> issueTypeIds,
String defaultIssueTypeId)
Updates the issue type scheme specified by
schemeId to have the given name, description, issue types,
and default issue type. |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Void> |
DefaultManagedConfigurationItemService.removeManagedConfigurationItem(ManagedConfigurationItem item) |
ServiceOutcome<Void> |
ManagedConfigurationItemService.removeManagedConfigurationItem(ManagedConfigurationItem item)
Remove the registration of this
ManagedConfigurationItem . |
ServiceOutcome<ManagedConfigurationItem> |
DefaultManagedConfigurationItemService.updateManagedConfigurationItem(ManagedConfigurationItem item) |
ServiceOutcome<ManagedConfigurationItem> |
ManagedConfigurationItemService.updateManagedConfigurationItem(ManagedConfigurationItem item)
Update the registration of this
ManagedConfigurationItem . |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Map<String,IndexReplicationQueueSummary>> |
DefaultIndexSummarizer.summarizeIndexReplicationQueues() |
ServiceOutcome<Map<String,IndexReplicationQueueSummary>> |
AuthorizingIndexSummarizer.summarizeIndexReplicationQueues() |
ServiceOutcome<Map<String,IndexReplicationQueueSummary>> |
IndexSummarizer.summarizeIndexReplicationQueues()
Summarizes replication queues from all other nodes to the current node.
|
ServiceOutcome<IssueIndexSummary> |
DefaultIndexSummarizer.summarizeIssueIndex() |
ServiceOutcome<IssueIndexSummary> |
AuthorizingIndexSummarizer.summarizeIssueIndex() |
ServiceOutcome<IssueIndexSummary> |
IndexSummarizer.summarizeIssueIndex()
Summarizes the issue index by providing various data about the current node's index.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Options> |
DefaultOptionsService.setOptions(OptionsService.SetValidateResult validation) |
ServiceOutcome<Options> |
OptionsService.setOptions(OptionsService.SetValidateResult request)
Replace the options on the custom field.
|
ServiceOutcome<OptionsService.SetValidateResult> |
DefaultOptionsService.validateSetOptions(OptionsService.SetOptionParams param) |
ServiceOutcome<OptionsService.SetValidateResult> |
OptionsService.validateSetOptions(OptionsService.SetOptionParams param)
Check that the options of a
CustomField can be replaced with (i.e. |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.assignProject(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
Project project)
Associates a project with a priority scheme.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.assignProject(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
Project project) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.assignProject(ApplicationUser user,
Long schemeId,
io.atlassian.fugue.Either<Long,String> projectKeyOrId,
boolean failIfMigrationNeeded)
Associates a project with a priority scheme.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.assignProject(ApplicationUser user,
Long schemeId,
io.atlassian.fugue.Either<Long,String> projectKeyOrId,
boolean blockMigration) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.assignProjects(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
Collection<Project> projects)
Associates projects with a priority scheme.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.assignProjects(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
Collection<Project> projects) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.createScheme(ApplicationUser user,
PrioritySchemeService.PrioritySchemeData prioritySchemeData)
Creates the scheme wih given data.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.createScheme(ApplicationUser user,
PrioritySchemeService.PrioritySchemeData prioritySchemeData) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.editScheme(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
List<String> optionIds,
String defaultOption)
Updates the scheme wih given data.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.editScheme(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
List<String> optionIds,
String defaultOption) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.editScheme(ApplicationUser user,
PrioritySchemeService.PrioritySchemeData data,
boolean failIfMigrationNeeded)
Updates the scheme wih given data.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.editScheme(ApplicationUser user,
PrioritySchemeService.PrioritySchemeData data,
boolean failIfMigrationNeeded) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.getScheme(ApplicationUser user,
Long id)
Gets the scheme wih given id.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.getScheme(ApplicationUser user,
Long id) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.getSchemeForProject(ApplicationUser user,
io.atlassian.fugue.Either<Long,String> projectKeyOrId)
Gets the scheme for given project key.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.getSchemeForProject(ApplicationUser user,
io.atlassian.fugue.Either<Long,String> projectKeyOrId) |
ServiceOutcome<Collection<FieldConfigScheme>> |
PrioritySchemeService.getSchemes(ApplicationUser user)
Gets all priority schemes.
|
ServiceOutcome<Collection<FieldConfigScheme>> |
DefaultPrioritySchemeService.getSchemes(ApplicationUser user) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.unassignProject(ApplicationUser user,
Long schemeId,
io.atlassian.fugue.Either<Long,String> projectKeyOrId)
Deassociates a project from a priority scheme.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.unassignProject(ApplicationUser user,
Long schemeId,
io.atlassian.fugue.Either<Long,String> projectKeyOrId) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<String> |
DefaultEditorMarkupService.getEditorMarkupForField(EditorMarkupParameters parameters) |
ServiceOutcome<String> |
EditorMarkupService.getEditorMarkupForField(EditorMarkupParameters parameters)
Generates an editor field for given parameters
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Long> |
PrioritySchemeMigrator.migrate(PrioritySchemeMapping mapping,
ApplicationUser user) |
ServiceOutcome<Long> |
PrioritySchemeMigrator.migrate(PrioritySchemeMapping mapping,
ApplicationUser user,
TaskProgressSink progressSink) |
ServiceOutcome<Long> |
PrioritySchemeMigrator.migrateSingleProject(Project project,
FieldConfigScheme newPriorityScheme,
Map<Priority,Priority> mapping,
ApplicationUser user) |
ServiceOutcome<Long> |
PrioritySchemeMigrator.migrateSingleProject(Project project,
FieldConfigScheme newPriorityScheme,
Map<Priority,Priority> mapping,
ApplicationUser user,
TaskProgressSink progressSink) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<String> |
IssueSecuritySchemeServiceImpl.assignSchemeToProject(ApplicationUser user,
long projectId,
Long newSchemeId,
Map<Long,Long> oldToNewSecurityLevelMappings) |
ServiceOutcome<String> |
IssueSecuritySchemeService.assignSchemeToProject(ApplicationUser user,
long projectId,
Long newSchemeId,
Map<Long,Long> oldToNewSecurityLevelMappings)
Assigns a new Issue Security Scheme to a project.
|
ServiceOutcome<IssueSecurityLevel> |
IssueSecurityLevelServiceImpl.create(ApplicationUser callingUser,
IssueSecurityLevelService.CreateValidationResult validationResult) |
ServiceOutcome<IssueSecurityLevel> |
IssueSecurityLevelService.create(ApplicationUser callingUser,
IssueSecurityLevelService.CreateValidationResult validationResult)
This method will create new IssueSecurityLevel carried int CreateValidationResult if it's valid
it will throw an Exception otherwise
|
ServiceOutcome<IssueSecurityLevel> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevel(ApplicationUser user,
long securityLevelId) |
ServiceOutcome<IssueSecurityLevel> |
IssueSecuritySchemeService.getIssueSecurityLevel(ApplicationUser user,
long securityLevelId)
Returns an issue security level with a given id.
|
ServiceOutcome<? extends List<IssueSecurityLevel>> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevels(ApplicationUser user,
long schemeId) |
ServiceOutcome<? extends List<IssueSecurityLevel>> |
IssueSecuritySchemeService.getIssueSecurityLevels(ApplicationUser user,
long schemeId)
Returns the list of security levels for the given issue security level scheme.
|
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevelScheme(ApplicationUser user,
long schemeId) |
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeService.getIssueSecurityLevelScheme(ApplicationUser user,
long schemeId)
Returns a single issue security scheme with a given id.
|
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevelSchemeForProject(ApplicationUser user,
long projectId) |
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeService.getIssueSecurityLevelSchemeForProject(ApplicationUser user,
long projectId)
Returns a single issue security scheme for a given project.
|
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevelSchemeForProject(ApplicationUser user,
String projectKey) |
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeService.getIssueSecurityLevelSchemeForProject(ApplicationUser user,
String projectKey)
Returns a single issue security scheme for a given project.
|
ServiceOutcome<? extends Collection<IssueSecurityLevelScheme>> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevelSchemes(ApplicationUser user) |
ServiceOutcome<? extends Collection<IssueSecurityLevelScheme>> |
IssueSecuritySchemeService.getIssueSecurityLevelSchemes(ApplicationUser user)
Returns all defined security level schemes.
|
ServiceOutcome<? extends Collection<IssueSecurityLevelPermission>> |
IssueSecuritySchemeServiceImpl.getPermissionsByIssueSecurityLevel(ApplicationUser user,
long securityLevelId) |
ServiceOutcome<? extends Collection<IssueSecurityLevelPermission>> |
IssueSecuritySchemeService.getPermissionsByIssueSecurityLevel(ApplicationUser user,
long securityLevelId)
Returns permissions for the given issue security level.
|
ServiceOutcome<IssueSecurityLevel> |
IssueSecurityLevelServiceImpl.update(ApplicationUser callingUser,
IssueSecurityLevelService.UpdateValidationResult validationResult) |
ServiceOutcome<IssueSecurityLevel> |
IssueSecurityLevelService.update(ApplicationUser callingUser,
IssueSecurityLevelService.UpdateValidationResult validationResult)
This method will update IssueSecurityLevel carried in UpdateValidationResult if it is valid.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Void> |
MailTemplatesService.applyEmailTemplates()
If the temporary folder with email templates is present, it will replace the production templates with temporary
ones
|
ServiceOutcome<File> |
MailTemplatesService.getEmailTemplatesZip()
Returns a zip file of the templates folder used for single notifications email.
|
ServiceOutcome<EmailTypes> |
EmailTypesService.getEmailTypes() |
ServiceOutcome<Void> |
MailTemplatesService.revertEmailTemplatesToDefault()
Replaces all currently used templates (stored in Shared Jira Home) with default templates.
|
ServiceOutcome<Void> |
MailTemplatesService.uploadEmailTemplates(InputStream templatesStream)
Saves a stream to disk and unzips it's content to the temporary templates folder.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<NotificationScheme> |
DefaultNotificationSchemeService.getNotificationScheme(ApplicationUser user,
Long id) |
ServiceOutcome<NotificationScheme> |
NotificationSchemeService.getNotificationScheme(ApplicationUser user,
Long id)
Returns the notification scheme for given id.
|
ServiceOutcome<NotificationScheme> |
DefaultNotificationSchemeService.getNotificationSchemeForProject(ApplicationUser user,
Long projectId) |
ServiceOutcome<NotificationScheme> |
NotificationSchemeService.getNotificationSchemeForProject(ApplicationUser user,
Long projectId)
Returns a notification scheme for the given project identified by the project's id.
|
ServiceOutcome<NotificationScheme> |
DefaultNotificationSchemeService.getNotificationSchemeForProject(ApplicationUser user,
String projectKey) |
ServiceOutcome<NotificationScheme> |
NotificationSchemeService.getNotificationSchemeForProject(ApplicationUser user,
String projectKey)
Returns a notification scheme for the given project identified by the project's key.
|
static ServiceOutcome<NotificationBuilder> |
AdhocNotificationServiceImpl.makeBuilder(NotificationBuilder notificationBuilder,
NotificationJsonBean jsonBean,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<PermissionScheme> |
DefaultPermissionSchemeService.createPermissionScheme(ApplicationUser user,
PermissionSchemeInput permissionScheme) |
ServiceOutcome<PermissionScheme> |
PermissionSchemeService.createPermissionScheme(ApplicationUser user,
PermissionSchemeInput permissionScheme)
Creates a new permission scheme.
|
ServiceOutcome<PermissionScheme> |
DefaultPermissionSchemeService.getPermissionScheme(ApplicationUser user,
Long id) |
ServiceOutcome<PermissionScheme> |
PermissionSchemeService.getPermissionScheme(ApplicationUser user,
Long id)
Returns a permission scheme with the specified id.
|
ServiceOutcome<com.google.common.collect.ImmutableList<PermissionScheme>> |
DefaultPermissionSchemeService.getPermissionSchemes(ApplicationUser user) |
ServiceOutcome<? extends List<PermissionScheme>> |
PermissionSchemeService.getPermissionSchemes(ApplicationUser user)
Returns all permission schemes sorted alphabetically by name.
|
ServiceOutcome<PermissionScheme> |
DefaultPermissionSchemeService.getSchemeAssignedToProject(ApplicationUser user,
Long projectId) |
ServiceOutcome<PermissionScheme> |
PermissionSchemeService.getSchemeAssignedToProject(ApplicationUser user,
Long projectId)
Returns a permission scheme assigned to the specified project.
|
ServiceOutcome<PermissionScheme> |
DefaultPermissionSchemeService.updatePermissionScheme(ApplicationUser user,
Long id,
PermissionSchemeInput permissionScheme) |
ServiceOutcome<PermissionScheme> |
PermissionSchemeService.updatePermissionScheme(ApplicationUser user,
Long id,
PermissionSchemeInput permissionScheme)
Updates a permission scheme identified by the given id.
|
Modifier and Type | Class and Description |
---|---|
static class |
ArchivedProjectService.ArchivingResult
A simple object that holds the information about an project archive/restore operation.
|
static class |
ArchivedProjectService.ValidationResult
A simple object that holds the information about validating an archive/restore project operation.
|
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
Responses.forOutcome(ServiceOutcome<?> outcome) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<ProjectContext> |
DefaultProjectContextLocator.getContext(String projectKey,
long issueTypeId) |
ServiceOutcome<ProjectContext> |
ProjectContextLocator.getContext(String projectKey,
long issueTypeId)
Find a
ProjectContext for the passed project and issue type. |
ServiceOutcome<ProjectWorkflowContext> |
DefaultProjectWorkflowContextLocator.getContext(String projectKey,
String workflowName) |
ServiceOutcome<ProjectWorkflowContext> |
ProjectWorkflowContextLocator.getContext(String projectKey,
String workflowName)
Find a
ProjectWorkflowContext for the passed project and workflow name. |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<ProjectConfigWorkflowDispatcher.EditSchemeResult> |
DefaultProjectConfigWorkflowDispatcher.editScheme(String projectKey) |
ServiceOutcome<ProjectConfigWorkflowDispatcher.EditSchemeResult> |
ProjectConfigWorkflowDispatcher.editScheme(String projectKey)
Creates a draft workflow scheme for the passed project.
|
ServiceOutcome<Pair<String,Long>> |
DefaultProjectConfigWorkflowDispatcher.editWorkflow(long projectId) |
ServiceOutcome<Pair<String,Long>> |
ProjectConfigWorkflowDispatcher.editWorkflow(long projectId)
Called when the user tries to edit a workflow associated with the passed project.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<ReactionSummary> |
DefaultCommentReactionsService.addReaction(ApplicationUser loggedInUser,
long commentId,
String emojiId) |
ServiceOutcome<ReactionSummary> |
CommentReactionsService.addReaction(ApplicationUser loggedInUser,
long commentId,
String emojiId)
Checks whether the user already reacted to the comment with given emoji, and if not, adds a reaction.
|
ServiceOutcome<ReactionSummary> |
DefaultCommentReactionsService.deleteReaction(ApplicationUser loggedInUser,
Long commentId,
String emojiId) |
ServiceOutcome<ReactionSummary> |
CommentReactionsService.deleteReaction(ApplicationUser loggedInUser,
Long commentId,
String emojiId)
Deletes a reaction.
|
ServiceOutcome<ReactionSummary> |
DefaultCommentReactionsService.getDetailedReaction(ApplicationUser loggedInUser,
Long commentId,
String emoji) |
ServiceOutcome<ReactionSummary> |
CommentReactionsService.getDetailedReaction(ApplicationUser loggedInUser,
Long commentId,
String emojiId)
Gets the details of the reaction containing Unicode of the emoji and a list of users who reacted with it.
|
ServiceOutcome<Collection<ReactionSummary>> |
DefaultCommentReactionsService.getReactions(ApplicationUser loggedInUser,
Collection<Long> commentIds) |
ServiceOutcome<Collection<ReactionSummary>> |
CommentReactionsService.getReactions(ApplicationUser loggedInUser,
Collection<Long> commentIds)
Gets all reactions for a given comment.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<SearchRequest> |
FilterPermissionHelper.addSharePermissionToSavedFilter(ApplicationUser user,
SearchRequest filter,
SharePermission sharePermission) |
ServiceOutcome<List<IssueType>> |
IssueTypeConverter.all(Collection<IssueTypeJsonBean> beans) |
ServiceOutcome<List<Project>> |
ProjectConverter.all(Collection<ProjectBean> beans) |
ServiceOutcome<IssueType> |
IssueTypeConverter.apply(IssueTypeJsonBean input) |
ServiceOutcome<Project> |
ProjectConverter.apply(ProjectBean input) |
static <T> ServiceOutcome<List<T>> |
ServiceOutcomes.combine(Collection<ServiceOutcome<T>> outcomes) |
ServiceOutcome<SearchRequest> |
FilterPermissionHelper.removeSharePermissionFromSavedFilter(ApplicationUser user,
SearchRequest filter,
Long permissionId) |
Modifier and Type | Method and Description |
---|---|
<T> io.atlassian.fugue.Either<javax.ws.rs.core.Response,T> |
ResponseFactory.validateOutcome(ServiceOutcome<T> outcome)
Returns a proper error response if the outcome is invalid, or the outcome value otherwise.
|
<T> io.atlassian.fugue.Either<javax.ws.rs.core.Response,T> |
ResponseFactoryImpl.validateOutcome(ServiceOutcome<T> outcome) |
Modifier and Type | Method and Description |
---|---|
static <T> ServiceOutcome<List<T>> |
ServiceOutcomes.combine(Collection<ServiceOutcome<T>> outcomes) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<SharePermission> |
SharePermissionFactory.fromBean(SharePermissionInputBean inputBean,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<Pair<String,String>>> |
ReTranslateKeysService.dryRunReTranslateAllKeys(String tableOrEntityName,
String columnOrFieldName,
String keyName)
Does a "dry run" of replacing all occurrences of
key with its default jira i18n translation in the
table & column specified by tableOrEntityName & columnOrFieldName . |
ServiceOutcome<List<Pair<String,String>>> |
ReTranslateKeysServiceImpl.dryRunReTranslateAllKeys(String tableOrEntityName,
String columnOrFieldName,
String keyName) |
ServiceOutcome<List<Pair<String,String>>> |
ReTranslateKeysService.reTranslateAllKeys(String tableOrEntityName,
String columnOrFieldName,
String keyName)
Replaces all occurrences of
key with its default jira i18n translation in the
table & column specified by tableOrEntityName & columnOrFieldName . |
ServiceOutcome<List<Pair<String,String>>> |
ReTranslateKeysServiceImpl.reTranslateAllKeys(String tableOrEntityName,
String columnOrFieldName,
String keyName) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<Project>> |
InternalProjectPermissionHelper.getBrowsableProjectsForProjectAction(ApplicationUser user)
Gets the list of projects that should be visible for the user based on
ProjectAction . |
ServiceOutcome<List<Project>> |
DefaultInternalProjectPermissionHelper.getBrowsableProjectsForProjectAction(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Void> |
DefaultMailTemplatesService.applyEmailTemplates() |
ServiceOutcome<File> |
DefaultMailTemplatesService.getEmailTemplatesZip() |
ServiceOutcome<EmailTypes> |
DefaultEmailTypesService.getEmailTypes() |
ServiceOutcome<Void> |
DefaultMailTemplatesService.revertEmailTemplatesToDefault() |
ServiceOutcome<Void> |
DefaultMailTemplatesService.uploadEmailTemplates(InputStream templatesStream) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Void> |
DefaultTemplateValidatorService.validateTemplatesFolder(String folderToCheck) |
ServiceOutcome<Void> |
TemplateValidatorService.validateTemplatesFolder(String folderToCheck) |
Modifier and Type | Class and Description |
---|---|
class |
ServiceOutcomeWithWarnings<T>
Result with warnings from handlers.
|
Modifier and Type | Method and Description |
---|---|
protected ServiceOutcome<Collection<AffectedEntity>> |
UserPropertyChangeManager.getAffectedEntitiesFromHandler(AnonymizationHandlerModuleDescriptor<T,P> handlerModuleDescriptor,
P userPropertyChangeParameter) |
Modifier and Type | Method and Description |
---|---|
Map<AnonymizationHandlerModuleDescriptor,ServiceOutcome<Collection<AffectedEntity>>> |
UserPropertyChangeManager.getAffectedEntities(P parameter)
Gets affected entities from registered handlers (
AnonymizationHandler . |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<WorkflowPropertyEditor.Result> |
WorkflowPropertyEditor.addProperty(String name,
String value)
Add a property to the workflow.
|
ServiceOutcome<WorkflowPropertyEditor.Result> |
DefaultWorkflowPropertyEditor.addProperty(String name,
String property) |
ServiceOutcome<WorkflowPropertyEditor.Result> |
WorkflowPropertyEditor.deleteProperty(String name)
Delete a property from the workflow.
|
ServiceOutcome<WorkflowPropertyEditor.Result> |
DefaultWorkflowPropertyEditor.deleteProperty(String name) |
ServiceOutcome<WorkflowPropertyEditor.Result> |
WorkflowPropertyEditor.updateProperty(String name,
String value)
Update a property on the workflow.
|
ServiceOutcome<WorkflowPropertyEditor.Result> |
DefaultWorkflowPropertyEditor.updateProperty(String name,
String property) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Workflow> |
Workflow.addCommonTransition(String sourceStatusId,
int transitionId)
Add a common transition to the workflow.
|
ServiceOutcome<Workflow> |
WorkflowTransitionsImpl.addCommonTransition(String sourceStatusId,
int transitionId,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowTransitions.addCommonTransition(String sourceStatusId,
int transitionId,
String workflowName)
Add a common transition to a workflow.
|
ServiceOutcome<Workflow> |
Workflow.addGlobalTransition(Workflow.AddTransitionParameters params)
Add a global transition to this workflow.
|
ServiceOutcome<TransitionData> |
Workflow.addGlobalTransitionReturningId(Workflow.AddTransitionParameters params)
Add a global transition to this workflow.
|
ServiceOutcome<TransitionData> |
WorkflowGlobalTransitionsImpl.addGlobalTransitionToWorkflow(String workflowName,
String statusId,
String globalTransitionName,
String globalTransitionDescription,
Long screenId) |
ServiceOutcome<TransitionData> |
WorkflowGlobalTransitions.addGlobalTransitionToWorkflow(String workflowName,
String statusId,
String globalTransitionName,
String globalTransitionDescription,
Long screenId)
Add a global transition with the specified properties to the named workflow.
|
ServiceOutcome<TransitionData> |
Workflow.addLoopedTransition(String name,
String description,
FieldScreen screen)
Adds a looped transition to every status on the workflow.
|
ServiceOutcome<Workflow> |
Workflow.addStatus(Status status)
Add a status to the supplied workflow.
|
ServiceOutcome<Workflow> |
WorkflowStatusesImpl.addStatusAndGlobalTransitionToWorkflow(Status status,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowStatuses.addStatusAndGlobalTransitionToWorkflow(Status status,
String workflowName)
Add a status and a global transition to that status to a workflow.
|
ServiceOutcome<Workflow> |
WorkflowStatusesImpl.addStatusToWorkflow(Status status,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowStatuses.addStatusToWorkflow(Status status,
String workflowName)
Add a status to a workflow.
|
ServiceOutcome<TransitionData> |
Workflow.addTransition(Workflow.AddTransitionParameters params)
Add a new transition to the named workflow created with the supplied parameters.
|
ServiceOutcome<TransitionData> |
WorkflowTransitionsImpl.addTransitionToWorkflow(String name,
String description,
Long screenId,
int sourceStepId,
int targetStepId,
String workflowName) |
ServiceOutcome<TransitionData> |
WorkflowTransitions.addTransitionToWorkflow(String name,
String description,
Long screenId,
int sourceStepId,
int targetStepId,
String workflowName)
Add a transition with the specified properties to the named workflow.
|
ServiceOutcome<Workflow> |
WorkflowStatusesImpl.createAndAddStatusToWorkflow(boolean createGlobalTransition,
String description,
String name,
String statusCategoryId,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowStatuses.createAndAddStatusToWorkflow(boolean createGlobalTransition,
String description,
String name,
String statusCategoryId,
String workflowName)
Create a status and add it to a workflow.
|
ServiceOutcome<Workflow> |
WorkflowGlobalTransitionsImpl.createGlobalTransition(String statusId,
String workflowName,
String globalTransitionName,
String globalTransitionDescription,
Long screenId) |
ServiceOutcome<Workflow> |
WorkflowGlobalTransitions.createGlobalTransition(String statusId,
String workflowName,
String globalTransitionName,
String globalTransitionDescription,
Long screenId)
Create a global transition to a specified status on a workflow.
|
ServiceOutcome<TransitionData> |
WorkflowLoopedTransitionsImpl.createLoopedTransition(String loopedTransitionName,
String loopedTransitionDescription,
Long screenId,
String workflowName) |
ServiceOutcome<TransitionData> |
WorkflowLoopedTransitions.createLoopedTransition(String loopedTransitionName,
String loopedTransitionDescription,
Long screenId,
String workflowName)
Create a looped transition to all statuses on a workflow.
|
ServiceOutcome<Workflow> |
Workflow.deleteGlobalTransition(String globalTransitionId)
Delete the global transition from the provided workflow.
|
ServiceOutcome<Workflow> |
WorkflowGlobalTransitionsImpl.deleteGlobalTransition(String globalTransitionId,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowGlobalTransitions.deleteGlobalTransition(String globalTransitionId,
String workflowName)
Delete the global transition in the specified workflow.
|
ServiceOutcome<Workflow> |
Workflow.deleteLoopedTransition(int loopedTransitionId)
Delete the looped transition from the provided workflow.
|
ServiceOutcome<Workflow> |
WorkflowLoopedTransitionsImpl.deleteLoopedTransition(int loopedTransitionId,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowLoopedTransitions.deleteLoopedTransition(int loopedTransitionId,
String workflowName)
Delete the looped transition in the specified workflow.
|
ServiceOutcome<Workflow> |
Workflow.deleteTransition(int transitionId,
int sourceStepId)
Delete the transition represented by the supplied transition id, source step id.
|
ServiceOutcome<Workflow> |
WorkflowTransitionsImpl.deleteTransition(int transitionId,
int sourceStepId,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowTransitions.deleteTransition(int transitionId,
int sourceStepId,
String workflowName)
Delete the transition represented by transition id on the specified workflow.
|
ServiceOutcome<Void> |
WorkflowsImpl.discardDraft(String workflowName) |
ServiceOutcome<Void> |
Workflows.discardDraft(String workflowName)
Discard the draft for the specified workflow.
|
ServiceOutcome<Workflow> |
WorkflowsImpl.getMutableWorkflow(String workflowName) |
ServiceOutcome<Workflow> |
Workflows.getMutableWorkflow(String workflowName)
Get a workflow that can be changed.
|
ServiceOutcome<Status> |
WorkflowStatusesImpl.getStatus(String statusId,
String workflowName) |
ServiceOutcome<Status> |
WorkflowStatuses.getStatus(String statusId,
String workflowName) |
ServiceOutcome<Collection<Status>> |
WorkflowStatusesImpl.getStatuses(String workflowName) |
ServiceOutcome<Collection<Status>> |
WorkflowStatuses.getStatuses(String workflowName) |
ServiceOutcome<Workflow> |
WorkflowsImpl.publishDraft(String parentWorkflowName) |
ServiceOutcome<Workflow> |
Workflows.publishDraft(String parentWorkflowName)
Publish a draft workflow.
|
ServiceOutcome<Workflow> |
Workflow.removeStatus(@NotNull Status status)
Remove a status from the provided workflow.
|
ServiceOutcome<Workflow> |
Workflow.removeStatus(String statusId)
Remove a status from the provided workflow.
|
ServiceOutcome<Workflow> |
WorkflowStatusesImpl.removeStatus(String statusId,
String workflowName)
Remove the status represented by the supplied status from the named workflow.
|
ServiceOutcome<Workflow> |
WorkflowStatuses.removeStatus(String statusId,
String workflowName)
Remove the status represented by the supplied status from the named workflow.
|
ServiceOutcome<Workflow> |
WorkflowsImpl.saveWorkflow(Workflow workflow) |
ServiceOutcome<Workflow> |
Workflows.saveWorkflow(Workflow workflow)
Save changes that have been made to a workflow and return a
ServiceOutcome . |
ServiceOutcome<Boolean> |
Workflow.statusHasOutgoingTransition(Status status,
int transitionId) |
ServiceOutcome<Workflow> |
Workflow.updateGlobalTransition(int transitionId,
String name,
String description,
FieldScreen screen)
Update the global transition represented by the supplied transition id to have the supplied properties.
|
ServiceOutcome<Workflow> |
WorkflowGlobalTransitionsImpl.updateGlobalTransition(int transitionId,
String name,
String description,
Long screenId,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowGlobalTransitions.updateGlobalTransition(int transitionId,
String name,
String description,
Long screenId,
String workflowName)
Update the global transition identified by the specified transition id with the supplied properties.
|
ServiceOutcome<Workflow> |
Workflow.updateLoopedTransition(int transitionId,
String name,
String description,
FieldScreen screen)
Update the looped transition represented by the supplied transition id to have the supplied properties.
|
ServiceOutcome<Workflow> |
WorkflowLoopedTransitionsImpl.updateLoopedTransition(int transitionId,
String name,
String description,
Long screenId,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowLoopedTransitions.updateLoopedTransition(int transitionId,
String name,
String description,
Long screenId,
String workflowName)
Update the global transition identified by the specified transition id with the supplied properties.
|
ServiceOutcome<Workflow> |
Workflow.updateStatus(String statusId,
String name)
Update a status identified by the status id in the workflow.
|
ServiceOutcome<Workflow> |
WorkflowStatusesImpl.updateStatus(String description,
String name,
String statusCategoryId,
String statusId,
String workflowName)
Update a status, setting its description, name, and status category.
|
ServiceOutcome<Workflow> |
WorkflowStatuses.updateStatus(String description,
String name,
String statusCategoryId,
String statusId,
String workflowName)
Update a status, setting its description, name, and status category.
|
ServiceOutcome<Workflow> |
Workflow.updateTransition(int transitionId,
String name,
String description,
FieldScreen screen)
Update the transition specified by the transitionId with the supplied parameters.
|
ServiceOutcome<Workflow> |
WorkflowTransitionsImpl.updateTransition(int transitionId,
String name,
String description,
Long screenId,
int sourceStepId,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowTransitions.updateTransition(int transitionId,
String name,
String description,
Long screenId,
int sourceStepId,
String workflowName)
Update an existing transition with the supplied properties on the named workflow.
|
ServiceOutcome<Workflow> |
Workflow.updateTransitionSource(int transitionId,
Status newSourceStatus,
Status originalSourceStatus)
Update the source of the transition specified by the transitionId.
|
ServiceOutcome<Workflow> |
WorkflowTransitionsImpl.updateTransitionSource(int transitionId,
String newSourceStatusId,
String originalSourceStatusId,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowTransitions.updateTransitionSource(int transitionId,
String newSourceStatusId,
String originalSourceStatusId,
String workflowName)
Update the source of an existing transition on the named workflow.
|
ServiceOutcome<Workflow> |
Workflow.updateTransitionTarget(int transitionId,
Status targetStatus)
Update the target of the transition specified by the transitionId.
|
ServiceOutcome<Workflow> |
WorkflowTransitionsImpl.updateTransitionTarget(int transitionId,
String targetStatusId,
String workflowName) |
ServiceOutcome<Workflow> |
WorkflowTransitions.updateTransitionTarget(int transitionId,
String targetStatusId,
String workflowName)
Update the target of an existing transition on the named workflow.
|
ServiceOutcome<Workflow> |
WorkflowGlobalTransitionsImpl.verifyGlobalTransitionCanBeUpdated(int transitionId,
String name,
String workflowName,
Long screenId) |
ServiceOutcome<Workflow> |
WorkflowGlobalTransitions.verifyGlobalTransitionCanBeUpdated(int transitionId,
String name,
String workflowName,
Long screenId) |
ServiceOutcome<Workflow> |
WorkflowLoopedTransitionsImpl.verifyLoopedTransitionCanBeAdded(String name,
String workflowName,
Long screenId) |
ServiceOutcome<Workflow> |
WorkflowLoopedTransitions.verifyLoopedTransitionCanBeAdded(String name,
String workflowName,
Long screenId) |
ServiceOutcome<Workflow> |
WorkflowLoopedTransitionsImpl.verifyLoopedTransitionCanBeUpdated(int transitionId,
String name,
String workflowName,
Long screenId) |
ServiceOutcome<Workflow> |
WorkflowLoopedTransitions.verifyLoopedTransitionCanBeUpdated(int transitionId,
String name,
String workflowName,
Long screenId) |
ServiceOutcome<Pair<Workflow,Status>> |
WorkflowStatusesImpl.verifyStatusCanBeRemoved(@NotNull Status status,
String workflowName) |
ServiceOutcome<Pair<Workflow,Status>> |
WorkflowStatuses.verifyStatusCanBeRemoved(@NotNull Status status,
String workflowName) |
ServiceOutcome<Pair<Workflow,Status>> |
WorkflowStatusesImpl.verifyStatusCanBeRemoved(String statusId,
String workflowName) |
ServiceOutcome<Pair<Workflow,Status>> |
WorkflowStatuses.verifyStatusCanBeRemoved(String statusId,
String workflowName) |
Modifier and Type | Method and Description |
---|---|
<T> ServiceOutcome<T> |
OutcomeHelperImpl.errorOutcome(ErrorCollection errorCollection) |
<T> ServiceOutcome<T> |
OutcomeHelper.errorOutcome(ErrorCollection errorCollection) |
<T> ServiceOutcome<T> |
OutcomeHelperImpl.errorOutcome(ServiceOutcome<?> serviceOutcome) |
<T> ServiceOutcome<T> |
OutcomeHelper.errorOutcome(ServiceOutcome<?> serviceOutcome) |
<T> ServiceOutcome<T> |
OutcomeHelperImpl.errorOutcome(String messageKey,
Object... params) |
<T> ServiceOutcome<T> |
OutcomeHelper.errorOutcome(String messageKey,
Object... params) |
<T> ServiceOutcome<T> |
OutcomeHelperImpl.okOutcome(T object) |
<T> ServiceOutcome<T> |
OutcomeHelper.okOutcome(T object) |
Modifier and Type | Method and Description |
---|---|
<T> ServiceOutcome<T> |
OutcomeHelperImpl.errorOutcome(ServiceOutcome<?> serviceOutcome) |
<T> ServiceOutcome<T> |
OutcomeHelper.errorOutcome(ServiceOutcome<?> serviceOutcome) |
Copyright © 2002-2022 Atlassian. All Rights Reserved.