Modifier and Type | Interface and Description |
---|---|
interface |
ServiceOutcome<T>
A service result that also has an value.
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceOutcomeImpl<T>
Generic service outcome that can optionally hold a value.
|
class |
ServiceResultImpl
Simple implementation of a validation result.
|
Modifier and Type | Method and Description |
---|---|
ServiceResult |
DefaultStatusService.moveStatusDown(ApplicationUser user,
String id) |
ServiceResult |
StatusService.moveStatusDown(ApplicationUser user,
String id)
Move a status down the order.
|
ServiceResult |
DefaultStatusService.moveStatusUp(ApplicationUser user,
String id) |
ServiceResult |
StatusService.moveStatusUp(ApplicationUser user,
String id)
Move a status up the order.
|
ServiceResult |
DefaultStatusService.removeStatus(ApplicationUser user,
Status status) |
ServiceResult |
StatusService.removeStatus(ApplicationUser user,
Status status)
Removes a status.
|
ServiceResult |
DefaultStatusService.validateCreateStatus(ApplicationUser user,
String name,
String description,
String iconUrl,
StatusCategory statusCategory) |
ServiceResult |
StatusService.validateCreateStatus(ApplicationUser user,
String name,
String description,
String iconUrl,
StatusCategory statusCategory)
Validates new status basing on given parameters
|
ServiceResult |
DefaultStatusService.validateEditStatus(ApplicationUser user,
Status status,
String name,
String description,
String iconUrl,
StatusCategory statusCategory) |
ServiceResult |
StatusService.validateEditStatus(ApplicationUser user,
Status status,
String name,
String description,
String iconUrl,
StatusCategory statusCategory)
Validates given status basing on given parameters
|
ServiceResult |
DefaultStatusService.validateRemoveStatus(ApplicationUser user,
Status status) |
ServiceResult |
StatusService.validateRemoveStatus(ApplicationUser user,
Status status)
Validates removal of given status
|
Modifier and Type | Class and Description |
---|---|
static class |
DataImportService.ImportResult
Represents the result of performing an import.
|
static class |
DataImportService.ImportValidationResult
An import validation result returned by the
DataImportService#validateImport(com.atlassian.crowd.embedded.api.User,
DataImportParams) method. |
Modifier and Type | Class and Description |
---|---|
static class |
IssueService.AssignValidationResult
A simple object that holds the information about validating an update issue operation.
|
static class |
IssueService.CreateValidationResult
A simple object that holds the information about validating a create issue operation.
|
static class |
IssueService.DeleteValidationResult
A simple object that holds the information about validating a delete issue operation.
|
static class |
IssueService.IssueResult
A simple object that holds the information about an issue operation.
|
static class |
IssueService.IssueValidationResult
A simple base object that holds the information about performing an issue operation.
|
static class |
IssueService.TransitionValidationResult
A simple result object that holds the information required to make a successful issue transition.
|
static class |
IssueService.UpdateValidationResult
A simple object that holds the information about validating an update issue operation.
|
Modifier and Type | Class and Description |
---|---|
static class |
CommentService.CommentCreateValidationResult |
static class |
CommentService.CommentUpdateValidationResult |
Modifier and Type | Method and Description |
---|---|
ServiceResult |
ColumnServiceImpl.resetColumns(ApplicationUser serviceUser,
ApplicationUser userWithColumns) |
ServiceResult |
ColumnService.resetColumns(ApplicationUser serviceUser,
ApplicationUser userWithColumns)
Resets a user's
ColumnLayout . |
ServiceResult |
ColumnServiceImpl.resetColumns(ApplicationUser serviceUser,
Long filterId) |
ServiceResult |
ColumnService.resetColumns(ApplicationUser serviceUser,
Long filterId)
Resets the given filter to no longer have its own
ColumnLayout . |
ServiceResult |
ColumnServiceImpl.setColumns(ApplicationUser serviceUser,
ApplicationUser userWithColumns,
List<String> fieldIds) |
ServiceResult |
ColumnService.setColumns(ApplicationUser serviceUser,
ApplicationUser userWithColumns,
List<String> fieldIds)
Sets a user's
ColumnLayout . |
ServiceResult |
ColumnServiceImpl.setColumns(ApplicationUser serviceUser,
Long filterId,
List<String> fieldIds) |
ServiceResult |
ColumnService.setColumns(ApplicationUser serviceUser,
Long filterId,
List<String> fieldIds)
Sets the given filter
ColumnLayout to the given fields. |
ServiceResult |
ColumnServiceImpl.setDefaultColumns(ApplicationUser serviceUser,
List<String> fieldIds) |
ServiceResult |
ColumnService.setDefaultColumns(ApplicationUser serviceUser,
List<String> fieldIds)
Sets the system's default columns to the given
fieldIds |
Modifier and Type | Class and Description |
---|---|
static class |
LabelService.AddLabelValidationResult |
static class |
LabelService.LabelsResult |
static class |
LabelService.LabelSuggestionResult |
static class |
LabelService.LabelValidationResult |
static class |
LabelService.SetLabelValidationResult |
Modifier and Type | Class and Description |
---|---|
static class |
IssueLinkService.AddIssueLinkValidationResult |
static class |
IssueLinkService.DeleteIssueLinkValidationResult |
static class |
IssueLinkService.IssueLinkResult |
static class |
IssueLinkService.IssueLinkValidationResult |
static class |
IssueLinkService.SingleIssueLinkResult |
static class |
RemoteIssueLinkService.CreateValidationResult
Holds the information about validating a create remote issue link operation.
|
static class |
RemoteIssueLinkService.DeleteByGlobalIdValidationResult
Holds the information about validating a delete remote issue link operation.
|
static class |
RemoteIssueLinkService.DeleteValidationResult
Holds the information about validating a delete remote issue link operation.
|
static class |
RemoteIssueLinkService.RemoteIssueLinkListResult
Holds the information about performing a remote issue link operation, when a list result is expected.
|
static class |
RemoteIssueLinkService.RemoteIssueLinkResult
Holds the information about performing a remote issue link operation.
|
static class |
RemoteIssueLinkService.UpdateValidationResult
Holds the information about validating an update remote issue link operation.
|
Modifier and Type | Class and Description |
---|---|
static class |
VoteService.VoteValidationResult
A simple validation result that holds the user trying to vote, and the issue being voted on.
|
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.AbstractProjectValidationResult |
static class |
ProjectService.CreateProjectValidationResult |
static class |
ProjectService.DeleteProjectResult |
static class |
ProjectService.DeleteProjectValidationResult |
static class |
ProjectService.GetProjectResult |
static class |
ProjectService.UpdateProjectSchemesValidationResult |
static class |
ProjectService.UpdateProjectValidationResult |
Modifier and Type | Method and Description |
---|---|
ServiceResult |
DefaultProjectService.validateUpdateProject(ApplicationUser user,
String key) |
ServiceResult |
ProjectService.validateUpdateProject(ApplicationUser user,
String key)
Validates that the given user is authorised to update a project.
|
Modifier and Type | Class and Description |
---|---|
static class |
VersionService.AbstractVersionResult |
static class |
VersionService.ArchiveVersionValidationResult |
static class |
VersionService.CreateVersionValidationResult |
static class |
VersionService.MoveVersionValidationResult |
static class |
VersionService.ReasonsServiceResult<R,T>
A generified
ServiceResultImpl that allows Service-specified Reasons to be set as part of the result (in
addition to Reasons specified inside the ErrorCollection . |
static class |
VersionService.ReleaseVersionValidationResult |
static class |
VersionService.VersionBuilderValidationResult
Result object that relates to new VersionService methods that take a
VersionBuilder as a parameter. |
static class |
VersionService.VersionResult |
static class |
VersionService.VersionsResult |
Modifier and Type | Class and Description |
---|---|
static class |
RemoteVersionLinkService.DeleteValidationResult
Holds the information about validating a delete remote version link operation.
|
static class |
RemoteVersionLinkService.PutValidationResult
Holds the information about validating a create remote version link operation.
|
static class |
RemoteVersionLinkService.RemoteVersionLinkListResult
Holds the information about performing a remote version link operation, when a list result is expected.
|
static class |
RemoteVersionLinkService.RemoteVersionLinkResult
Holds the information about performing a remote version link operation.
|
Modifier and Type | Method and Description |
---|---|
ServiceResult |
DefaultProjectRoleService.validateNoRoleUsage(ProjectRole projectRole) |
ServiceResult |
ProjectRoleService.validateNoRoleUsage(ProjectRole projectRole)
Checks if the given role is not used.
|
Modifier and Type | Class and Description |
---|---|
static class |
UserService.AddUserToApplicationValidationResult |
static class |
UserService.CreateUsernameValidationResult |
static class |
UserService.CreateUserValidationResult |
static class |
UserService.DeleteUserValidationResult |
static class |
UserService.RemoveUserFromApplicationValidationResult |
static class |
UserService.UpdateUserValidationResult |
Modifier and Type | Class and Description |
---|---|
static class |
WhitelistService.WhitelistResult
Deprecated.
|
static class |
WhitelistService.WhitelistUpdateValidationResult
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ServiceResult |
DefaultNodeStateService.activate(ApplicationUser user) |
ServiceResult |
NodeStateService.activate(ApplicationUser user)
Activate the current node, provided the user has the necessary permissions.
|
ServiceResult |
DefaultNodeStateService.deactivate(ApplicationUser user) |
ServiceResult |
NodeStateService.deactivate(ApplicationUser user)
Deactivate the node.
|
Modifier and Type | Class and Description |
---|---|
static class |
IssueTypeService.CreateValidationResult |
static class |
IssueTypeService.DeleteValidationResult |
static class |
IssueTypeService.UpdateValidationResult |
Modifier and Type | Class and Description |
---|---|
static class |
EntityPropertyService.DeletePropertyValidationResult |
static class |
EntityPropertyService.PropertyKeys<E> |
static class |
EntityPropertyService.PropertyResult |
static class |
EntityPropertyService.PropertyServiceResult |
static class |
EntityPropertyService.SetPropertyValidationResult |
Modifier and Type | Class and Description |
---|---|
static class |
HistoryMetadataManager.HistoryMetadataResult
Holds the information about retrieving history metadata, or errors encountered
|
Modifier and Type | Class and Description |
---|---|
static class |
AdhocNotificationService.ValidateNotificationResult |
Modifier and Type | Method and Description |
---|---|
ServiceResult |
DefaultPermissionSchemeService.assignPermissionSchemeToProject(ApplicationUser user,
Long schemeId,
Long projectId) |
ServiceResult |
PermissionSchemeService.assignPermissionSchemeToProject(ApplicationUser user,
Long schemeId,
Long projectId)
Sets the specified permission scheme in the given project.
|
ServiceResult |
DefaultPermissionSchemeService.deletePermissionScheme(ApplicationUser user,
Long id) |
ServiceResult |
PermissionSchemeService.deletePermissionScheme(ApplicationUser user,
Long id)
Deletes a permission scheme.
|
Modifier and Type | Class and Description |
---|---|
static class |
ShareService.ValidateShareIssueResult |
static class |
ShareService.ValidateShareResult |
static class |
ShareService.ValidateShareSearchRequestResult |
Modifier and Type | Class and Description |
---|---|
static class |
UpdateUserApplicationHelper.ApplicationUpdateResult |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
ResponseFactory.serviceResultToNoContentResponse(ServiceResult serviceResult)
Transforms a service result to "no content" (204) HTTP response with cache control set to never
if the result is valid, or error response is invalid.
|
javax.ws.rs.core.Response |
ResponseFactoryImpl.serviceResultToNoContentResponse(ServiceResult serviceResult) |
Modifier and Type | Method and Description |
---|---|
protected <T extends ServiceResult> |
AbstractRemoteEntityLinkResource.valid(T result)
Verifies that the provided service result is error-free.
|
Copyright © 2002-2015 Atlassian. All Rights Reserved.