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) |
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(com.atlassian.crowd.embedded.api.User user) |
ServiceOutcome<Collection<IssueType>> |
ConstantsService.getAllIssueTypes(com.atlassian.crowd.embedded.api.User user)
Returns a ServiceOutcome containing all IssueTypes.
|
ServiceOutcome<Collection<StatusCategory>> |
DefaultConstantsService.getAllStatusCategories(com.atlassian.crowd.embedded.api.User user) |
ServiceOutcome<Collection<StatusCategory>> |
ConstantsService.getAllStatusCategories(com.atlassian.crowd.embedded.api.User user)
Returns a ServiceOutcome containing all StatusCategories.
|
ServiceOutcome<Collection<Status>> |
DefaultConstantsService.getAllStatuses(com.atlassian.crowd.embedded.api.User user) |
ServiceOutcome<Collection<Status>> |
ConstantsService.getAllStatuses(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User user) |
ServiceOutcome<StatusCategory> |
ConstantsService.getDefaultStatusCategory(com.atlassian.crowd.embedded.api.User user)
Returns a ServiceOutcome containing default StatusCategory.
|
ServiceOutcome<IssueType> |
DefaultConstantsService.getIssueTypeById(com.atlassian.crowd.embedded.api.User user,
String issueTypeId) |
ServiceOutcome<IssueType> |
ConstantsService.getIssueTypeById(com.atlassian.crowd.embedded.api.User user,
String issueTypeId)
Returns a ServiceOutcome containing the IssueType that has the given id.
|
ServiceOutcome<Status> |
DefaultConstantsService.getStatusById(com.atlassian.crowd.embedded.api.User user,
String statusId) |
ServiceOutcome<Status> |
ConstantsService.getStatusById(com.atlassian.crowd.embedded.api.User user,
String statusId)
Returns a ServiceOutcome containing the Status that has the given id.
|
ServiceOutcome<Status> |
DefaultConstantsService.getStatusByName(com.atlassian.crowd.embedded.api.User user,
String statusName) |
ServiceOutcome<Status> |
ConstantsService.getStatusByName(com.atlassian.crowd.embedded.api.User user,
String statusName)
Returns a ServiceOutcome containing the Status that has the given Name.
|
ServiceOutcome<Status> |
DefaultConstantsService.getStatusByTranslatedName(com.atlassian.crowd.embedded.api.User user,
String statusName) |
ServiceOutcome<Status> |
ConstantsService.getStatusByTranslatedName(com.atlassian.crowd.embedded.api.User user,
String statusName)
Returns a ServiceOutcome containing the Status that has the given Name.
|
ServiceOutcome<StatusCategory> |
DefaultConstantsService.getStatusCategoryById(com.atlassian.crowd.embedded.api.User user,
String id) |
ServiceOutcome<StatusCategory> |
ConstantsService.getStatusCategoryById(com.atlassian.crowd.embedded.api.User user,
String id)
Returns a ServiceOutcome containing StatusCategory that has the gived id.
|
ServiceOutcome<StatusCategory> |
DefaultConstantsService.getStatusCategoryByKey(com.atlassian.crowd.embedded.api.User user,
String key) |
ServiceOutcome<StatusCategory> |
ConstantsService.getStatusCategoryByKey(com.atlassian.crowd.embedded.api.User user,
String key)
Returns a ServiceOutcome containing StatusCategory that has the gived key.
|
ServiceOutcome<Collection<StatusCategory>> |
DefaultConstantsService.getUserVisibleStatusCategories(com.atlassian.crowd.embedded.api.User user) |
ServiceOutcome<Collection<StatusCategory>> |
ConstantsService.getUserVisibleStatusCategories(com.atlassian.crowd.embedded.api.User user)
Returns a ServiceOutcome containing StatusCategories visible to any user.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<Long>> |
CustomFieldService.addToScreenTabs(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User user,
Long customFieldId,
List<Long> tabIds)
Removes a custom field with the given id from selected tabs.
|
ServiceOutcome<CreateValidationResult> |
DefaultCustomFieldService.validateCreate(com.atlassian.crowd.embedded.api.User user,
CustomFieldDefinition customFieldDefinition) |
ServiceOutcome<CreateValidationResult> |
CustomFieldService.validateCreate(com.atlassian.crowd.embedded.api.User 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,
Long xmlExportTime) |
ExportCompletedEvent(com.atlassian.crowd.embedded.api.User user,
String filename,
ServiceOutcome<Void> outcome)
Deprecated.
|
ExportCompletedEvent(com.atlassian.crowd.embedded.api.User user,
String filename,
ServiceOutcome<Void> outcome,
Long xmlExportTime)
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<FieldScreen> |
DefaultFieldScreenService.copy(FieldScreen screenToCopy,
String copyName,
String copyDescription,
ApplicationUser loggedInUser) |
ServiceOutcome<FieldScreen> |
FieldScreenService.copy(FieldScreen screen,
String copyName,
String copyDescription,
ApplicationUser loggedInUser)
Creates a copy of the passed field screen assigning the passed name and description.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<IssueLinkType> |
DefaultIssueLinkTypeService.createIssueLinkType(com.atlassian.crowd.embedded.api.User user,
String name,
String outward,
String inward) |
ServiceOutcome<IssueLinkType> |
IssueLinkTypeService.createIssueLinkType(com.atlassian.crowd.embedded.api.User user,
String name,
String outward,
String inward)
Create a new issue link type.
|
ServiceOutcome<IssueLinkType> |
DefaultIssueLinkTypeService.deleteIssueLinkType(com.atlassian.crowd.embedded.api.User user,
IssueLinkType linkType) |
ServiceOutcome<IssueLinkType> |
IssueLinkTypeService.deleteIssueLinkType(com.atlassian.crowd.embedded.api.User user,
IssueLinkType linkType)
Delete a given IssueLinkType, checking for permissions.
|
ServiceOutcome<Collection<IssueLinkType>> |
DefaultIssueLinkTypeService.getIssueLinkTypes(com.atlassian.crowd.embedded.api.User user) |
ServiceOutcome<Collection<IssueLinkType>> |
IssueLinkTypeService.getIssueLinkTypes(com.atlassian.crowd.embedded.api.User user)
Get a list of all issue link types in the system.
|
ServiceOutcome<IssueLinkType> |
DefaultIssueLinkTypeService.updateIssueLinkType(com.atlassian.crowd.embedded.api.User user,
IssueLinkType linkType,
String name,
String outward,
String inward) |
ServiceOutcome<IssueLinkType> |
IssueLinkTypeService.updateIssueLinkType(com.atlassian.crowd.embedded.api.User user,
IssueLinkType linkType,
String name,
String outward,
String inward)
Update an existing issue link type
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<VoteHistoryEntry>> |
DefaultVoteService.getVoterHistory(Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser) |
ServiceOutcome<List<VoteHistoryEntry>> |
VoteService.getVoterHistory(Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser)
Get the list of vote history for an issue.
|
ServiceOutcome<Collection<com.atlassian.crowd.embedded.api.User>> |
DefaultVoteService.viewVoters(Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser) |
ServiceOutcome<Collection<com.atlassian.crowd.embedded.api.User>> |
VoteService.viewVoters(Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser)
Get the list of all users who have voted on an issue.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<com.atlassian.crowd.embedded.api.User>> |
DefaultWatcherService.addWatcher(Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
com.atlassian.crowd.embedded.api.User watcher) |
ServiceOutcome<List<com.atlassian.crowd.embedded.api.User>> |
WatcherService.addWatcher(Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
com.atlassian.crowd.embedded.api.User watcher)
Adds a watcher to an issue's list of watchers, returning the updated list of watchers.
|
ServiceOutcome<Pair<Integer,List<com.atlassian.crowd.embedded.api.User>>> |
DefaultWatcherService.getWatchers(Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser) |
ServiceOutcome<Pair<Integer,List<com.atlassian.crowd.embedded.api.User>>> |
WatcherService.getWatchers(Issue issue,
com.atlassian.crowd.embedded.api.User 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<com.atlassian.crowd.embedded.api.User>> |
DefaultWatcherService.removeWatcher(Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
com.atlassian.crowd.embedded.api.User watcher) |
ServiceOutcome<List<com.atlassian.crowd.embedded.api.User>> |
WatcherService.removeWatcher(Issue issue,
com.atlassian.crowd.embedded.api.User remoteUser,
com.atlassian.crowd.embedded.api.User watcher)
Removes a watcher from an issue's list of watchers, returning the updated list of watchers.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<LicenseRole> |
MockLicenseRoleService.getRole(LicenseRoleId licenseRoleId) |
ServiceOutcome<LicenseRole> |
DefaultLicenseRoleService.getRole(LicenseRoleId id) |
ServiceOutcome<LicenseRole> |
LicenseRoleAdminService.getRole(LicenseRoleId licenseRoleId)
Return the
LicenseRole identified by the passed
LicenseRoleId . |
ServiceOutcome<Set<LicenseRole>> |
MockLicenseRoleService.getRoles() |
ServiceOutcome<Set<LicenseRole>> |
DefaultLicenseRoleService.getRoles() |
ServiceOutcome<Set<LicenseRole>> |
LicenseRoleAdminService.getRoles()
Return the
Set of all the roles defined
in the system or an error. |
ServiceOutcome<LicenseRole> |
MockLicenseRoleService.setGroups(LicenseRoleId licenseRoleId,
Iterable<String> groups) |
ServiceOutcome<LicenseRole> |
DefaultLicenseRoleService.setGroups(LicenseRoleId licenseRoleId,
Iterable<String> groups) |
ServiceOutcome<LicenseRole> |
LicenseRoleAdminService.setGroups(LicenseRoleId licenseRoleId,
Iterable<String> groups)
Deprecated.
|
ServiceOutcome<LicenseRole> |
MockLicenseRoleService.setRole(LicenseRole role) |
ServiceOutcome<LicenseRole> |
DefaultLicenseRoleService.setRole(LicenseRole role) |
ServiceOutcome<LicenseRole> |
LicenseRoleAdminService.setRole(LicenseRole role)
Save the passed
LicenseRole information to the database. |
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.getAllProjects(com.atlassian.crowd.embedded.api.User user) |
ServiceOutcome<List<Project>> |
ProjectService.getAllProjects(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User user,
ProjectAction action) |
ServiceOutcome<List<Project>> |
ProjectService.getAllProjectsForAction(com.atlassian.crowd.embedded.api.User user,
ProjectAction action)
Used to retrieve a list of
Project objects. |
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 VersionService.validateCreate(User,
VersionBuilder) . |
ServiceOutcome<Version> |
DefaultVersionService.create(com.atlassian.crowd.embedded.api.User user,
VersionService.VersionBuilderValidationResult validationResult) |
ServiceOutcome<Version> |
VersionService.create(com.atlassian.crowd.embedded.api.User user,
VersionService.VersionBuilderValidationResult validationResult)
Deprecated.
Use {@link #create(ApplicationUser user, VersionBuilderValidationResult validationResult) instead.
Since v6.4
|
ServiceOutcome<Version> |
DefaultVersionService.setReleaseDate(com.atlassian.crowd.embedded.api.User user,
Version version,
Date releaseDate) |
ServiceOutcome<Version> |
VersionService.setReleaseDate(com.atlassian.crowd.embedded.api.User user,
Version version,
Date releaseDate)
|
ServiceOutcome<Version> |
DefaultVersionService.setReleaseDate(com.atlassian.crowd.embedded.api.User user,
Version version,
String releaseDate) |
ServiceOutcome<Version> |
VersionService.setReleaseDate(com.atlassian.crowd.embedded.api.User user,
Version version,
String releaseDate)
|
ServiceOutcome<Version> |
DefaultVersionService.setVersionDetails(com.atlassian.crowd.embedded.api.User user,
Version version,
String name,
String description) |
ServiceOutcome<Version> |
VersionService.setVersionDetails(com.atlassian.crowd.embedded.api.User user,
Version version,
String name,
String description)
|
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 VersionService.validateUpdate(User,
VersionBuilder) . |
ServiceOutcome<Version> |
DefaultVersionService.update(com.atlassian.crowd.embedded.api.User user,
VersionService.VersionBuilderValidationResult validationResult) |
ServiceOutcome<Version> |
VersionService.update(com.atlassian.crowd.embedded.api.User user,
VersionService.VersionBuilderValidationResult validationResult)
Deprecated.
Use {@link #update(ApplicationUser user, VersionBuilderValidationResult validationResult) instead.
Since v6.4
|
ServiceOutcome<Version> |
DefaultVersionService.validateReleaseDate(com.atlassian.crowd.embedded.api.User user,
Version version,
String releaseDate) |
ServiceOutcome<Version> |
VersionService.validateReleaseDate(com.atlassian.crowd.embedded.api.User user,
Version version,
String releaseDate)
|
protected ServiceOutcome<Void> |
DefaultVersionService.validateStartReleaseDates(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.bc.project.version.DefaultVersionService.DateField field,
Date startDate,
Date releaseDate) |
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<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 |
---|---|
static ServiceOutcome<NotificationBuilder> |
AdhocNotificationServiceImpl.makeBuilder(NotificationBuilder notificationBuilder,
NotificationJsonBean jsonBean,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<WorkflowPropertyEditor.Result> |
DefaultWorkflowPropertyEditor.addProperty(String name,
String property) |
ServiceOutcome<WorkflowPropertyEditor.Result> |
WorkflowPropertyEditor.addProperty(String name,
String value)
Add a property to the workflow.
|
ServiceOutcome<WorkflowPropertyEditor.Result> |
DefaultWorkflowPropertyEditor.deleteProperty(String name) |
ServiceOutcome<WorkflowPropertyEditor.Result> |
WorkflowPropertyEditor.deleteProperty(String name)
Delete a property from the workflow.
|
ServiceOutcome<WorkflowPropertyEditor.Result> |
DefaultWorkflowPropertyEditor.updateProperty(String name,
String property) |
ServiceOutcome<WorkflowPropertyEditor.Result> |
WorkflowPropertyEditor.updateProperty(String name,
String value)
Update a property on the workflow.
|
Copyright © 2002-2015 Atlassian. All Rights Reserved.