|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of JiraServiceContext in com.atlassian.jira.bc |
---|
Classes in com.atlassian.jira.bc that implement JiraServiceContext | |
---|---|
class |
JiraServiceContextImpl
Default implementation of the JiraServiceContext. |
Uses of JiraServiceContext in com.atlassian.jira.bc.customfield |
---|
Methods in com.atlassian.jira.bc.customfield with parameters of type JiraServiceContext | |
---|---|
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.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. |
Uses of JiraServiceContext in com.atlassian.jira.bc.favourites |
---|
Methods in com.atlassian.jira.bc.favourites with parameters of type JiraServiceContext | |
---|---|
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 |
Uses of JiraServiceContext in com.atlassian.jira.bc.filter |
---|
Methods in com.atlassian.jira.bc.filter with parameters of type JiraServiceContext | |
---|---|
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,
com.atlassian.crowd.embedded.api.User user)
|
void |
SearchRequestService.deleteAllFiltersForUser(JiraServiceContext serviceCtx,
com.atlassian.crowd.embedded.api.User 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. |
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 or returns the cron expression if it can't be parsed by the CronExpressionParser . |
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 the Cron Trigger and subscription |
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,
com.atlassian.crowd.embedded.api.User user,
SearchRequest request)
|
SearchRequest |
SearchRequestService.updateFilterOwner(JiraServiceContext serviceCtx,
com.atlassian.crowd.embedded.api.User user,
SearchRequest request)
Persists a SearchRequest to the database - only available to administrators. |
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,
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 Errors are passed back in the ErrorCollection
of the JiraServiceContext |
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. |
Uses of JiraServiceContext in com.atlassian.jira.bc.group |
---|
Methods in com.atlassian.jira.bc.group with parameters of type JiraServiceContext | |
---|---|
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 groupsToJoin,
Collection groupNames)
|
GroupService.BulkEditGroupValidationResult |
GroupService.validateAddGroupsToGroup(JiraServiceContext jiraServiceContext,
Collection groupsToJoin,
Collection 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 groupsToJoin,
Collection userNames)
|
GroupService.BulkEditGroupValidationResult |
GroupService.validateAddUsersToGroup(JiraServiceContext jiraServiceContext,
Collection groupsToJoin,
Collection 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 groupsToJoin,
String userName)
|
boolean |
GroupService.validateAddUserToGroup(JiraServiceContext jiraServiceContext,
Collection 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). |
Uses of JiraServiceContext in com.atlassian.jira.bc.imports.project |
---|
Methods in com.atlassian.jira.bc.imports.project with parameters of type JiraServiceContext | |
---|---|
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 XML backup data and creates a ProjectImportMapper and partitions the XML data for the project. |
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. |
Uses of JiraServiceContext in com.atlassian.jira.bc.issue.attachment |
---|
Methods in com.atlassian.jira.bc.issue.attachment with parameters of type JiraServiceContext | |
---|---|
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. |
Uses of JiraServiceContext in com.atlassian.jira.bc.issue.comment |
---|
Methods in com.atlassian.jira.bc.issue.comment with parameters of type JiraServiceContext | |
---|---|
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)
|
Uses of JiraServiceContext in com.atlassian.jira.bc.issue.search |
---|
Methods in com.atlassian.jira.bc.issue.search with parameters of type JiraServiceContext | |
---|---|
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 |
AbstractIssuePickerSearchProvider.getResults(JiraServiceContext context,
IssuePickerSearchService.IssuePickerParameters issuePickerParams,
int maxIssueCount)
|
IssuePickerResults |
IssuePickerSearchProvider.getResults(JiraServiceContext context,
IssuePickerSearchService.IssuePickerParameters issuePickerParams,
int issueRemaining)
Returns a list of issues matching the query string |
Uses of JiraServiceContext in com.atlassian.jira.bc.issue.util |
---|
Methods in com.atlassian.jira.bc.issue.util with parameters of type JiraServiceContext | |
---|---|
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)
This will validate that the passed in group level and project role level id will constitute a valid visibility restriction. |
Uses of JiraServiceContext in com.atlassian.jira.bc.issue.worklog |
---|
Methods in com.atlassian.jira.bc.issue.worklog with parameters of type JiraServiceContext | |
---|---|
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)
Persists a new Worklog on the given Issue . |
Worklog |
DefaultWorklogService.createAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
|
Worklog |
WorklogService.createAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Persists a new Worklog on the given Issue . |
Worklog |
DefaultWorklogService.createWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
WorklogAdjustmentAmountResult worklogResult,
boolean dispatchEvent)
|
Worklog |
WorklogService.createWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
WorklogAdjustmentAmountResult worklogAdjustmentAmount,
boolean dispatchEvent)
Persists a new Worklog on the given Issue . |
Worklog |
DefaultWorklogService.createWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogResult,
boolean dispatchEvent)
|
Worklog |
WorklogService.createWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogNewEstimate,
boolean dispatchEvent)
Persists a new Worklog on the given Issue . |
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. |
protected long |
DefaultWorklogService.getDurationForFormattedString(String timeSpent,
JiraServiceContext jiraServiceContext)
|
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,
String author,
String groupLevel,
String roleLevelId,
String timeSpent,
Date startDate,
Long worklogId,
String comment,
Date created,
Date updated,
String 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. |
Uses of JiraServiceContext in com.atlassian.jira.bc.portal |
---|
Methods in com.atlassian.jira.bc.portal with parameters of type JiraServiceContext | |
---|---|
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.updatePortalPageUnconditionally(JiraServiceContext serviceCtx,
com.atlassian.crowd.embedded.api.User user,
PortalPage portalPage)
|
PortalPage |
PortalPageService.updatePortalPageUnconditionally(JiraServiceContext serviceCtx,
com.atlassian.crowd.embedded.api.User user,
PortalPage portalPage)
Updates the specified PortalPage in the database , no permission checks are applied, but the user must be an administrator |
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 |
Uses of JiraServiceContext in com.atlassian.jira.bc.project |
---|
Methods in com.atlassian.jira.bc.project that return JiraServiceContext | |
---|---|
protected JiraServiceContext |
DefaultProjectService.getServiceContext(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errorCollection)
|
Methods in com.atlassian.jira.bc.project with parameters of type JiraServiceContext | |
---|---|
boolean |
DefaultProjectService.isValidAllProjectData(JiraServiceContext serviceContext,
String name,
String key,
String lead,
String url,
Long assigneeType)
|
boolean |
ProjectService.isValidAllProjectData(JiraServiceContext serviceContext,
String name,
String key,
String lead,
String url,
Long assigneeType)
Validates the given project fields. |
boolean |
DefaultProjectService.isValidAllProjectData(JiraServiceContext serviceContext,
String name,
String key,
String lead,
String url,
Long assigneeType,
Long avatarId)
|
boolean |
ProjectService.isValidAllProjectData(JiraServiceContext serviceContext,
String name,
String key,
String lead,
String url,
Long assigneeType,
Long avatarId)
Validates the given project fields. |
boolean |
DefaultProjectService.isValidProjectKey(JiraServiceContext serviceContext,
String key)
|
boolean |
ProjectService.isValidProjectKey(JiraServiceContext serviceContext,
String key)
Validates the given project key. |
boolean |
DefaultProjectService.isValidRequiredProjectData(JiraServiceContext serviceContext,
String name,
String key,
String lead)
|
boolean |
ProjectService.isValidRequiredProjectData(JiraServiceContext serviceContext,
String name,
String key,
String lead)
Validate the fields required for creating a project. |
Uses of JiraServiceContext in com.atlassian.jira.bc.project.component |
---|
Methods in com.atlassian.jira.bc.project.component with parameters of type JiraServiceContext | |
---|---|
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)
|
Uses of JiraServiceContext in com.atlassian.jira.bc.project.version |
---|
Methods in com.atlassian.jira.bc.project.version with parameters of type JiraServiceContext | |
---|---|
void |
DefaultVersionService.delete(JiraServiceContext context,
VersionService.ValidationResult result)
|
void |
VersionService.delete(JiraServiceContext context,
VersionService.ValidationResult result)
Deletes a version from a project. |
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)
Validates an attempt to delete a version from a project. |
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. |
Uses of JiraServiceContext in com.atlassian.jira.bc.subtask.conversion |
---|
Methods in com.atlassian.jira.bc.subtask.conversion with parameters of type JiraServiceContext | |
---|---|
boolean |
DefaultSubTaskToIssueConversionService.canConvertIssue(JiraServiceContext context,
Issue issue)
|
boolean |
DefaultIssueToSubTaskConversionService.canConvertIssue(JiraServiceContext context,
Issue issue)
As per the IssueToSubTaskConversionService interface. |
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. |
Collection<FieldLayoutItem> |
DefaultIssueConversionService.getFieldLayoutItems(JiraServiceContext context,
Issue originalIssue,
Issue targetIssue)
|
Collection |
IssueConversionService.getFieldLayoutItems(JiraServiceContext context,
Issue originalIssue,
Issue targetIssue)
Retrieves the collection of FieldLayoutItem
required to be entered from converting issue from given issue to given target issue. |
Collection<OrderableField> |
DefaultIssueConversionService.getRemovedFields(JiraServiceContext context,
Issue origIssue,
Issue targetIssue)
|
Collection<OrderableField> |
IssueConversionService.getRemovedFields(JiraServiceContext context,
Issue origIssue,
Issue targetIssue)
Deprecated. Use IssueConversionService.getRemovedFields(Issue, Issue) instead. Since v5.1. |
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 |
DefaultSubTaskToIssueConversionService.preStoreUpdates(JiraServiceContext context,
IssueChangeHolder changeHolder,
Issue currentIssue,
MutableIssue targetIssue)
Removes the parent link and adds change item. |
void |
DefaultIssueToSubTaskConversionService.preStoreUpdates(JiraServiceContext context,
IssueChangeHolder changeHolder,
Issue currentIssue,
MutableIssue targetIssue)
|
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 |
DefaultSubTaskToIssueConversionService.validateTargetIssueType(JiraServiceContext context,
Issue issue,
IssueType issueType,
String fieldNameIssueTypeId)
|
void |
DefaultIssueToSubTaskConversionService.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. |
Uses of JiraServiceContext in com.atlassian.jira.bc.user.search |
---|
Methods in com.atlassian.jira.bc.user.search with parameters of type JiraServiceContext | |
---|---|
boolean |
DefaultUserPickerSearchService.canPerformAjaxSearch(JiraServiceContext jiraServiceContext)
|
boolean |
UserPickerSearchService.canPerformAjaxSearch(JiraServiceContext jiraServiceContext)
Returns true only if UserPicker Ajax search is enabled AND the user in the context has User Browse permission. |
boolean |
DefaultUserPickerSearchService.canShowEmailAddresses(JiraServiceContext jiraServiceContext)
|
boolean |
UserPickerSearchService.canShowEmailAddresses(JiraServiceContext jiraServiceContext)
Whether or not the UserPicker Ajax should search or show email addresses |
List<com.atlassian.crowd.embedded.api.User> |
DefaultUserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query)
|
List<com.atlassian.crowd.embedded.api.User> |
UserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query)
Get Users based on a query string. |
List<com.atlassian.crowd.embedded.api.User> |
DefaultUserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query,
UserSearchParams userSearchParams)
|
List<com.atlassian.crowd.embedded.api.User> |
UserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query,
UserSearchParams userSearchParams)
Get Users based on a query string. |
List<com.atlassian.crowd.embedded.api.User> |
DefaultUserPickerSearchService.findUsersAllowEmptyQuery(JiraServiceContext jiraServiceContext,
String query)
|
List<com.atlassian.crowd.embedded.api.User> |
UserPickerSearchService.findUsersAllowEmptyQuery(JiraServiceContext jiraServiceContext,
String query)
Get Users based on a query string. |
com.atlassian.crowd.embedded.api.User |
DefaultUserPickerSearchService.getUserByName(JiraServiceContext jiraServiceContext,
String query)
|
com.atlassian.crowd.embedded.api.User |
UserPickerSearchService.getUserByName(JiraServiceContext jiraServiceContext,
String query)
Returns a user by exact username |
Uses of JiraServiceContext in com.atlassian.jira.bc.whitelist |
---|
Methods in com.atlassian.jira.bc.whitelist with parameters of type JiraServiceContext | |
---|---|
WhitelistService.WhitelistResult |
DefaultWhitelistService.getRules(JiraServiceContext context)
|
WhitelistService.WhitelistResult |
WhitelistService.getRules(JiraServiceContext context)
Returns a list of rules that are currently allowed in the whitelist. |
WhitelistService.WhitelistUpdateValidationResult |
DefaultWhitelistService.validateUpdateRules(JiraServiceContext context,
List<String> rules,
boolean disabled)
|
WhitelistService.WhitelistUpdateValidationResult |
WhitelistService.validateUpdateRules(JiraServiceContext context,
List<String> rules,
boolean disabled)
Validates that the current user is allowed to update the whitelist by checking if they are a system administrator. |
Uses of JiraServiceContext in com.atlassian.jira.bc.workflow |
---|
Methods in com.atlassian.jira.bc.workflow with parameters of type JiraServiceContext | |
---|---|
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)
Given a draft workflow and a step Id, this method returns true, if the step does not have any transitions on the original workflow. |
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. |
Uses of JiraServiceContext in com.atlassian.jira.config.util |
---|
Methods in com.atlassian.jira.config.util with parameters of type JiraServiceContext | |
---|---|
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. |
void |
DefaultIndexPathService.setIndexRootPath(JiraServiceContext serviceContext,
String indexPath)
|
void |
IndexPathService.setIndexRootPath(JiraServiceContext serviceContext,
String indexPath)
Specify an explicit (custom) index root path. |
void |
DefaultIndexPathService.setUseDefaultDirectory(JiraServiceContext serviceContext)
|
void |
IndexPathService.setUseDefaultDirectory(JiraServiceContext serviceContext)
Specify that the default location within JiraHome should be used to store indexes. |
Uses of JiraServiceContext in com.atlassian.jira.crowd.embedded |
---|
Methods in com.atlassian.jira.crowd.embedded with parameters of type JiraServiceContext | |
---|---|
boolean |
DefaultJaacsService.addRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId)
|
boolean |
JaacsService.addRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId)
Adding a new remote address. |
boolean |
DefaultJaacsService.deleteApplication(JiraServiceContext jiraServiceContext,
long applicationId)
|
boolean |
JaacsService.deleteApplication(JiraServiceContext jiraServiceContext,
long applicationId)
Delete a remote address. |
Set<com.atlassian.crowd.model.application.RemoteAddress> |
DefaultJaacsService.getRemoteAddresses(JiraServiceContext jiraServiceContext,
long applicationId)
|
Set<com.atlassian.crowd.model.application.RemoteAddress> |
JaacsService.getRemoteAddresses(JiraServiceContext jiraServiceContext,
long applicationId)
Retrieve a list of configured remote addresses. |
boolean |
DefaultJaacsService.resetPassword(JiraServiceContext jiraServiceContext,
String password,
long applicationId)
|
boolean |
JaacsService.resetPassword(JiraServiceContext jiraServiceContext,
String password,
long applicationId)
Reset a password. |
boolean |
DefaultJaacsService.validateAddRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId)
|
boolean |
JaacsService.validateAddRemoteAddress(JiraServiceContext jiraServiceContext,
String remoteAddress,
long applicationId)
Validate adding a new remote address. |
boolean |
DefaultJaacsService.validateDeleteApplication(JiraServiceContext jiraServiceContext,
long applicationId)
|
boolean |
JaacsService.validateDeleteApplication(JiraServiceContext jiraServiceContext,
long applicationId)
Validate deleting a remote address. |
protected void |
DefaultJaacsService.validateJiraServiceContext(JiraServiceContext jiraServiceContext)
|
boolean |
DefaultJaacsService.validateResetPassword(JiraServiceContext jiraServiceContext,
String password,
long applicationId)
|
boolean |
JaacsService.validateResetPassword(JiraServiceContext jiraServiceContext,
String password,
long applicationId)
Validate resetting a password. |
Uses of JiraServiceContext in com.atlassian.jira.notification.type |
---|
Methods in com.atlassian.jira.notification.type with parameters of type JiraServiceContext | |
---|---|
void |
ProjectRoleSecurityAndNotificationType.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
Uses of JiraServiceContext in com.atlassian.jira.rest.v1.issues |
---|
Methods in com.atlassian.jira.rest.v1.issues that return JiraServiceContext | |
---|---|
protected JiraServiceContext |
IssuePickerResource.getContext()
|
Uses of JiraServiceContext in com.atlassian.jira.rest.v2.issue.worklog |
---|
Methods in com.atlassian.jira.rest.v2.issue.worklog with parameters of type JiraServiceContext | |
---|---|
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)
|
Uses of JiraServiceContext in com.atlassian.jira.scheme |
---|
Methods in com.atlassian.jira.scheme with parameters of type JiraServiceContext | |
---|---|
void |
SchemeType.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
Uses of JiraServiceContext in com.atlassian.jira.security.auth.trustedapps |
---|
Methods in com.atlassian.jira.security.auth.trustedapps with parameters of type JiraServiceContext | |
---|---|
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 |
TrustedApplicationSyntacticValidator.validate(JiraServiceContext context,
I18nHelper helper,
SimpleTrustedApplication application)
Validate the details of the trusted application request. |
boolean |
TrustedApplicationSemanticValidator.validate(JiraServiceContext context,
I18nHelper helper,
SimpleTrustedApplication application)
|
boolean |
TrustedApplicationValidator.validate(JiraServiceContext context,
I18nHelper helper,
SimpleTrustedApplication application)
Validate the details of the trusted application . |
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 |
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)
|
Uses of JiraServiceContext in com.atlassian.jira.security.type |
---|
Methods in com.atlassian.jira.security.type with parameters of type JiraServiceContext | |
---|---|
void |
GroupDropdown.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
void |
ProjectLead.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
void |
GroupCF.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
void |
CurrentReporter.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
void |
SingleUser.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
void |
CurrentAssigneeHasAssignablePermission.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
void |
CurrentAssignee.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
void |
UserCF.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
void |
CurrentReporterHasCreatePermission.doValidation(String key,
Map parameters,
JiraServiceContext jiraServiceContext)
|
Uses of JiraServiceContext in com.atlassian.jira.sharing |
---|
Methods in com.atlassian.jira.sharing with parameters of type JiraServiceContext | |
---|---|
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)
|
boolean |
ShareTypeValidatorUtils.isValidSharePermission(JiraServiceContext context,
SharedEntity entity)
Validates to see if a given Set of SharePermission is valid. |
Uses of JiraServiceContext in com.atlassian.jira.sharing.type |
---|
Methods in com.atlassian.jira.sharing.type with parameters of type JiraServiceContext | |
---|---|
boolean |
GroupShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
|
boolean |
ProjectShareTypeValidator.checkSearchParameter(JiraServiceContext serviceCtx,
ShareTypeSearchParameter searchParameter)
|
boolean |
GlobalShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
|
boolean |
ShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
Check to see if the passed SearchParameter is valid for the ShareType. |
boolean |
GroupShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
|
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 |
GlobalShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
The user must have the global permission to share filters. |
boolean |
ShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
Checks if the passed SharePermission is valid for the associated ShareType. |
Uses of JiraServiceContext in com.atlassian.jira.timezone |
---|
Methods in com.atlassian.jira.timezone with parameters of type JiraServiceContext | |
---|---|
void |
TimeZoneServiceImpl.clearDefaultTimeZone(JiraServiceContext serviceContext)
|
void |
TimeZoneServiceCachingDecorator.clearDefaultTimeZone(JiraServiceContext serviceContext)
|
void |
TimeZoneService.clearDefaultTimeZone(JiraServiceContext serviceContext)
Reset the default time zone to the JVM time zone. |
void |
TimeZoneServiceImpl.clearUserDefaultTimeZone(JiraServiceContext serviceContext)
|
void |
TimeZoneServiceCachingDecorator.clearUserDefaultTimeZone(JiraServiceContext serviceContext)
|
void |
TimeZoneService.clearUserDefaultTimeZone(JiraServiceContext serviceContext)
Resets the time zone for this user to the JIRA default time zone. |
TimeZone |
TimeZoneServiceImpl.getDefaultTimeZone(JiraServiceContext serviceContext)
|
TimeZone |
TimeZoneResolver.getDefaultTimeZone(JiraServiceContext serviceContext)
Returns the JIRA default time zone. |
TimeZone |
NoDatabaseTimeZoneResolver.getDefaultTimeZone(JiraServiceContext serviceContext)
Returns the system default time zone. |
TimeZoneInfo |
TimeZoneServiceImpl.getDefaultTimeZoneInfo(JiraServiceContext serviceContext)
|
TimeZoneInfo |
TimeZoneServiceCachingDecorator.getDefaultTimeZoneInfo(JiraServiceContext serviceContext)
|
TimeZoneInfo |
TimeZoneService.getDefaultTimeZoneInfo(JiraServiceContext serviceContext)
Returns the default time zone which is globally configured. |
TimeZoneInfo |
TimeZoneServiceImpl.getJVMTimeZoneInfo(JiraServiceContext serviceContext)
|
TimeZoneInfo |
TimeZoneServiceCachingDecorator.getJVMTimeZoneInfo(JiraServiceContext serviceContext)
|
TimeZoneInfo |
TimeZoneService.getJVMTimeZoneInfo(JiraServiceContext serviceContext)
Returns the time zone of the JVM |
List<TimeZoneInfo> |
TimeZoneServiceImpl.getTimeZoneInfos(JiraServiceContext serviceContext)
|
List<TimeZoneInfo> |
TimeZoneServiceCachingDecorator.getTimeZoneInfos(JiraServiceContext serviceContext)
|
List<TimeZoneInfo> |
TimeZoneService.getTimeZoneInfos(JiraServiceContext serviceContext)
Retrieves all time zones. |
List<RegionInfo> |
TimeZoneServiceImpl.getTimeZoneRegions(JiraServiceContext serviceContext)
|
List<RegionInfo> |
TimeZoneServiceCachingDecorator.getTimeZoneRegions(JiraServiceContext serviceContext)
|
List<RegionInfo> |
TimeZoneService.getTimeZoneRegions(JiraServiceContext serviceContext)
Returns all time zone regions. |
TimeZone |
TimeZoneServiceImpl.getUserTimeZone(JiraServiceContext serviceContext)
|
TimeZone |
TimeZoneResolver.getUserTimeZone(JiraServiceContext serviceContext)
Returns a user's effective time zone. |
TimeZone |
NoDatabaseTimeZoneResolver.getUserTimeZone(JiraServiceContext serviceContext)
Returns the system default time zone. |
TimeZoneInfo |
TimeZoneServiceImpl.getUserTimeZoneInfo(JiraServiceContext serviceContext)
|
TimeZoneInfo |
TimeZoneServiceCachingDecorator.getUserTimeZoneInfo(JiraServiceContext serviceContext)
|
TimeZoneInfo |
TimeZoneService.getUserTimeZoneInfo(JiraServiceContext serviceContext)
Return the time zone for this user. |
void |
TimeZoneServiceImpl.setDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext)
|
void |
TimeZoneServiceCachingDecorator.setDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext)
|
void |
TimeZoneService.setDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext)
Allows to set the default time zone. |
void |
TimeZoneServiceImpl.setUserDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext)
|
void |
TimeZoneServiceCachingDecorator.setUserDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext)
|
void |
TimeZoneService.setUserDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext)
Sets the default time zone for this user. |
boolean |
TimeZoneServiceImpl.usesJiraTimeZone(JiraServiceContext serviceContext)
|
boolean |
TimeZoneServiceCachingDecorator.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. |
Uses of JiraServiceContext in com.atlassian.jira.user.util |
---|
Methods in com.atlassian.jira.user.util that return JiraServiceContext | |
---|---|
protected JiraServiceContext |
UserUtilImpl.getServiceContext(com.atlassian.crowd.embedded.api.User user)
Protected level factory method to allow for better test integration |
Uses of JiraServiceContext in com.atlassian.jira.util |
---|
Methods in com.atlassian.jira.util with parameters of type JiraServiceContext | |
---|---|
void |
FilterCronValidationErrorMappingUtil.mapError(JiraServiceContext context,
ParseException e)
|
Uses of JiraServiceContext in com.atlassian.jira.util.system |
---|
Methods in com.atlassian.jira.util.system with parameters of type JiraServiceContext | |
---|---|
Set<TrustedApplicationInfo> |
ExtendedSystemInfoUtils.getTrustedApplications(JiraServiceContext jiraServiceContext)
|
Set<TrustedApplicationInfo> |
ExtendedSystemInfoUtilsImpl.getTrustedApplications(JiraServiceContext jiraServiceContext)
|
Uses of JiraServiceContext in com.atlassian.jira.web.action |
---|
Methods in com.atlassian.jira.web.action that return JiraServiceContext | |
---|---|
JiraServiceContext |
JiraWebActionSupport.getJiraServiceContext()
Provides a service context with the current user which contains this action as its ErrorCollection . |
Uses of JiraServiceContext in com.atlassian.jira.web.action.admin.dashboards |
---|
Methods in com.atlassian.jira.web.action.admin.dashboards that return JiraServiceContext | |
---|---|
protected JiraServiceContext |
AbstractDashboardAdministration.getJiraServiceContext(long id)
|
protected JiraServiceContext |
AbstractDashboardAdministration.getJiraServiceContext(String owner)
|
Uses of JiraServiceContext in com.atlassian.jira.web.action.admin.filters |
---|
Methods in com.atlassian.jira.web.action.admin.filters that return JiraServiceContext | |
---|---|
protected JiraServiceContext |
AbstractAdministerFilter.getJiraServiceContext(Long filterId)
|
Uses of JiraServiceContext in com.atlassian.jira.web.action.filter |
---|
Methods in com.atlassian.jira.web.action.filter with parameters of type JiraServiceContext | |
---|---|
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)
|
Uses of JiraServiceContext in com.atlassian.jira.web.action.issue |
---|
Methods in com.atlassian.jira.web.action.issue with parameters of type JiraServiceContext | |
---|---|
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,
Map<String,String[]> actionParams,
boolean applyDefaults,
I18nHelper i18n)
|
void |
IssueCreationHelperBean.validateCreateIssueFields(JiraServiceContext jiraServiceContext,
Collection<String> providedFields,
Issue issueObject,
FieldScreenRenderer fieldScreenRenderer,
OperationContext operationContext,
Map<String,String[]> parameters,
boolean applyDefaults,
I18nHelper i18n)
|
Uses of JiraServiceContext in com.atlassian.jira.web.action.user |
---|
Methods in com.atlassian.jira.web.action.user with parameters of type JiraServiceContext | |
---|---|
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)
|
Uses of JiraServiceContext in com.atlassian.jira.web.action.util.portal |
---|
Methods in com.atlassian.jira.web.action.util.portal with parameters of type JiraServiceContext | |
---|---|
PortalPage |
PortalPageRetriever.getPortalPage(JiraServiceContext ctx)
Return the PortalPage a user is currently using. |
Uses of JiraServiceContext in com.atlassian.jira.web.action.util.sharing |
---|
Methods in com.atlassian.jira.web.action.util.sharing with parameters of type JiraServiceContext | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |