Modifier and Type | Class and Description |
---|---|
class |
JiraServiceContextImpl
Default implementation of the JiraServiceContext.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultCustomFieldService.updateTranslation(JiraServiceContext jiraServiceContext,
Long customFieldId,
String name,
String description,
String localeString) |
void |
CustomFieldService.updateTranslation(JiraServiceContext jiraServiceContext,
Long customFieldId,
String name,
String description,
String locale)
Sets the current a translation for a custom field.
|
void |
DefaultCustomFieldService.validateDelete(JiraServiceContext jiraServiceContext,
Long customFieldId) |
void |
CustomFieldService.validateDelete(JiraServiceContext jiraServiceContext,
Long customFieldId)
Validates that the custom field with the provided id can be deleted.
|
void |
DefaultCustomFieldService.validateTranslation(JiraServiceContext jiraServiceContext,
Long customFieldId,
String name,
String description,
String locale) |
void |
CustomFieldService.validateTranslation(JiraServiceContext jiraServiceContext,
Long customFieldId,
String name,
String description,
String locale)
Validates that the parameters to set a translation for a custom field are valid
|
void |
DefaultCustomFieldService.validateUpdate(JiraServiceContext jiraServiceContext,
Long customFieldId,
String name,
String description,
String searcherKey) |
void |
CustomFieldService.validateUpdate(JiraServiceContext jiraServiceContext,
Long customFieldId,
String name,
String description,
String searcherKey)
Validates that the custom field with the provided id can be updated.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultFavouritesService.addFavourite(JiraServiceContext ctx,
SharedEntity entity) |
void |
FavouritesService.addFavourite(JiraServiceContext ctx,
SharedEntity entity)
Add the given entity as a favourite of the user passed in the context
|
void |
DefaultFavouritesService.addFavouriteInPosition(JiraServiceContext ctx,
SharedEntity entity,
long position) |
void |
FavouritesService.addFavouriteInPosition(JiraServiceContext ctx,
SharedEntity entity,
long position)
Add the given entity as a favourite of the user passed in the context and place it in the specified position.
|
void |
DefaultFavouritesService.removeFavourite(JiraServiceContext ctx,
SharedEntity entity) |
void |
FavouritesService.removeFavourite(JiraServiceContext ctx,
SharedEntity entity)
Remove the given entity as a favourite of the user passed in the context
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
DefaultSearchRequestService.createFilter(JiraServiceContext serviceCtx,
SearchRequest request) |
SearchRequest |
SearchRequestService.createFilter(JiraServiceContext serviceCtx,
SearchRequest request)
Persists a
SearchRequest to the database. |
SearchRequest |
DefaultSearchRequestService.createFilter(JiraServiceContext serviceCtx,
SearchRequest request,
boolean isFavourite) |
SearchRequest |
SearchRequestService.createFilter(JiraServiceContext serviceCtx,
SearchRequest request,
boolean isFavourite)
Persists a
SearchRequest to the database. |
void |
DefaultSearchRequestService.deleteAllFiltersForUser(JiraServiceContext serviceCtx,
ApplicationUser user) |
void |
SearchRequestService.deleteAllFiltersForUser(JiraServiceContext serviceCtx,
ApplicationUser user)
Delete all filters for a given user
|
void |
DefaultSearchRequestService.deleteFilter(JiraServiceContext serviceCtx,
Long filterId) |
void |
SearchRequestService.deleteFilter(JiraServiceContext serviceCtx,
Long filterId)
Delete a given filter.
|
String |
DefaultFilterSubscriptionService.getCronExpression(JiraServiceContext context,
FilterSubscription subscription) |
String |
FilterSubscriptionService.getCronExpression(JiraServiceContext context,
FilterSubscription subscription)
Retrieve the cron expression associated with this subscription
|
SearchRequest |
DefaultSearchRequestService.getFilter(JiraServiceContext serviceCtx,
Long filterId) |
SearchRequest |
SearchRequestService.getFilter(JiraServiceContext serviceCtx,
Long filterId)
Retrieve a given filter by id.
|
String |
DefaultFilterSubscriptionService.getPrettySchedule(JiraServiceContext context,
String cronExpression) |
String |
FilterSubscriptionService.getPrettySchedule(JiraServiceContext context,
String cronExpression)
Renders a human readable description of the given cron expression.
|
SharedEntitySearchResult<SearchRequest> |
DefaultSearchRequestService.search(JiraServiceContext serviceCtx,
SharedEntitySearchParameters searchParameters,
int pagePosition,
int pageWidth) |
SharedEntitySearchResult<SearchRequest> |
SearchRequestService.search(JiraServiceContext serviceCtx,
SharedEntitySearchParameters searchParameters,
int pagePosition,
int pageWidth)
Search for the SearchRequests that match the passed searchParameters.
|
void |
DefaultFilterSubscriptionService.storeSubscription(JiraServiceContext context,
Long filterId,
String groupName,
String expr,
boolean emailOnEmpty) |
void |
FilterSubscriptionService.storeSubscription(JiraServiceContext context,
Long filterId,
String groupName,
String expr,
boolean emailOnEmpty)
Create and store a subscription that uses the given cron expression
|
SearchRequest |
DefaultSearchRequestService.updateFilter(JiraServiceContext serviceCtx,
SearchRequest request) |
SearchRequest |
SearchRequestService.updateFilter(JiraServiceContext serviceCtx,
SearchRequest request)
Persists a
SearchRequest to the database. |
SearchRequest |
DefaultSearchRequestService.updateFilter(JiraServiceContext serviceCtx,
SearchRequest request,
boolean isFavourite) |
SearchRequest |
SearchRequestService.updateFilter(JiraServiceContext serviceCtx,
SearchRequest request,
boolean isFavourite)
Persists a
SearchRequest to the database. |
SearchRequest |
DefaultSearchRequestService.updateFilterOwner(JiraServiceContext serviceCtx,
ApplicationUser user,
SearchRequest request) |
SearchRequest |
SearchRequestService.updateFilterOwner(JiraServiceContext serviceCtx,
ApplicationUser user,
SearchRequest request)
Persists a
SearchRequest to the database - only available to administrators. |
SearchRequest |
DefaultSearchRequestService.updateFilterOwner(JiraServiceContext serviceCtx,
Long filterId,
ApplicationUser newOwner) |
SearchRequest |
SearchRequestService.updateFilterOwner(JiraServiceContext serviceCtx,
Long filterId,
ApplicationUser newOwner)
Changes the owner of the portal page.
|
SearchRequest |
DefaultSearchRequestService.updateSearchParameters(JiraServiceContext serviceCtx,
SearchRequest request) |
SearchRequest |
SearchRequestService.updateSearchParameters(JiraServiceContext serviceCtx,
SearchRequest request)
Persists changes to passed
SearchRequest 's search parameters and search sorts. |
void |
DefaultFilterSubscriptionService.updateSubscription(JiraServiceContext context,
ApplicationUser owner,
Long subscriptionId,
String groupName,
String expr,
boolean emailOnEmpty) |
void |
FilterSubscriptionService.updateSubscription(JiraServiceContext context,
ApplicationUser owner,
Long subscriptionId,
String groupName,
String expr,
boolean emailOnEmpty)
Updates the subscription to the new given values and persists.
|
void |
DefaultFilterSubscriptionService.updateSubscription(JiraServiceContext context,
Long subscriptionId,
String groupName,
String expr,
boolean emailOnEmpty) |
void |
FilterSubscriptionService.updateSubscription(JiraServiceContext context,
Long subscriptionId,
String groupName,
String expr,
boolean emailOnEmpty)
Updates the subscription to the new given values and persists.
|
void |
DefaultFilterSubscriptionService.validateCronExpression(JiraServiceContext context,
String expr) |
void |
FilterSubscriptionService.validateCronExpression(JiraServiceContext context,
String expr)
Validates a given cron expression
|
void |
DefaultSearchRequestService.validateFilterForChangeOwner(JiraServiceContext serviceCtx,
SearchRequest request) |
void |
SearchRequestService.validateFilterForChangeOwner(JiraServiceContext serviceCtx,
SearchRequest request)
Validates that the proposed owner can take over the ownership of the filter
|
void |
DefaultSearchRequestService.validateFilterForCreate(JiraServiceContext serviceCtx,
SearchRequest request) |
void |
SearchRequestService.validateFilterForCreate(JiraServiceContext serviceCtx,
SearchRequest request)
Validates that a filter is in a correct state to be created.
|
void |
DefaultSearchRequestService.validateFilterForUpdate(JiraServiceContext serviceCtx,
SearchRequest request) |
void |
SearchRequestService.validateFilterForUpdate(JiraServiceContext serviceCtx,
SearchRequest request)
Validates that a filter is in a correct state to be updated.
|
void |
DefaultSearchRequestService.validateForDelete(JiraServiceContext serviceCtx,
Long filterId) |
void |
SearchRequestService.validateForDelete(JiraServiceContext serviceCtx,
Long filterId)
Validates that the filter can be deleted successfully.
|
void |
DefaultSearchRequestService.validateForSearch(JiraServiceContext serviceCtx,
SharedEntitySearchParameters searchParameters) |
void |
SearchRequestService.validateForSearch(JiraServiceContext serviceCtx,
SharedEntitySearchParameters searchParameters)
This will validate that the input parameters are valid for a search that encompasses ANY share entity type.
|
boolean |
DefaultSearchRequestService.validateUpdateSearchParameters(JiraServiceContext serviceCtx,
SearchRequest request) |
boolean |
SearchRequestService.validateUpdateSearchParameters(JiraServiceContext serviceContext,
SearchRequest request)
Validate that the passed
SearchRequest 's search parameters and search sorts can be persisted. |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultGroupService.addGroupsToGroups(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
Collection<String> childNames) |
boolean |
GroupService.addGroupsToGroups(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
Collection<String> childNames)
This method will add the provided groups to the specified groups.
|
boolean |
DefaultGroupService.addUsersToGroups(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
Collection<String> userNames) |
boolean |
GroupService.addUsersToGroups(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
Collection<String> userNames)
This method will add the provided users to the specified groups.
|
boolean |
DefaultGroupService.areOnlyGroupsGrantingUserAdminPermissions(JiraServiceContext jiraServiceContext,
Collection groupNames) |
boolean |
GroupService.areOnlyGroupsGrantingUserAdminPermissions(JiraServiceContext jiraServiceContext,
Collection groupNames)
This is a validation utility method that will determine if the specified groups are the only groups that are
granting the current user their
Permissions.ADMINISTER permissions. |
boolean |
DefaultGroupService.delete(JiraServiceContext jiraServiceContext,
String groupName,
String swapGroup) |
boolean |
GroupService.delete(JiraServiceContext jiraServiceContext,
String groupName,
String swapGroup)
This will delete a group from JIRA.
|
boolean |
DefaultGroupService.isAdminDeletingSysAdminGroup(JiraServiceContext jiraServiceContext,
String groupName) |
boolean |
GroupService.isAdminDeletingSysAdminGroup(JiraServiceContext jiraServiceContext,
String groupName)
This is a validation utility method that will determine if the current user is only a JIRA Administrator
and they are trying to delete a group that is associated with JIRA System Administrators.
|
boolean |
DefaultGroupService.removeGroupsFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveChildMapper mapper) |
boolean |
GroupService.removeGroupsFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveChildMapper mapper)
This method will remove the provided child groups from the specified groups.
|
boolean |
DefaultGroupService.removeUsersFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveChildMapper mapper) |
boolean |
GroupService.removeUsersFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveChildMapper mapper)
This method will remove the provided users from the specified groups.
|
GroupService.BulkEditGroupValidationResult |
DefaultGroupService.validateAddGroupsToGroup(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
Collection<String> groupNames) |
GroupService.BulkEditGroupValidationResult |
GroupService.validateAddGroupsToGroup(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
Collection<String> groupNames)
Performs validation to see if the provided groups (identified by the groupNames collection) can be added to the
provided group by the current user (as specified in the jiraServiceContext).
|
GroupService.BulkEditGroupValidationResult |
DefaultGroupService.validateAddUsersToGroup(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
Collection<String> userNames) |
GroupService.BulkEditGroupValidationResult |
GroupService.validateAddUsersToGroup(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
Collection<String> userNames)
Performs validation to see if the provided users (identified by the userNames collection) can be added to the
provided group by the current user (as specified in the jiraServiceContext).
|
boolean |
DefaultGroupService.validateAddUserToGroup(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
String userName) |
boolean |
GroupService.validateAddUserToGroup(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
String userName)
Performs validation to see if the provided user (identified by username) can be added to the provided group
by the current user (as specified in the jiraServiceContext).
|
boolean |
DefaultGroupService.validateDelete(JiraServiceContext jiraServiceContext,
String groupName,
String swapGroup) |
boolean |
GroupService.validateDelete(JiraServiceContext jiraServiceContext,
String groupName,
String swapGroup)
Validates if the group provided can be deleted in JIRA.
|
boolean |
DefaultGroupService.validateRemoveGroupsFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveChildMapper mapper) |
boolean |
GroupService.validateRemoveGroupsFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveChildMapper mapper)
Performs validation to see if the groups identified in
mapper can be removed from
their respective groups by the current user (as specified in the jiraServiceContext). |
boolean |
DefaultGroupService.validateRemoveUserFromGroups(JiraServiceContext jiraServiceContext,
List groupsToLeave,
String userName) |
boolean |
GroupService.validateRemoveUserFromGroups(JiraServiceContext jiraServiceContext,
List groupsToLeave,
String userName)
Performs validation to see if the user can be removed from the groups by the current user (as specified in
the jiraServiceContext).
|
boolean |
DefaultGroupService.validateRemoveUsersFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveChildMapper mapper) |
boolean |
GroupService.validateRemoveUsersFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveChildMapper mapper)
Performs validation to see if the users identified in
mapper can be removed from
their respective groups by the current user (as specified in the jiraServiceContext). |
Modifier and Type | Method and Description |
---|---|
ProjectImportResults |
DefaultProjectImportService.doImport(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
ProjectImportData projectImportData,
TaskProgressInterval taskProgressInterval) |
ProjectImportResults |
ProjectImportService.doImport(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
ProjectImportData projectImportData,
TaskProgressInterval taskProgressInterval)
Imports the passed in project using the provided, populated and validated, project import mapper.
|
MappingResult |
DefaultProjectImportService.doMapping(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
ProjectImportData projectImportData,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval) |
MappingResult |
ProjectImportService.doMapping(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
ProjectImportData projectImportData,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval)
Will use the initial data in the ProjectImportData to perform automappings based on the current state of JIRA
and then will validate those mappings.
|
BackupOverview |
DefaultProjectImportService.getBackupOverview(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
TaskProgressSink taskProgressSink) |
BackupOverview |
ProjectImportService.getBackupOverview(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
TaskProgressSink taskProgressSink)
Returns a BackupOverview object containing the overview of information from the backup file if the backup files
build number and edition match those of the running instance of JIRA.
|
ProjectImportData |
DefaultProjectImportService.getProjectImportData(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval) |
ProjectImportData |
ProjectImportService.getProjectImportData(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval)
Makes a pass through the provided JIRA ZIP backup data and creates a ProjectImportMapper and partitions the XML
data for the project.
|
MessageSet |
DefaultProjectImportService.preProcessAoImportData(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval) |
MessageSet |
ProjectImportService.preProcessAoImportData(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
TaskProgressInterval taskProgressInterval)
Makes a pass through the provided AO XML backup data and partitions the XML allowing plugins to process listen to
each element as it passes,
|
MessageSet |
DefaultProjectImportService.validateBackupProjectImportableSystemLevel(JiraServiceContext jiraServiceContext,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation) |
MessageSet |
ProjectImportService.validateBackupProjectImportableSystemLevel(JiraServiceContext jiraServiceContext,
BackupProject project,
BackupSystemInformation backupSystemInformation)
Returns a MessageSet which reports if the provided BackupProject meets the JIRA system requirements
to be imported.
|
void |
DefaultProjectImportService.validateDoMapping(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation) |
void |
ProjectImportService.validateDoMapping(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation)
Validates if the user has permission to create a project import mapper and partition the input data and if the
provided path's and backup project exist.
|
void |
DefaultProjectImportService.validateGetBackupOverview(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions) |
void |
ProjectImportService.validateGetBackupOverview(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions)
Validates if the user has permission to start a project import and if the provided path's exist.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultAttachmentService.canAttachScreenshots(JiraServiceContext jiraServiceContext,
Issue issue) |
boolean |
AttachmentService.canAttachScreenshots(JiraServiceContext jiraServiceContext,
Issue issue)
Determines whether the user:
has the required permission (
Permissions.CREATE_ATTACHMENT )
to create an attachment
has the screenshot enabled
is using a screenshot applet compatible OS (Windows or OSX)
the issue is in an editable workflow state
|
boolean |
DefaultAttachmentService.canCreateAttachments(JiraServiceContext jiraServiceContext,
Issue issue) |
boolean |
AttachmentService.canCreateAttachments(JiraServiceContext jiraServiceContext,
Issue issue)
Determines whether attachments are enabled in JIRA and that the user has the required permission
(
Permissions.CREATE_ATTACHMENT ) to create an attachment for this issue. |
boolean |
DefaultAttachmentService.canCreateAttachments(JiraServiceContext jiraServiceContext,
Project project) |
boolean |
AttachmentService.canCreateAttachments(JiraServiceContext jiraServiceContext,
Project project)
Determines whether attachments are enabled in JIRA and that the user has the required permission
(
Permissions.CREATE_ATTACHMENT ) to create an attachment for this project. |
boolean |
DefaultAttachmentService.canCreateTemporaryAttachments(JiraServiceContext jiraServiceContext,
Issue issue) |
boolean |
AttachmentService.canCreateTemporaryAttachments(JiraServiceContext jiraServiceContext,
Issue issue)
Determines whether:
the user has the required permission (
Permissions.CREATE_ATTACHMENT )
to create an attachment
attachments are enabled
This method does *not* check if the issue is in an editable workflow step, since temporary
attachments may be created when reopening an issue *before* the issue is actually reopened! |
boolean |
DefaultAttachmentService.canDeleteAttachment(JiraServiceContext jiraServiceContext,
Long attachmentId) |
boolean |
AttachmentService.canDeleteAttachment(JiraServiceContext jiraServiceContext,
Long attachmentId)
Retrieves the attachment specified by the attachment id and determines if the user can delete it.
|
boolean |
DefaultAttachmentService.canManageAttachments(JiraServiceContext jiraServiceContext,
Issue issue) |
boolean |
AttachmentService.canManageAttachments(JiraServiceContext jiraServiceContext,
Issue issue)
Checks whether the user has permission to manage the attachments of the specified issue.
|
void |
DefaultAttachmentService.delete(JiraServiceContext jiraServiceContext,
Long attachmentId) |
void |
AttachmentService.delete(JiraServiceContext jiraServiceContext,
Long attachmentId)
Deletes the specified attachment and updates the issue change history and 'updated' date.
|
Attachment |
DefaultAttachmentService.getAttachment(JiraServiceContext jiraServiceContext,
Long attachmentId) |
Attachment |
AttachmentService.getAttachment(JiraServiceContext jiraServiceContext,
Long attachmentId)
Retrieves the specified issue.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultCommentService.delete(JiraServiceContext jiraServiceContext,
Comment comment,
boolean dispatchEvent) |
void |
CommentService.delete(JiraServiceContext jiraServiceContext,
Comment comment,
boolean dispatchEvent)
Deletes a comment and updates the issue's change history and updated date.
|
boolean |
DefaultCommentService.hasPermissionToDelete(JiraServiceContext jiraServiceContext,
Long commentId) |
boolean |
CommentService.hasPermissionToDelete(JiraServiceContext jiraServiceContext,
Long commentId)
Determines whether the user can delete a comment.
|
boolean |
DefaultCommentService.hasPermissionToEdit(JiraServiceContext jiraServiceContext,
Long commentId) |
boolean |
CommentService.hasPermissionToEdit(JiraServiceContext jiraServiceContext,
Long commentId)
Determines whether the user can edit a comment.
|
protected boolean |
DefaultCommentService.hasVisibility(JiraServiceContext jiraServiceContext,
Comment comment) |
Modifier and Type | Method and Description |
---|---|
Collection<IssuePickerResults> |
DefaultIssuePickerSearchService.getResults(JiraServiceContext context,
IssuePickerSearchService.IssuePickerParameters issuePickerParams) |
Collection<IssuePickerResults> |
IssuePickerSearchService.getResults(JiraServiceContext context,
IssuePickerSearchService.IssuePickerParameters issuePickerParams)
Gets a list of
Issue based on query string. |
IssuePickerResults |
IssuePickerSearchProvider.getResults(JiraServiceContext context,
IssuePickerSearchService.IssuePickerParameters issuePickerParams,
int issueRemaining)
Returns a list of issues matching the query string
|
IssuePickerResults |
AbstractIssuePickerSearchProvider.getResults(JiraServiceContext context,
IssuePickerSearchService.IssuePickerParameters issuePickerParams,
int maxIssueCount) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultVisibilityValidator.isValidVisibilityData(JiraServiceContext jiraServiceContext,
String i18nPrefix,
Issue issue,
String groupLevel,
String roleLevelId) |
boolean |
VisibilityValidator.isValidVisibilityData(JiraServiceContext jiraServiceContext,
String i18nPrefix,
Issue issue,
String groupLevel,
String roleLevelId)
|
boolean |
DefaultVisibilityValidator.isValidVisibilityData(JiraServiceContext jiraServiceContext,
String i18nPrefix,
Issue issue,
Visibility visibility) |
boolean |
VisibilityValidator.isValidVisibilityData(JiraServiceContext jiraServiceContext,
String i18nPrefix,
Issue issue,
Visibility visibility)
This will validate that the passed in group level and project role level id will constitute a valid visibility
restriction.
|
Modifier and Type | Method and Description |
---|---|
protected Worklog |
DefaultWorklogService.create(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
Long newEstimate,
boolean dispatchEvent) |
Worklog |
DefaultWorklogService.createAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent) |
Worklog |
WorklogService.createAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
|
Worklog |
DefaultWorklogService.createAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent) |
Worklog |
WorklogService.createAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
|
Worklog |
DefaultWorklogService.createWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
WorklogAdjustmentAmountResult worklogResult,
boolean dispatchEvent) |
Worklog |
WorklogService.createWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
WorklogAdjustmentAmountResult worklogAdjustmentAmount,
boolean dispatchEvent)
|
Worklog |
DefaultWorklogService.createWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogResult,
boolean dispatchEvent) |
Worklog |
WorklogService.createWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogNewEstimate,
boolean dispatchEvent)
|
protected boolean |
DefaultWorklogService.delete(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
Long newEstimate,
boolean dispatchEvent) |
boolean |
DefaultWorklogService.deleteAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent) |
boolean |
WorklogService.deleteAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Deletes the specified
Worklog . |
boolean |
DefaultWorklogService.deleteAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent) |
boolean |
WorklogService.deleteAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Deletes the specified
Worklog . |
boolean |
DefaultWorklogService.deleteWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
WorklogAdjustmentAmountResult worklogResult,
boolean dispatchEvent) |
boolean |
WorklogService.deleteWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
WorklogAdjustmentAmountResult worklogAdjustmentAmount,
boolean dispatchEvent)
Deletes the specified
Worklog . |
boolean |
DefaultWorklogService.deleteWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogNewEstimate,
boolean dispatchEvent) |
boolean |
WorklogService.deleteWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogNewEstimate,
boolean dispatchEvent)
Deletes the specified
Worklog . |
Worklog |
DefaultWorklogService.getById(JiraServiceContext jiraServiceContext,
Long id) |
Worklog |
WorklogService.getById(JiraServiceContext jiraServiceContext,
Long id)
Used to get a worklog by its id.
|
List |
DefaultWorklogService.getByIssue(JiraServiceContext jiraServiceContext,
Issue issue) |
List |
WorklogService.getByIssue(JiraServiceContext jiraServiceContext,
Issue issue)
Returns all child worklogs of a specified issue.
|
List<Worklog> |
DefaultWorklogService.getByIssueVisibleToUser(JiraServiceContext jiraServiceContext,
Issue issue) |
List<Worklog> |
WorklogService.getByIssueVisibleToUser(JiraServiceContext jiraServiceContext,
Issue issue)
Returns all child worklogs of a specified issue that the provided user has permission to see.
|
PagedList<Worklog> |
DefaultWorklogService.getByIssueVisibleToUser(JiraServiceContext jiraServiceContext,
Issue issue,
int pageSize) |
PagedList<Worklog> |
WorklogService.getByIssueVisibleToUser(JiraServiceContext jiraServiceContext,
Issue issue,
int pageSize)
Returns a PagedList over all all child worklogs of a specified issue that the provided user has permission to see.
|
protected long |
DefaultWorklogService.getDurationForFormattedString(String timeSpent,
JiraServiceContext jiraServiceContext) |
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.
|
boolean |
DefaultWorklogService.hasPermissionToCreate(JiraServiceContext jiraServiceContext,
Issue issue,
boolean isEditableCheckRequired) |
boolean |
WorklogService.hasPermissionToCreate(JiraServiceContext jiraServiceContext,
Issue issue,
boolean isEditableCheckRequired)
Determines if the user has the
Permissions.WORK_ISSUE permission,
that timetracking is enabled in JIRA and that the associated issue is in an editable workflow state. |
boolean |
DefaultWorklogService.hasPermissionToDelete(JiraServiceContext jiraServiceContext,
Worklog worklog) |
boolean |
WorklogService.hasPermissionToDelete(JiraServiceContext jiraServiceContext,
Worklog worklog)
Determine whether the current user has the permission to delete the supplied
worklog, timetracking is enabled in JIRA and that the associated issue is in an editable workflow state.
|
boolean |
DefaultWorklogService.hasPermissionToUpdate(JiraServiceContext jiraServiceContext,
Worklog worklog) |
boolean |
WorklogService.hasPermissionToUpdate(JiraServiceContext jiraServiceContext,
Worklog worklog)
Determine whether the current user has the permission to update the supplied
worklog, timetracking is enabled in JIRA and that the associated issue is in an editable workflow state.
|
protected boolean |
DefaultWorklogService.isValidAdjustmentAmount(JiraServiceContext jiraServiceContext,
String adjustmentAmount)
Checks if the given String is a valid amount of time to change an estimate by.
|
protected boolean |
DefaultWorklogService.isValidAdjustmentAmount(JiraServiceContext jiraServiceContext,
String adjustmentAmount,
String errorFieldPrefix)
Checks if the given String is a valid amount of time to change an estimate by.
|
protected boolean |
DefaultWorklogService.isValidNewEstimate(JiraServiceContext jiraServiceContext,
String newEstimate) |
protected boolean |
DefaultWorklogService.isValidNewEstimate(JiraServiceContext jiraServiceContext,
String newEstimate,
String errorFieldPrefix) |
protected boolean |
DefaultWorklogService.isValidWorklogInputFields(JiraServiceContext jiraServiceContext,
Issue issue,
String timeSpent,
Date startDate,
String errorFieldPrefix) |
protected Worklog |
DefaultWorklogService.update(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
Long newEstimate,
boolean dispatchEvent) |
Worklog |
DefaultWorklogService.updateAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent) |
Worklog |
WorklogService.updateAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Updates the provided
Worklog . |
Worklog |
DefaultWorklogService.updateAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent) |
Worklog |
WorklogService.updateAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Updates the provided
Worklog . |
Worklog |
DefaultWorklogService.updateWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogResult,
boolean dispatchEvent) |
Worklog |
WorklogService.updateWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogNewEstimate,
boolean dispatchEvent)
Updates the provided
Worklog . |
WorklogResult |
DefaultWorklogService.validateCreate(JiraServiceContext jiraServiceContext,
WorklogInputParameters params) |
WorklogResult |
WorklogService.validateCreate(JiraServiceContext jiraServiceContext,
WorklogInputParameters params)
Determines whether worklogs are enabled in JIRA and if the user has the required permissions
as determined by calling
WorklogService.hasPermissionToCreate(com.atlassian.jira.bc.JiraServiceContext, com.atlassian.jira.issue.Issue, boolean)
to create a worklog for this issue. |
WorklogAdjustmentAmountResult |
DefaultWorklogService.validateCreateWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
WorklogAdjustmentAmountInputParameters params) |
WorklogAdjustmentAmountResult |
WorklogService.validateCreateWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
WorklogAdjustmentAmountInputParameters params)
Determines whether worklogs are enabled in JIRA and if the user has the required permission
as determined by calling
WorklogService.hasPermissionToCreate(com.atlassian.jira.bc.JiraServiceContext, com.atlassian.jira.issue.Issue, boolean)
to create a worklog for this issue. |
WorklogNewEstimateResult |
DefaultWorklogService.validateCreateWithNewEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateInputParameters params) |
WorklogNewEstimateResult |
WorklogService.validateCreateWithNewEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateInputParameters params)
Determines whether worklogs are enabled in JIRA and if the user has the required permission
as determined by calling
WorklogService.hasPermissionToCreate(com.atlassian.jira.bc.JiraServiceContext, com.atlassian.jira.issue.Issue, boolean)
to create a worklog for this issue. |
WorklogResult |
DefaultWorklogService.validateDelete(JiraServiceContext jiraServiceContext,
Long worklogId) |
WorklogResult |
WorklogService.validateDelete(JiraServiceContext jiraServiceContext,
Long worklogId)
Determines whether worklogs are enabled in JIRA and if the user has the required permissions
as determined by calling
WorklogService.hasPermissionToDelete(com.atlassian.jira.bc.JiraServiceContext, com.atlassian.jira.issue.worklog.Worklog)
to delete a worklog for this issue. |
WorklogAdjustmentAmountResult |
DefaultWorklogService.validateDeleteWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
Long worklogId,
String adjustmentAmount) |
WorklogAdjustmentAmountResult |
WorklogService.validateDeleteWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
Long worklogId,
String adjustmentAmount)
Determines whether worklogs are enabled in JIRA and if the user has the required permissions
as determined by calling
WorklogService.hasPermissionToDelete(com.atlassian.jira.bc.JiraServiceContext, com.atlassian.jira.issue.worklog.Worklog)
to delete a worklog for this issue. |
WorklogNewEstimateResult |
DefaultWorklogService.validateDeleteWithNewEstimate(JiraServiceContext jiraServiceContext,
Long worklogId,
String newEstimate) |
WorklogNewEstimateResult |
WorklogService.validateDeleteWithNewEstimate(JiraServiceContext jiraServiceContext,
Long worklogId,
String newEstimate)
Determines whether worklogs are enabled in JIRA and if the user has the required permissions
as determined by calling
WorklogService.hasPermissionToDelete(com.atlassian.jira.bc.JiraServiceContext, com.atlassian.jira.issue.worklog.Worklog)
to delete a worklog for this issue. |
protected Worklog |
DefaultWorklogService.validateParamsAndCreateWorklog(JiraServiceContext jiraServiceContext,
Issue issue,
ApplicationUser author,
Visibility visibility,
String timeSpent,
Date startDate,
Long worklogId,
String comment,
Date created,
Date updated,
ApplicationUser updateAuthor,
String errorFieldPrefix) |
WorklogResult |
DefaultWorklogService.validateUpdate(JiraServiceContext jiraServiceContext,
WorklogInputParameters params) |
WorklogResult |
WorklogService.validateUpdate(JiraServiceContext jiraServiceContext,
WorklogInputParameters params)
Determines whether worklogs are enabled in JIRA and if the user has the required permissions
as determined by calling
WorklogService.hasPermissionToUpdate(com.atlassian.jira.bc.JiraServiceContext, com.atlassian.jira.issue.worklog.Worklog)
to update a worklog for this issue. |
WorklogNewEstimateResult |
DefaultWorklogService.validateUpdateWithNewEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateInputParameters params) |
WorklogNewEstimateResult |
WorklogService.validateUpdateWithNewEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateInputParameters params)
Determines whether worklogs are enabled in JIRA and if the user has the required permissions
as determined by calling
WorklogService.hasPermissionToUpdate(com.atlassian.jira.bc.JiraServiceContext, com.atlassian.jira.issue.worklog.Worklog)
to update a worklog for this issue. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultPortalPageService.checkSystemDefaultSharePermissions(JiraServiceContext serviceCtx,
SharedEntity.SharePermissions sharePermissions)
Check that the passed permissions are valid for the System Dashboard.
|
PortalPage |
DefaultPortalPageService.createPortalPage(JiraServiceContext serviceCtx,
PortalPage portalPage) |
PortalPage |
PortalPageService.createPortalPage(JiraServiceContext serviceCtx,
PortalPage portalPage)
Called to create and store the specified portalPage into the database.
|
PortalPage |
DefaultPortalPageService.createPortalPage(JiraServiceContext serviceCtx,
PortalPage portalPage,
boolean isFavourite) |
PortalPage |
PortalPageService.createPortalPage(JiraServiceContext serviceCtx,
PortalPage portalPage,
boolean isFavourite)
Called to create and store the specified portalPage into the database.
|
PortalPage |
DefaultPortalPageService.createPortalPageByClone(JiraServiceContext serviceCtx,
PortalPage portalPage,
Long clonePortalPageId,
boolean isFavourite) |
PortalPage |
PortalPageService.createPortalPageByClone(JiraServiceContext serviceCtx,
PortalPage portalPage,
Long clonePortalPageId,
boolean isFavourite)
Called to create and store the specified portalPage into the database by cloning its Portlet content from an existing PortalPage object.
|
void |
DefaultPortalPageService.decreasePortalPageSequence(JiraServiceContext serviceCtx,
Long portalPageId) |
void |
PortalPageService.decreasePortalPageSequence(JiraServiceContext serviceCtx,
Long portalPageId)
Decreases the position of the page configuration in the user's page configuration set.
|
void |
DefaultPortalPageService.deletePortalPage(JiraServiceContext serviceCtx,
Long portalPageId) |
void |
PortalPageService.deletePortalPage(JiraServiceContext serviceCtx,
Long portalPageId)
Called to delete the PortalPage with the specified portalPageId.
|
PortalPage |
DefaultPortalPageService.getPortalPage(JiraServiceContext context,
Long portalPageId) |
PortalPage |
PortalPageService.getPortalPage(JiraServiceContext servceCtx,
Long portalPageId)
Retrieve a given
PortalPage by id. |
List<List<PortletConfiguration>> |
DefaultPortalPageService.getPortletConfigurations(JiraServiceContext serviceCtx,
Long portalPageId) |
List<List<PortletConfiguration>> |
PortalPageService.getPortletConfigurations(JiraServiceContext context,
Long portalPageId)
Returns all portlet configurations for a particular dashboard in colums and rows.
|
void |
DefaultPortalPageService.increasePortalPageSequence(JiraServiceContext serviceCtx,
Long portalPageId) |
void |
PortalPageService.increasePortalPageSequence(JiraServiceContext serviceCtx,
Long portalPageId)
Increases the position of the page configuration in the user's page configuration set
|
void |
DefaultPortalPageService.moveToEndPortalPageSequence(JiraServiceContext serviceCtx,
Long portalPageId) |
void |
PortalPageService.moveToEndPortalPageSequence(JiraServiceContext serviceCtx,
Long portalPageId)
Puts the given page to the end of the user's page configuration set.
|
void |
DefaultPortalPageService.moveToStartPortalPageSequence(JiraServiceContext serviceCtx,
Long portalPageId) |
void |
PortalPageService.moveToStartPortalPageSequence(JiraServiceContext serviceCtx,
Long portalPageId)
Puts the given page to the start of the user's page configuration set.
|
void |
DefaultPortalPageService.saveLegacyPortletConfiguration(JiraServiceContext serviceCtx,
PortletConfiguration portletConfiguration) |
void |
PortalPageService.saveLegacyPortletConfiguration(JiraServiceContext serviceCtx,
PortletConfiguration portletConfiguration)
Save a specific
PortletConfiguration to a
database store. |
SharedEntitySearchResult<PortalPage> |
DefaultPortalPageService.search(JiraServiceContext serviceCtx,
SharedEntitySearchParameters searchParameters,
int pagePosition,
int pageWidth) |
SharedEntitySearchResult<PortalPage> |
PortalPageService.search(JiraServiceContext serviceCtx,
SharedEntitySearchParameters searchParameters,
int pagePosition,
int pageWidth)
Search for the PortalPages that match the passed SearchParameters.
|
PortalPage |
DefaultPortalPageService.updatePortalPage(JiraServiceContext serviceCtx,
PortalPage portalPage,
boolean isFavourite) |
PortalPage |
PortalPageService.updatePortalPage(JiraServiceContext serviceCtx,
PortalPage portalPage,
boolean isFavourite)
Updates the specified PortalPage in the database
|
PortalPage |
DefaultPortalPageService.updatePortalPageOwner(JiraServiceContext serviceCtx,
Long portalPageId,
ApplicationUser newOwner) |
PortalPage |
PortalPageService.updatePortalPageOwner(JiraServiceContext serviceCtx,
Long portalPageId,
ApplicationUser newOwner)
Changes the owner of the portal page.
|
PortalPage |
DefaultPortalPageService.updatePortalPageUnconditionally(JiraServiceContext serviceCtx,
ApplicationUser user,
PortalPage portalPage) |
PortalPage |
PortalPageService.updatePortalPageUnconditionally(JiraServiceContext serviceCtx,
ApplicationUser user,
PortalPage portalPage)
Deprecated.
Use
PortalPageService.updatePortalPageOwner(com.atlassian.jira.bc.JiraServiceContext, java.lang.Long, com.atlassian.jira.user.ApplicationUser) , PortalPageService.updatePortalPage(com.atlassian.jira.bc.JiraServiceContext, com.atlassian.jira.portal.PortalPage, boolean) , or PortalPageManager.update(com.atlassian.jira.portal.PortalPage) instead. Since v8.11. |
void |
DefaultPortalPageService.validateForChangeOwner(JiraServiceContext serviceCtx,
PortalPage page) |
void |
PortalPageService.validateForChangeOwner(JiraServiceContext ctx,
PortalPage dashboard)
This will validate that the dashboard page can be changed to the new owbner.
|
boolean |
DefaultPortalPageService.validateForChangePortalPageSequence(JiraServiceContext serviceCtx,
Long portalPageId) |
boolean |
PortalPageService.validateForChangePortalPageSequence(JiraServiceContext serviceCtx,
Long portalPageId)
Called to validate that sequence of a PortalPage can be changed.
|
boolean |
DefaultPortalPageService.validateForCreate(JiraServiceContext serviceCtx,
PortalPage portalPage) |
boolean |
PortalPageService.validateForCreate(JiraServiceContext serviceCtx,
PortalPage portalPage)
Called to validate that the PortalPage object is in a valid state for creation.
|
boolean |
DefaultPortalPageService.validateForCreatePortalPageByClone(JiraServiceContext serviceCtx,
PortalPage portalPage,
Long clonePortalPageId) |
boolean |
PortalPageService.validateForCreatePortalPageByClone(JiraServiceContext serviceCtx,
PortalPage portalPage,
Long clonePortalPageId)
Called to validate that a new PortalPage can be created by cloning its Portlet content from an existing PortalPage object.
|
boolean |
DefaultPortalPageService.validateForDelete(JiraServiceContext serviceCtx,
Long portalPageId) |
boolean |
PortalPageService.validateForDelete(JiraServiceContext serviceCtx,
Long portalPageId)
Called to validate that the specified portalPage with the portalPageId can be deleted.
|
boolean |
DefaultPortalPageService.validateForGetPortalPage(JiraServiceContext context,
Long portalPageId) |
boolean |
PortalPageService.validateForGetPortalPage(JiraServiceContext context,
Long portalPageId)
Check if the user in the service context has permission to get the portal page with the id provided.
|
void |
DefaultPortalPageService.validateForSearch(JiraServiceContext serviceCtx,
SharedEntitySearchParameters searchParameters) |
void |
PortalPageService.validateForSearch(JiraServiceContext serviceCtx,
SharedEntitySearchParameters searchParameters)
This will validate that the input parameters are valid for a search that encompasses ANY share entity type.
|
boolean |
DefaultPortalPageService.validateForUpdate(JiraServiceContext serviceCtx,
PortalPage portalPage) |
boolean |
PortalPageService.validateForUpdate(JiraServiceContext serviceCtx,
PortalPage portalPage)
Called to validate that the PortalPage can be be updated
|
Modifier and Type | Method and Description |
---|---|
protected JiraServiceContext |
DefaultProjectService.getServiceContext(ApplicationUser user,
ErrorCollection errorCollection) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultProjectService.isValidAllProjectData(JiraServiceContext serviceContext,
ProjectCreationData projectCreationData) |
boolean |
ProjectService.isValidAllProjectData(JiraServiceContext serviceContext,
ProjectCreationData projectCreationData)
Deprecated.
|
boolean |
DefaultProjectService.isValidProjectKey(JiraServiceContext serviceContext,
String key) |
boolean |
ProjectService.isValidProjectKey(JiraServiceContext serviceContext,
String key)
Validates the given project key.
|
boolean |
DefaultProjectService.isValidRequiredProjectData(JiraServiceContext serviceContext,
ProjectCreationData projectCreationData) |
boolean |
ProjectService.isValidRequiredProjectData(JiraServiceContext serviceContext,
ProjectCreationData projectCreationData)
Validate the fields required for creating a project.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultProjectComponentService.deleteAndSwapComponentForIssues(JiraServiceContext context,
Long componentId,
Long swapComponentId) |
void |
ProjectComponentService.deleteAndSwapComponentForIssues(JiraServiceContext context,
Long componentId,
Long swapComponentId) |
void |
DefaultProjectComponentService.deleteComponentForIssues(JiraServiceContext context,
Long componentId) |
void |
ProjectComponentService.deleteComponentForIssues(JiraServiceContext context,
Long componentId) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultVersionService.delete(JiraServiceContext context,
VersionService.ValidationResult result) |
void |
VersionService.delete(JiraServiceContext context,
VersionService.ValidationResult result)
Deprecated.
Use
VersionService.deleteVersionAndSwap(JiraServiceContext, DeleteVersionWithCustomFieldParameters) that
supports swapping version in custom fields.
Since v7.0.10 |
ServiceResult |
DefaultVersionService.deleteVersionAndSwap(JiraServiceContext serviceContext,
DeleteVersionWithCustomFieldParameters parameters) |
ServiceResult |
VersionService.deleteVersionAndSwap(JiraServiceContext serviceContext,
DeleteVersionWithCustomFieldParameters parameters)
Remove specified version.
|
void |
DefaultVersionService.merge(JiraServiceContext context,
VersionService.ValidationResult result) |
void |
VersionService.merge(JiraServiceContext context,
VersionService.ValidationResult result)
Merges a version into another, then removes the original version.
|
VersionService.ValidationResult |
DefaultVersionService.validateDelete(JiraServiceContext context,
Long versionId,
VersionService.VersionAction affectsAction,
VersionService.VersionAction fixAction) |
VersionService.ValidationResult |
VersionService.validateDelete(JiraServiceContext context,
Long versionId,
VersionService.VersionAction affectsAction,
VersionService.VersionAction fixAction)
Deprecated.
Use
VersionService.deleteVersionAndSwap(JiraServiceContext, DeleteVersionWithCustomFieldParameters) that
supports swapping version in custom fields.
Since v7.0.10 |
VersionService.ValidationResult |
DefaultVersionService.validateMerge(JiraServiceContext context,
Long versionId,
Long swapVersionId)
Implementation is the same as deleting, with the actions set to SWAP and the swapVersionId being passed as both
Affects Version swap and Fix Version swap
|
VersionService.ValidationResult |
VersionService.validateMerge(JiraServiceContext context,
Long versionId,
Long swapVersionId)
Validates an attempt to merge a version into another.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultIssueToSubTaskConversionService.canConvertIssue(JiraServiceContext context,
Issue issue)
As per the
IssueToSubTaskConversionService interface. |
boolean |
DefaultSubTaskToIssueConversionService.canConvertIssue(JiraServiceContext context,
Issue issue) |
boolean |
IssueConversionService.canConvertIssue(JiraServiceContext context,
Issue issue)
Determines if user can convert given issue.
|
void |
DefaultIssueConversionService.convertIssue(JiraServiceContext context,
Issue currentIssue,
MutableIssue updatedIssue) |
void |
IssueConversionService.convertIssue(JiraServiceContext context,
Issue issue,
MutableIssue updatedIssue)
This is the core method that converts given issue to an issue represented by updatedIssue.
|
boolean |
DefaultIssueConversionService.hasPermission(JiraServiceContext context,
Issue issue) |
boolean |
IssueConversionService.hasPermission(JiraServiceContext context,
Issue issue)
Checks the user's permission to convert given issue.
|
boolean |
DefaultIssueConversionService.isStatusChangeRequired(JiraServiceContext context,
Issue issue,
IssueType issueType) |
boolean |
IssueConversionService.isStatusChangeRequired(JiraServiceContext context,
Issue issue,
IssueType issueType)
Determines if the workflow status exists in the target workflow (based
on current project and target issue type).
|
void |
DefaultIssueConversionService.populateFields(JiraServiceContext context,
OperationContext operationContext,
I18nHelper i18nHelper,
Issue targetIssue,
Collection<FieldLayoutItem> fieldLayoutItems) |
void |
IssueConversionService.populateFields(JiraServiceContext context,
OperationContext operationContext,
I18nHelper i18nHelper,
Issue targetIssue,
Collection<FieldLayoutItem> fieldLayoutItems)
Populates the operationContext from the params in the
ActionContext
In case of invalid values, new error messages are added to the context's error collection under the
fieldName. |
void |
DefaultIssueToSubTaskConversionService.preStoreUpdates(JiraServiceContext context,
IssueChangeHolder changeHolder,
Issue currentIssue,
MutableIssue targetIssue) |
void |
DefaultSubTaskToIssueConversionService.preStoreUpdates(JiraServiceContext context,
IssueChangeHolder changeHolder,
Issue currentIssue,
MutableIssue targetIssue)
Removes the parent link and adds change item.
|
void |
IssueConversionService.preStoreUpdates(JiraServiceContext context,
IssueChangeHolder changeHolder,
Issue currentIssue,
MutableIssue targetIssue)
Allows for a plugin point to extra updates specific to that sub class
|
void |
DefaultIssueConversionService.validateFields(JiraServiceContext context,
OperationContext operationContext,
I18nHelper i18nHelper,
Issue targetIssue,
Collection<FieldLayoutItem> fieldLayoutItems) |
void |
IssueConversionService.validateFields(JiraServiceContext context,
OperationContext operationContext,
I18nHelper i18nHelper,
Issue targetIssue,
Collection<FieldLayoutItem> fieldLayoutItems)
Validates that all fields inputed have valid values.
|
void |
DefaultIssueToSubTaskConversionService.validateParentIssue(JiraServiceContext context,
Issue issue,
Issue parentIssue,
String fieldNameParentIssueKey) |
void |
IssueToSubTaskConversionService.validateParentIssue(JiraServiceContext context,
Issue issue,
Issue parentIssue,
String fieldNameParentIssueKey)
Validates the given parent issue key for issue key.
|
void |
DefaultIssueToSubTaskConversionService.validateTargetIssueType(JiraServiceContext context,
Issue issue,
IssueType issueType,
String fieldNameIssueTypeId) |
void |
DefaultSubTaskToIssueConversionService.validateTargetIssueType(JiraServiceContext context,
Issue issue,
IssueType issueType,
String fieldNameIssueTypeId) |
void |
IssueConversionService.validateTargetIssueType(JiraServiceContext context,
Issue issue,
IssueType issueType,
String fieldNameIssueTypeId)
Validates that the issue can be converted to given issue type.
|
void |
DefaultIssueConversionService.validateTargetStatus(JiraServiceContext context,
Status status,
String fieldName,
Issue issue,
IssueType issueType) |
void |
IssueConversionService.validateTargetStatus(JiraServiceContext context,
Status status,
String fieldName,
Issue issue,
IssueType issueType)
Validates that the target status is a valid status for the issue's
project and the target issue type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultUserPickerSearchService.canPerformAjaxSearch(JiraServiceContext jiraServiceContext) |
boolean |
UserSearchService.canPerformAjaxSearch(JiraServiceContext jiraServiceContext)
Returns true only if UserPicker Ajax search is enabled AND the user in the context has com.atlassian.jira.user.ApplicationUser Browse permission.
|
boolean |
UserPickerSearchService.canPerformAjaxSearch(JiraServiceContext jiraServiceContext)
Deprecated.
Returns true only if UserPicker Ajax search is enabled AND the user in the context has com.atlassian.jira.user.ApplicationUser Browse permission.
|
boolean |
DefaultUserPickerSearchService.canShowEmailAddresses(JiraServiceContext jiraServiceContext) |
boolean |
UserSearchService.canShowEmailAddresses(JiraServiceContext jiraServiceContext)
Whether or not the UserPicker Ajax should search or show email addresses
|
boolean |
UserPickerSearchService.canShowEmailAddresses(JiraServiceContext jiraServiceContext)
Deprecated.
Whether or not the UserPicker Ajax should search or show email addresses
|
List<ApplicationUser> |
DefaultUserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query) |
List<ApplicationUser> |
UserSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query)
Get Users based on a query string.
|
List<ApplicationUser> |
UserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query)
Deprecated.
Get Users based on a query string.
|
List<ApplicationUser> |
DefaultUserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query,
UserSearchParams userSearchParams) |
List<ApplicationUser> |
UserSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query,
UserSearchParams userSearchParams)
Get Users based on a query string.
|
List<ApplicationUser> |
UserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query,
UserSearchParams userSearchParams)
Deprecated.
Get Users based on a query string.
|
List<ApplicationUser> |
DefaultUserPickerSearchService.findUsersAllowEmptyQuery(JiraServiceContext jiraServiceContext,
String query) |
List<ApplicationUser> |
UserSearchService.findUsersAllowEmptyQuery(JiraServiceContext jiraServiceContext,
String query)
Get Users based on a query string.
|
List<ApplicationUser> |
UserPickerSearchService.findUsersAllowEmptyQuery(JiraServiceContext jiraServiceContext,
String query)
Deprecated.
Get Users based on a query string.
|
ApplicationUser |
DefaultUserPickerSearchService.getUserByName(JiraServiceContext jiraServiceContext,
String query) |
ApplicationUser |
UserSearchService.getUserByName(JiraServiceContext jiraServiceContext,
String query)
Returns a user by exact username
|
ApplicationUser |
UserPickerSearchService.getUserByName(JiraServiceContext jiraServiceContext,
String query)
Deprecated.
Returns a user by exact username
|
Modifier and Type | Method and Description |
---|---|
WhitelistService.WhitelistResult |
DefaultWhitelistService.getRules(JiraServiceContext context) |
WhitelistService.WhitelistResult |
WhitelistService.getRules(JiraServiceContext context)
Deprecated.
Replaced by
WhitelistService.getAll() . Since v6.1. |
WhitelistService.WhitelistUpdateValidationResult |
DefaultWhitelistService.validateUpdateRules(JiraServiceContext context,
List<String> rules,
boolean disabled) |
WhitelistService.WhitelistUpdateValidationResult |
WhitelistService.validateUpdateRules(JiraServiceContext context,
List<String> rules,
boolean disabled)
Deprecated.
Replaced by
WhitelistService.add(com.atlassian.plugins.whitelist.WhitelistRule) ,
WhitelistService.remove(int) ,
WhitelistService.disableWhitelist() and
WhitelistService.enableWhitelist() . Since v6.1. |
Modifier and Type | Method and Description |
---|---|
JiraWorkflow |
DefaultWorkflowService.copyWorkflow(JiraServiceContext jiraServiceContext,
String clonedWorkflowName,
String clonedWorkflowDescription,
JiraWorkflow workflowToClone) |
JiraWorkflow |
WorkflowService.copyWorkflow(JiraServiceContext jiraServiceContext,
String clonedWorkflowName,
String clonedWorkflowDescription,
JiraWorkflow workflowToClone)
Clones and persists a new workflow with the name given.
|
JiraWorkflow |
DefaultWorkflowService.createDraftWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName) |
JiraWorkflow |
WorkflowService.createDraftWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName)
Creates a copy of an active workflow for editing.
|
boolean |
DefaultWorkflowService.deleteDraftWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName) |
boolean |
WorkflowService.deleteDraftWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName)
Deletes draft workflows (there should only be one) that are associated with the given parent workflow name.
|
JiraWorkflow |
DefaultWorkflowService.getDraftWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName) |
JiraWorkflow |
WorkflowService.getDraftWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName)
Given a parentWorkflowName, this methods will retrieved the relevant draft workflow linked to that
parent.
|
JiraWorkflow |
DefaultWorkflowService.getWorkflow(JiraServiceContext jiraServiceContext,
String name) |
JiraWorkflow |
WorkflowService.getWorkflow(JiraServiceContext jiraServiceContext,
String name)
Returns the workflow with the given name.
|
boolean |
DefaultWorkflowService.isStepOnDraftWithNoTransitionsOnParentWorkflow(JiraServiceContext jiraServiceContext,
JiraWorkflow workflow,
int stepId) |
boolean |
WorkflowService.isStepOnDraftWithNoTransitionsOnParentWorkflow(JiraServiceContext jiraServiceContext,
JiraWorkflow workflow,
int stepId)
Deprecated.
Depreciated as of 7.3. Method was used to check if transition can be added to a status (status had to have at least one outgoing transition). After fixing https://jira.atlassian.com/browse/JRA-19091 this is no longer needed.
|
void |
DefaultWorkflowService.overwriteActiveWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName) |
void |
WorkflowService.overwriteActiveWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName)
This method will overwrite the parentWorkflow with a draft Workflow if
it exists.
|
void |
DefaultWorkflowService.updateWorkflow(JiraServiceContext jiraServiceContext,
JiraWorkflow workflow) |
void |
WorkflowService.updateWorkflow(JiraServiceContext jiraServiceContext,
JiraWorkflow workflow)
Updates the workflow descriptor provided in the persistance mechanism implemented.
|
void |
DefaultWorkflowService.updateWorkflowNameAndDescription(JiraServiceContext jiraServiceContext,
JiraWorkflow currentWorkflow,
String newName,
String newDescription) |
void |
WorkflowService.updateWorkflowNameAndDescription(JiraServiceContext jiraServiceContext,
JiraWorkflow currentWorkflow,
String newName,
String newDescription)
Used to change the name and description of an existing worfklow with the given name.
|
void |
DefaultWorkflowService.validateAddWorkflowTransitionToDraft(JiraServiceContext jiraServiceContext,
JiraWorkflow newJiraWorkflow,
int stepId) |
void |
WorkflowService.validateAddWorkflowTransitionToDraft(JiraServiceContext jiraServiceContext,
JiraWorkflow newJiraworkflow,
int stepId)
Validates if a workflow transition can be added to a draft.
|
void |
DefaultWorkflowService.validateCopyWorkflow(JiraServiceContext jiraServiceContext,
String newWorkflowName) |
void |
WorkflowService.validateCopyWorkflow(JiraServiceContext jiraServiceContext,
String newWorkflowName)
Validates if a workflow can be cloned and saved with the provided name.
|
void |
DefaultWorkflowService.validateOverwriteWorkflow(JiraServiceContext jiraServiceContext,
String workflowName) |
void |
WorkflowService.validateOverwriteWorkflow(JiraServiceContext jiraServiceContext,
String workflowName)
Validates that the draft workflow with the given name is allowed to be saved into the corresponding active
workflow.
|
void |
DefaultWorkflowService.validateUpdateWorkflowNameAndDescription(JiraServiceContext jiraServiceContext,
JiraWorkflow currentWorkflow,
String newWorkflowName) |
void |
WorkflowService.validateUpdateWorkflowNameAndDescription(JiraServiceContext jiraServiceContext,
JiraWorkflow currentWorkflow,
String newWorkflowName)
Validates that the workflow with currentName can have its name and description changed to newWorkflowName and
newDescription.
|
Modifier and Type | Method and Description |
---|---|
String |
DefaultIndexPathService.getCommentIndexPath(JiraServiceContext serviceContext) |
String |
IndexPathService.getCommentIndexPath(JiraServiceContext serviceContext)
Returns the path of JIRA's comment indexes.
|
String |
DefaultIndexPathService.getIndexRootPath(JiraServiceContext serviceContext) |
String |
IndexPathService.getIndexRootPath(JiraServiceContext serviceContext)
Returns the root path of JIRA's indexes.
|
String |
DefaultIndexPathService.getIssueIndexPath(JiraServiceContext serviceContext) |
String |
IndexPathService.getIssueIndexPath(JiraServiceContext serviceContext)
Returns the path of JIRA's issue indexes.
|
String |
DefaultIndexPathService.getPluginIndexRootPath(JiraServiceContext serviceContext) |
String |
IndexPathService.getPluginIndexRootPath(JiraServiceContext serviceContext)
Returns the root path of JIRA's plugin indexes.
|
String |
DefaultIndexPathService.getSharedEntityIndexPath(JiraServiceContext serviceContext) |
String |
IndexPathService.getSharedEntityIndexPath(JiraServiceContext serviceContext)
Returns the path of JIRA's shared entity indexes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JaacsService.addRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId)
Adding a new remote address.
|
boolean |
DefaultJaacsService.addRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId) |
boolean |
JaacsService.deleteApplication(JiraServiceContext jiraServiceContext,
long applicationId)
Delete a remote address.
|
boolean |
DefaultJaacsService.deleteApplication(JiraServiceContext jiraServiceContext,
long applicationId) |
Set<com.atlassian.crowd.model.application.RemoteAddress> |
JaacsService.getRemoteAddresses(JiraServiceContext jiraServiceContext,
long applicationId)
Retrieve a list of configured remote addresses.
|
Set<com.atlassian.crowd.model.application.RemoteAddress> |
DefaultJaacsService.getRemoteAddresses(JiraServiceContext jiraServiceContext,
long applicationId) |
boolean |
JaacsService.resetPassword(JiraServiceContext jiraServiceContext,
String password,
long applicationId)
Reset a password.
|
boolean |
DefaultJaacsService.resetPassword(JiraServiceContext jiraServiceContext,
String password,
long applicationId) |
boolean |
JaacsService.validateAddRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId)
Validate adding a new remote address.
|
boolean |
DefaultJaacsService.validateAddRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId) |
boolean |
JaacsService.validateDeleteApplication(JiraServiceContext jiraServiceContext,
long applicationId)
Validate deleting a remote address.
|
boolean |
DefaultJaacsService.validateDeleteApplication(JiraServiceContext jiraServiceContext,
long applicationId) |
protected void |
DefaultJaacsService.validateJiraServiceContext(JiraServiceContext jiraServiceContext) |
boolean |
JaacsService.validateResetPassword(JiraServiceContext jiraServiceContext,
String password,
long applicationId)
Validate resetting a password.
|
boolean |
DefaultJaacsService.validateResetPassword(JiraServiceContext jiraServiceContext,
String password,
long applicationId) |
Modifier and Type | Method and Description |
---|---|
void |
ProjectRoleSecurityAndNotificationType.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext) |
Modifier and Type | Method and Description |
---|---|
JiraServiceContext |
JiraServiceContextFactory.createContext(ApplicationUser user)
Instantiates JiraServiceContext with given user and new empty error collection.
|
JiraServiceContext |
JiraServiceContextFactory.createContext(ApplicationUser user,
ErrorCollection errorCollection)
Instantiates JiraServiceContext with user and error collection.
|
JiraServiceContext |
JiraServiceContextFactory.createContext(ApplicationUser user,
ErrorCollection errorCollection,
I18nHelper i18nHelper)
Instantiates JiraServiceContext with user and error collection and I18nHelper.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
AttachmentOperation.perform(Attachment attachment,
JiraServiceContext context)
Performs an operation on an attachment in a given context.
|
Modifier and Type | Method and Description |
---|---|
abstract Worklog |
WorklogOperation.validateAndPerformAndAutoAdjustEstimate(JiraServiceContext serviceContext,
Issue issue,
WorklogInputParameters worklogInputParameters) |
abstract Worklog |
WorklogOperation.validateAndPerformAndLeaveEstimate(JiraServiceContext serviceContext,
Issue issue,
WorklogInputParameters worklogInputParameters) |
abstract Worklog |
WorklogOperation.validateAndPerformAndManualAdjustEstimate(JiraServiceContext serviceContext,
Issue issue,
WorklogInputParameters worklogInputParameters) |
abstract Worklog |
WorklogOperation.validateAndPerformAndSetNewEstimate(JiraServiceContext serviceContext,
Issue issue,
WorklogInputParameters worklogInputParameters) |
Modifier and Type | Method and Description |
---|---|
void |
SchemeType.doValidation(String key,
Map<String,String> parameters,
JiraServiceContext jiraServiceContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
TrustedApplicationService.delete(JiraServiceContext jiraServiceContext,
long id)
Deletes the
TrustedApplicationInfo with the specified ID. |
boolean |
DefaultTrustedApplicationService.delete(JiraServiceContext context,
long id) |
TrustedApplicationInfo |
TrustedApplicationService.get(JiraServiceContext jiraServiceContext,
long id)
Find a
TrustedApplicationInfo given an ID. |
TrustedApplicationInfo |
DefaultTrustedApplicationService.get(JiraServiceContext context,
long id) |
TrustedApplicationInfo |
TrustedApplicationService.get(JiraServiceContext jiraServiceContext,
String applicationId)
Find a
TrustedApplicationInfo given an application ID. |
TrustedApplicationInfo |
DefaultTrustedApplicationService.get(JiraServiceContext context,
String applicationId) |
Set<TrustedApplicationInfo> |
TrustedApplicationService.getAll(JiraServiceContext jiraServiceContext)
Find all
TrustedApplicationInfo objects in the system. |
Set<TrustedApplicationInfo> |
DefaultTrustedApplicationService.getAll(JiraServiceContext context) |
TrustedApplicationInfo |
TrustedApplicationService.store(JiraServiceContext jiraServiceContext,
TrustedApplicationInfo info)
Persist a
TrustedApplicationInfo |
TrustedApplicationInfo |
DefaultTrustedApplicationService.store(JiraServiceContext context,
TrustedApplicationInfo info) |
boolean |
TrustedApplicationDelegateValidator.validate(JiraServiceContext context,
I18nHelper helper,
SimpleTrustedApplication application)
Runs the validate() method on all validators in order of registration, regardless of failure in earlier validators
|
boolean |
TrustedApplicationSemanticValidator.validate(JiraServiceContext context,
I18nHelper helper,
SimpleTrustedApplication application) |
boolean |
TrustedApplicationSyntacticValidator.validate(JiraServiceContext context,
I18nHelper helper,
SimpleTrustedApplication application)
Validate the details of the trusted application request.
|
boolean |
TrustedApplicationValidator.validate(JiraServiceContext context,
I18nHelper helper,
SimpleTrustedApplication application)
Validate the details of the trusted application .
|
boolean |
TrustedApplicationSyntacticValidator.validate(JiraServiceContext context,
I18nHelper helper,
String urlString)
Validate the details of the trusted application request.
|
boolean |
TrustedApplicationService.validate(JiraServiceContext jiraServiceContext,
SimpleTrustedApplication builder)
Validate that the information contained in the builder is valid and able to be saved.
|
boolean |
DefaultTrustedApplicationService.validate(JiraServiceContext jiraServiceContext,
SimpleTrustedApplication builder) |
Modifier and Type | Method and Description |
---|---|
void |
GroupCF.doValidation(String key,
Map<String,String> parameters,
JiraServiceContext jiraServiceContext) |
void |
CurrentAssignee.doValidation(String key,
Map<String,String> parameters,
JiraServiceContext jiraServiceContext) |
void |
SingleUser.doValidation(String key,
Map<String,String> parameters,
JiraServiceContext jiraServiceContext) |
void |
UserCF.doValidation(String key,
Map<String,String> parameters,
JiraServiceContext jiraServiceContext) |
void |
CurrentReporter.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext) |
void |
ProjectLead.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext) |
void |
GroupDropdown.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext) |
void |
ApplicationRoleSecurityType.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext) |
void |
CurrentReporterHasCreatePermission.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext) |
void |
CurrentAssigneeHasAssignablePermission.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultShareTypeValidatorUtils.hasValidSharePermissions(JiraServiceContext context,
SharedEntity entity) |
boolean |
ShareTypeValidatorUtils.hasValidSharePermissions(JiraServiceContext context,
SharedEntity entity)
Validates to see if a entity containing a Set of
SharePermission is valid. |
boolean |
DefaultShareTypeValidatorUtils.isValidSearchParameter(JiraServiceContext context,
ShareTypeSearchParameter searchParameter) |
boolean |
ShareTypeValidatorUtils.isValidSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
Check to see if the passed SearchParameter is valid..
|
boolean |
DefaultShareTypeValidatorUtils.isValidSharePermission(JiraServiceContext context,
SharedEntity entity)
Deprecated.
|
boolean |
ShareTypeValidatorUtils.isValidSharePermission(JiraServiceContext context,
SharedEntity entity)
Deprecated.
use hasValidSharePermissions instead
|
Modifier and Type | Method and Description |
---|---|
boolean |
AuthenticatedUserShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter) |
boolean |
GlobalShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter) |
boolean |
ProjectShareTypeValidator.checkSearchParameter(JiraServiceContext serviceCtx,
ShareTypeSearchParameter searchParameter) |
boolean |
GroupShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter) |
boolean |
UserShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
Checks if user key passed in search parameter is an existing user.
|
boolean |
ShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
Check to see if the passed SearchParameter is valid for the ShareType.
|
boolean |
AuthenticatedUserShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
The user must have the authenticated user permission to share filters.
|
boolean |
GlobalShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
The user must have the global permission to share filters.
|
boolean |
ProjectShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
checks that the user has browse permission for the given project if no role is given, else checks that the
user is part of that role for the given project.
|
boolean |
GroupShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission) |
boolean |
UserShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
Checks if current user has proper permissions and user to be shared with exists
|
boolean |
ShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
Checks if the passed SharePermission is valid for the associated ShareType.
|
Modifier and Type | Method and Description |
---|---|
void |
TimeZoneServiceCachingDecorator.clearDefaultTimeZone(JiraServiceContext serviceContext) |
void |
TimeZoneServiceImpl.clearDefaultTimeZone(JiraServiceContext serviceContext) |
void |
TimeZoneService.clearDefaultTimeZone(JiraServiceContext serviceContext)
Reset the default time zone to the JVM time zone.
|
void |
TimeZoneServiceCachingDecorator.clearUserDefaultTimeZone(JiraServiceContext serviceContext) |
void |
TimeZoneServiceImpl.clearUserDefaultTimeZone(JiraServiceContext serviceContext) |
void |
TimeZoneService.clearUserDefaultTimeZone(JiraServiceContext serviceContext)
Resets the time zone for this user to the JIRA default time zone.
|
TimeZone |
TimeZoneResolver.getDefaultTimeZone(JiraServiceContext serviceContext)
Returns the JIRA default time zone.
|
TimeZone |
NoDatabaseTimeZoneResolver.getDefaultTimeZone(JiraServiceContext serviceContext)
Returns the system default time zone.
|
TimeZone |
TimeZoneServiceImpl.getDefaultTimeZone(JiraServiceContext serviceContext) |
TimeZoneInfo |
TimeZoneServiceCachingDecorator.getDefaultTimeZoneInfo(JiraServiceContext serviceContext) |
TimeZoneInfo |
TimeZoneServiceImpl.getDefaultTimeZoneInfo(JiraServiceContext serviceContext) |
TimeZoneInfo |
TimeZoneService.getDefaultTimeZoneInfo(JiraServiceContext serviceContext)
Returns the default time zone which is globally configured.
|
TimeZoneInfo |
TimeZoneServiceCachingDecorator.getJVMTimeZoneInfo(JiraServiceContext serviceContext) |
TimeZoneInfo |
TimeZoneServiceImpl.getJVMTimeZoneInfo(JiraServiceContext serviceContext) |
TimeZoneInfo |
TimeZoneService.getJVMTimeZoneInfo(JiraServiceContext serviceContext)
Returns the time zone of the JVM
|
List<TimeZoneInfo> |
TimeZoneServiceCachingDecorator.getTimeZoneInfos(JiraServiceContext serviceContext) |
List<TimeZoneInfo> |
TimeZoneServiceImpl.getTimeZoneInfos(JiraServiceContext serviceContext) |
List<TimeZoneInfo> |
TimeZoneService.getTimeZoneInfos(JiraServiceContext serviceContext)
Retrieves all time zones.
|
List<RegionInfo> |
TimeZoneServiceCachingDecorator.getTimeZoneRegions(JiraServiceContext serviceContext) |
List<RegionInfo> |
TimeZoneServiceImpl.getTimeZoneRegions(JiraServiceContext serviceContext) |
List<RegionInfo> |
TimeZoneService.getTimeZoneRegions(JiraServiceContext serviceContext)
Returns all time zone regions.
|
TimeZone |
TimeZoneResolver.getUserTimeZone(JiraServiceContext serviceContext)
Returns a user's effective time zone.
|
TimeZone |
NoDatabaseTimeZoneResolver.getUserTimeZone(JiraServiceContext serviceContext)
Returns the system default time zone.
|
TimeZone |
TimeZoneServiceImpl.getUserTimeZone(JiraServiceContext serviceContext) |
TimeZoneInfo |
TimeZoneServiceCachingDecorator.getUserTimeZoneInfo(JiraServiceContext serviceContext) |
TimeZoneInfo |
TimeZoneServiceImpl.getUserTimeZoneInfo(JiraServiceContext serviceContext) |
TimeZoneInfo |
TimeZoneService.getUserTimeZoneInfo(JiraServiceContext serviceContext)
Return the time zone for this user.
|
void |
TimeZoneServiceCachingDecorator.setDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext) |
void |
TimeZoneServiceImpl.setDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext) |
void |
TimeZoneService.setDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext)
Allows to set the default time zone.
|
void |
TimeZoneServiceCachingDecorator.setUserDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext) |
void |
TimeZoneServiceImpl.setUserDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext) |
void |
TimeZoneService.setUserDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext)
Sets the default time zone for this user.
|
boolean |
TimeZoneServiceCachingDecorator.usesJiraTimeZone(JiraServiceContext serviceContext) |
boolean |
TimeZoneServiceImpl.usesJiraTimeZone(JiraServiceContext serviceContext) |
boolean |
TimeZoneService.usesJiraTimeZone(JiraServiceContext serviceContext)
Returns true if this user is using the JIRA default time zone or false if the user has is using a custom time zone.
|
Modifier and Type | Method and Description |
---|---|
protected JiraServiceContext |
UserUtilImpl.getServiceContext(ApplicationUser user)
Protected level factory method to allow for better test integration
|
Modifier and Type | Method and Description |
---|---|
Set<TrustedApplicationInfo> |
ExtendedSystemInfoUtilsImpl.getTrustedApplications(JiraServiceContext jiraServiceContext) |
Set<TrustedApplicationInfo> |
ExtendedSystemInfoUtils.getTrustedApplications(JiraServiceContext jiraServiceContext) |
Modifier and Type | Method and Description |
---|---|
JiraServiceContext |
JiraWebActionSupport.getJiraServiceContext()
Provides a service context with the current user which contains this action as its
ErrorCollection . |
Modifier and Type | Method and Description |
---|---|
protected JiraServiceContext |
AbstractDashboardAdministration.getJiraServiceContext(long id) |
protected JiraServiceContext |
AbstractDashboardAdministration.getJiraServiceContext(String owner) |
Modifier and Type | Method and Description |
---|---|
protected JiraServiceContext |
AbstractAdministerFilter.getJiraServiceContext(Long filterId) |
Modifier and Type | Method and Description |
---|---|
protected SharedEntitySearchResult<SearchRequest> |
FilterViewHelper.doExecuteSearch(JiraServiceContext ctx,
SharedEntitySearchParameters searchParameters,
int pageOffset,
int pageWidth) |
protected boolean |
FilterViewHelper.validateSearchParameters(JiraServiceContext ctx,
SharedEntitySearchParameters searchParameters,
int pageOffset,
int pageWidth) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractConvertIssue.addI18nError(JiraServiceContext context,
String fieldName,
String i18nKey)
Convenience method for adding internationalized errors to the error collection
|
protected void |
AbstractConvertIssue.addI18nError(JiraServiceContext context,
String fieldName,
String i18nKey,
String param)
Convenience method for adding internationalized errors to the error collection
|
protected void |
AbstractConvertIssue.addI18nErrorMessage(JiraServiceContext context,
String i18nKey)
Conveniece method for adding internationalized error messages to the error collection
|
protected void |
AbstractConvertIssue.addI18nErrorMessage(JiraServiceContext context,
String i18nKey,
String param)
Convenience method for adding internationalized error messages to the error collection
|
protected abstract void |
AbstractConvertIssue.initExtraFields(ConvertIssueBean bean,
JiraServiceContext context)
Allows subclasses to set and init own fields.
|
protected void |
ConvertSubTaskToIssue.initExtraFields(ConvertIssueBean bean,
JiraServiceContext context) |
protected void |
ConvertIssueToSubTask.initExtraFields(ConvertIssueBean bean,
JiraServiceContext context)
Set the parent issue on the bean.
|
protected void |
AbstractConvertIssue.initRequest(JiraServiceContext context)
Checks for valid state, populates the bean with values from parameters
and updates bean with new GUID
|
void |
IssueCreationHelperBeanImpl.validateCreateIssueFields(JiraServiceContext jiraServiceContext,
Collection<String> providedFields,
Issue issueObject,
FieldScreenRenderer fieldScreenRenderer,
OperationContext operationContext,
IssueInputParameters issueInputParameters,
I18nHelper i18n) |
void |
IssueCreationHelperBean.validateCreateIssueFields(JiraServiceContext jiraServiceContext,
Collection<String> providedFields,
Issue issueObject,
FieldScreenRenderer fieldScreenRenderer,
OperationContext operationContext,
IssueInputParameters issueInputParameters,
I18nHelper i18n)
Deprecated.
|
protected void |
IssueCreationHelperBeanImpl.validateCreateIssueFields(JiraServiceContext jiraServiceContext,
Collection<String> providedFields,
Issue issueObject,
FieldScreenRenderer fieldScreenRenderer,
OperationContext operationContext,
Map<String,String[]> actionParams,
boolean applyDefaults,
boolean skipScreenCheck,
I18nHelper i18n) |
Modifier and Type | Method and Description |
---|---|
protected SharedEntitySearchResult<PortalPage> |
ConfigurePortalPages.PortalPageViewHelper.doExecuteSearch(JiraServiceContext ctx,
SharedEntitySearchParameters searchParameters,
int pageOffset,
int pageWidth) |
protected boolean |
ConfigurePortalPages.PortalPageViewHelper.validateSearchParameters(JiraServiceContext ctx,
SharedEntitySearchParameters searchParameters,
int pageOffset,
int pageWidth) |
Modifier and Type | Method and Description |
---|---|
PortalPage |
PortalPageRetriever.getPortalPage(JiraServiceContext ctx)
Return the PortalPage a user is currently using.
|
Modifier and Type | Method and Description |
---|---|
protected abstract SharedEntitySearchResult<E> |
SharedEntitySearchViewHelper.doExecuteSearch(JiraServiceContext ctx,
SharedEntitySearchParameters searchParameters,
int pageOffset,
int pageWidth)
Execute the search for the passed parameters.
|
List<E> |
SharedEntitySearchViewHelper.getPopularFilters(JiraServiceContext jiraServiceContext)
Gets the filters which have been made favourite by the most people.
|
SharedEntitySearchViewHelper.SearchResult<E> |
SharedEntitySearchViewHelper.search(JiraServiceContext jiraServiceContext)
Performs the search for filters based on the configured state.
|
protected abstract boolean |
SharedEntitySearchViewHelper.validateSearchParameters(JiraServiceContext ctx,
SharedEntitySearchParameters searchParameters,
int pageOffset,
int pageWidth)
Ensure that it is possible to execute a search with the passed parameters.
|
Constructor and Description |
---|
UserPickerFilter(FieldConfigManager fieldConfigManager,
JiraServiceContext jiraServiceContext,
PermissionManager permissionManager,
UserFilterManager userFilterManager,
UserSearchService userSearchService,
ApplicationProperties applicationProperties) |
Copyright © 2002-2021 Atlassian. All Rights Reserved.