Uses of Interface
com.atlassian.jira.bc.JiraServiceContext

Packages that use JiraServiceContext
com.atlassian.jira.bc   
com.atlassian.jira.bc.customfield   
com.atlassian.jira.bc.favourites   
com.atlassian.jira.bc.filter   
com.atlassian.jira.bc.group   
com.atlassian.jira.bc.imports.project   
com.atlassian.jira.bc.issue.attachment   
com.atlassian.jira.bc.issue.comment   
com.atlassian.jira.bc.issue.search   
com.atlassian.jira.bc.issue.util   
com.atlassian.jira.bc.issue.worklog   
com.atlassian.jira.bc.portal   
com.atlassian.jira.bc.project   
com.atlassian.jira.bc.project.component   
com.atlassian.jira.bc.project.version   
com.atlassian.jira.bc.subtask.conversion   
com.atlassian.jira.bc.user.search   
com.atlassian.jira.bc.workflow   
com.atlassian.jira.notification.type   
com.atlassian.jira.scheme   
com.atlassian.jira.security.auth.trustedapps   
com.atlassian.jira.security.type   
com.atlassian.jira.sharing   
com.atlassian.jira.sharing.type   
com.atlassian.jira.user.util   
com.atlassian.jira.util   
com.atlassian.jira.util.system   
com.atlassian.jira.web.action   
com.atlassian.jira.web.action.filter   
com.atlassian.jira.web.action.issue   
com.atlassian.jira.web.action.portal   
com.atlassian.jira.web.action.util.portal   
com.atlassian.jira.web.action.util.sharing   
com.atlassian.jira.web.dwr   
 

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, User user)
           
 void SearchRequestService.deleteAllFiltersForUser(JiraServiceContext serviceCtx, 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.
 void DefaultSearchRequestAdminService.deleteFiltersForProject(JiraServiceContext serviceCtx, Project project)
           
 void SearchRequestAdminService.deleteFiltersForProject(JiraServiceContext serviceCtx, Project project)
          Delete all filters associated with a project
 SearchRequest DefaultSearchRequestService.getFilter(JiraServiceContext serviceCtx, Long filterId)
           
 SearchRequest SearchRequestService.getFilter(JiraServiceContext serviceCtx, Long filterId)
          Retrieve a given filter by id.
 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.
 String DefaultFilterSubscriptionService.getPrettySchedule(JiraServiceContext context, String cronExpression)
           
 SharedEntitySearchResult DefaultSearchRequestService.search(JiraServiceContext serviceCtx, SharedEntitySearchParameters searchParameters, int pagePosition, int pageWidth)
           
 SharedEntitySearchResult SearchRequestService.search(JiraServiceContext serviceCtx, SharedEntitySearchParameters searchParameters, int pagePosition, int pageWidth)
          Search for the SearchRequests that match the passed searchParameters.
 void FilterSubscriptionService.storeSubscription(JiraServiceContext context, Long filterId, String groupName, String expr, boolean emailOnEmpty)
          Create and store the Cron Trigger and subscription
 void DefaultFilterSubscriptionService.storeSubscription(JiraServiceContext context, Long filterId, String groupName, String expr, boolean emailOnEmpty)
           
 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.
 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.updateSubscription(JiraServiceContext context, Long subscriptionId, String groupName, String expr, boolean emailOnEmpty)
           
 void FilterSubscriptionService.validateCronExpression(JiraServiceContext context, String expr)
          Validates a given cron expression Errors are passed back in the ErrorCollection of the JiraServiceContext
 void DefaultFilterSubscriptionService.validateCronExpression(JiraServiceContext context, String expr)
           
 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.
protected  boolean DefaultSearchRequestService.validateFilterName(JiraServiceContext serviceCtx, SearchRequest request)
          Validates the filtername is valid testing for the two following cases, that the name is not missing and its not too long.
 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.
 

Uses of JiraServiceContext in com.atlassian.jira.bc.group
 

Methods in com.atlassian.jira.bc.group with parameters of type JiraServiceContext
 boolean GroupService.addUsersToGroups(JiraServiceContext jiraServiceContext, Collection groupsToJoin, Collection userNames)
          This method will add the provided users to the specified groups.
 boolean DefaultGroupService.addUsersToGroups(JiraServiceContext jiraServiceContext, Collection groupsToJoin, Collection userNames)
           
 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.areOnlyGroupsGrantingUserAdminPermissions(JiraServiceContext jiraServiceContext, Collection groupNames)
           
 boolean GroupService.delete(JiraServiceContext jiraServiceContext, String groupName, String swapGroup)
          This will delete a group from JIRA.
 boolean DefaultGroupService.delete(JiraServiceContext jiraServiceContext, String groupName, String swapGroup)
           
 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.isAdminDeletingSysAdminGroup(JiraServiceContext jiraServiceContext, String groupName)
           
 boolean GroupService.removeUsersFromGroups(JiraServiceContext jiraServiceContext, GroupRemoveUserMapper mapper)
          This method will remove the provided users from the specified groups.
 boolean DefaultGroupService.removeUsersFromGroups(JiraServiceContext jiraServiceContext, GroupRemoveUserMapper mapper)
           
 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).
 GroupService.BulkEditGroupValidationResult DefaultGroupService.validateAddUsersToGroup(JiraServiceContext jiraServiceContext, Collection groupsToJoin, Collection userNames)
           
 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.validateAddUserToGroup(JiraServiceContext jiraServiceContext, Collection groupsToJoin, String userName)
           
 boolean GroupService.validateDelete(JiraServiceContext jiraServiceContext, String groupName, String swapGroup)
          Validates if the group provided can be deleted in JIRA.
 boolean DefaultGroupService.validateDelete(JiraServiceContext jiraServiceContext, String groupName, String swapGroup)
           
 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.validateRemoveUserFromGroups(JiraServiceContext jiraServiceContext, List groupsToLeave, String userName)
           
 boolean GroupService.validateRemoveUsersFromGroups(JiraServiceContext jiraServiceContext, GroupRemoveUserMapper 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).
 boolean DefaultGroupService.validateRemoveUsersFromGroups(JiraServiceContext jiraServiceContext, GroupRemoveUserMapper mapper)
           
 

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.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 IssuePickerSearchService.getResults(JiraServiceContext context, IssuePickerSearchService.IssuePickerParameters issuePickerParams)
          Gets a list of Issue based on query string.
 Collection DefaultIssuePickerSearchService.getResults(JiraServiceContext context, IssuePickerSearchService.IssuePickerParameters issuePickerParams)
           
 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 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.
 boolean DefaultVisibilityValidator.isValidVisibilityData(JiraServiceContext jiraServiceContext, String i18nPrefix, Issue issue, String groupLevel, String roleLevelId)
           
 

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, Worklog worklog, Long newEstimate, boolean dispatchEvent)
           
 Worklog DefaultWorklogService.createAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
           
 Worklog WorklogService.createAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
          Persists a new Worklog on the given Issue.
 Worklog DefaultWorklogService.createAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
           
 Worklog WorklogService.createAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
          Persists a new Worklog on the given Issue.
 Worklog DefaultWorklogService.createWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext, WorklogService.WorklogAdjustmentAmountResult worklogAdjustmentAmountResult, boolean dispatchEvent)
           
 Worklog WorklogService.createWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext, WorklogService.WorklogAdjustmentAmountResult worklogAdjustmentAmount, boolean dispatchEvent)
          Persists a new Worklog on the given Issue.
 Worklog DefaultWorklogService.createWithNewRemainingEstimate(JiraServiceContext jiraServiceContext, WorklogService.WorklogNewEstimateResult worklogNewEstimate, boolean dispatchEvent)
           
 Worklog WorklogService.createWithNewRemainingEstimate(JiraServiceContext jiraServiceContext, WorklogService.WorklogNewEstimateResult worklogNewEstimate, boolean dispatchEvent)
          Persists a new Worklog on the given Issue.
protected  boolean DefaultWorklogService.delete(JiraServiceContext jiraServiceContext, Worklog worklog, Long newEstimate, boolean dispatchEvent)
           
 boolean DefaultWorklogService.deleteAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
           
 boolean WorklogService.deleteAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
          Deletes the specified Worklog.
 boolean DefaultWorklogService.deleteAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
           
 boolean WorklogService.deleteAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
          Deletes the specified Worklog.
 boolean DefaultWorklogService.deleteWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext, WorklogService.WorklogAdjustmentAmountResult worklogAdjustmentAmountResult, boolean dispatchEvent)
           
 boolean WorklogService.deleteWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext, WorklogService.WorklogAdjustmentAmountResult worklogAdjustmentAmount, boolean dispatchEvent)
          Deletes the specified Worklog.
 boolean DefaultWorklogService.deleteWithNewRemainingEstimate(JiraServiceContext jiraServiceContext, WorklogService.WorklogNewEstimateResult worklogNewEstimate, boolean dispatchEvent)
           
 boolean WorklogService.deleteWithNewRemainingEstimate(JiraServiceContext jiraServiceContext, WorklogService.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 DefaultWorklogService.getByIssueVisibleToUser(JiraServiceContext jiraServiceContext, Issue issue)
           
 List WorklogService.getByIssueVisibleToUser(JiraServiceContext jiraServiceContext, Issue issue)
          Returns all child worklogs of a specified issue that the provided user has permission to see.
 boolean DefaultWorklogService.hasPermissionToCreate(JiraServiceContext jiraServiceContext, Issue issue)
           
 boolean WorklogService.hasPermissionToCreate(JiraServiceContext jiraServiceContext, Issue issue)
          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.isValidNewEstimate(JiraServiceContext jiraServiceContext, String newEstimate)
           
protected  boolean DefaultWorklogService.isValidWorklogInputFields(JiraServiceContext jiraServiceContext, Issue issue, String timeSpent, Date startDate)
           
protected  Worklog DefaultWorklogService.update(JiraServiceContext jiraServiceContext, Worklog worklog, Long newEstimate, boolean dispatchEvent)
           
 Worklog DefaultWorklogService.updateAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
           
 Worklog WorklogService.updateAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
          Updates the provided Worklog.
 Worklog DefaultWorklogService.updateAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
           
 Worklog WorklogService.updateAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext, Worklog worklog, boolean dispatchEvent)
          Updates the provided Worklog.
 Worklog DefaultWorklogService.updateWithNewRemainingEstimate(JiraServiceContext jiraServiceContext, WorklogService.WorklogNewEstimateResult worklogNewEstimate, boolean dispatchEvent)
           
 Worklog WorklogService.updateWithNewRemainingEstimate(JiraServiceContext jiraServiceContext, WorklogService.WorklogNewEstimateResult worklogNewEstimate, boolean dispatchEvent)
          Updates the provided Worklog.
 Worklog DefaultWorklogService.validateCreate(JiraServiceContext jiraServiceContext, Issue issue, String timeSpent, Date startDate, String comment, String groupLevel, String roleLevelId)
           
 Worklog WorklogService.validateCreate(JiraServiceContext jiraServiceContext, Issue issue, String timeSpent, Date startDate, String comment, String groupLevel, String roleLevelId)
          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) to create a worklog for this issue.
 WorklogService.WorklogAdjustmentAmountResult DefaultWorklogService.validateCreateWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext, Issue issue, String timeSpent, Date startDate, String comment, String groupLevel, String roleLevelId, String adjustmentAmount)
           
 WorklogService.WorklogAdjustmentAmountResult WorklogService.validateCreateWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext, Issue issue, String timeSpent, Date startDate, String comment, String groupLevel, String roleLevelId, String adjustmentAmount)
          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) to create a worklog for this issue.
 WorklogService.WorklogNewEstimateResult DefaultWorklogService.validateCreateWithNewEstimate(JiraServiceContext jiraServiceContext, Issue issue, String timeSpent, Date startDate, String comment, String groupLevel, String roleLevelId, String newEstimate)
           
 WorklogService.WorklogNewEstimateResult WorklogService.validateCreateWithNewEstimate(JiraServiceContext jiraServiceContext, Issue issue, String timeSpent, Date startDate, String comment, String groupLevel, String roleLevelId, String newEstimate)
          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) to create a worklog for this issue.
 Worklog DefaultWorklogService.validateDelete(JiraServiceContext jiraServiceContext, Long worklogId)
           
 Worklog 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.
 WorklogService.WorklogAdjustmentAmountResult DefaultWorklogService.validateDeleteWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext, Long worklogId, String adjustmentAmount)
           
 WorklogService.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.
 WorklogService.WorklogNewEstimateResult DefaultWorklogService.validateDeleteWithNewEstimate(JiraServiceContext jiraServiceContext, Long worklogId, String newEstimate)
           
 WorklogService.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)
           
 Worklog DefaultWorklogService.validateUpdate(JiraServiceContext jiraServiceContext, Long worklogId, String timeSpent, Date startDate, String comment, String groupLevel, String roleLevelId)
           
 Worklog WorklogService.validateUpdate(JiraServiceContext jiraServiceContext, Long worklogId, String timeSpent, Date startDate, String comment, String groupLevel, String roleLevelId)
          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.
 WorklogService.WorklogNewEstimateResult DefaultWorklogService.validateUpdateWithNewEstimate(JiraServiceContext jiraServiceContext, Long worklogId, String timeSpent, Date startDate, String comment, String groupLevel, String roleLevelId, String newEstimate)
           
 WorklogService.WorklogNewEstimateResult WorklogService.validateUpdateWithNewEstimate(JiraServiceContext jiraServiceContext, Long worklogId, String timeSpent, Date startDate, String comment, String groupLevel, String roleLevelId, String newEstimate)
          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
 PortletConfiguration AbstractPortalPageService.addPortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, String portletKey, int suggestedColumn, int suggestedRow)
           
 PortletConfiguration PortalPageService.addPortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, String portletKey, int suggestedColumn, int suggestedRow)
          Adds a Portlet to the PortalPage and returns the [@link PortletConfiguration} that represents the newly added configuration.
protected  boolean StandardPortalPageSevice.checkSystemDefaultSharePermissions(JiraServiceContext serviceCtx, SharedEntity.SharePermissions sharePermissions)
          Under Standard we don't check that the SharePermissions are valid since we don't really enforce them strongly on Standard.
protected  boolean ProfessionalPortalPageService.checkSystemDefaultSharePermissions(JiraServiceContext serviceCtx, SharedEntity.SharePermissions sharePermissions)
           
protected abstract  boolean AbstractPortalPageService.checkSystemDefaultSharePermissions(JiraServiceContext serviceCtx, SharedEntity.SharePermissions sharePermissions)
          Check that the passed permissions are valid for the System Dashboard.
 PortalPage AbstractPortalPageService.copyPortletConfigurationInPortalPage(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
           
 PortalPage PortalPageService.copyPortletConfigurationInPortalPage(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
          Make a new copy of a PortletConfiguration on a PortalPage.
 PortalPage AbstractPortalPageService.createPortalPage(JiraServiceContext serviceCtx, PortalPage portalPage)
           
 PortalPage PortalPageService.createPortalPage(JiraServiceContext serviceCtx, PortalPage portalPage)
          Called to create and store the specified portalPage into the database.
 PortalPage AbstractPortalPageService.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 AbstractPortalPageService.createPortalPageByClone(JiraServiceContext serviceCtx, PortalPage portalPage, Long clonePortalPageId)
           
 PortalPage PortalPageService.createPortalPageByClone(JiraServiceContext serviceCtx, PortalPage portalPage, Long clonePortalPageId)
          Called to create and store the specified portalPage into the database by cloning its Portlet content from an existing PortalPage object.
 PortalPage AbstractPortalPageService.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 AbstractPortalPageService.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 AbstractPortalPageService.deletePortalPage(JiraServiceContext serviceCtx, Long portalPageId)
           
 void PortalPageService.deletePortalPage(JiraServiceContext serviceCtx, Long portalPageId)
          Called to delete the PortalPage with the specified portalPageId.
 PortalPage AbstractPortalPageService.deletePortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
           
 PortalPage PortalPageService.deletePortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
          This can be called to delete a specific PortletConfiguration object by id inside a PortalPage object from the underlying database store.
 PortalPage AbstractPortalPageService.getPortalPage(JiraServiceContext context, Long portalPageId)
           
 PortalPage PortalPageService.getPortalPage(JiraServiceContext servceCtx, Long portalPageId)
          Retrieve a given PortalPage by id.
 Portlet AbstractPortalPageService.getVisiblePortlet(JiraServiceContext serviceCtx, String portletKey)
           
 Portlet PortalPageService.getVisiblePortlet(JiraServiceContext serviceCtx, String portletKey)
          This returns a Portlet if the user can see it
 Collection AbstractPortalPageService.getVisiblePortlets(JiraServiceContext serviceCtx)
           
 Collection PortalPageService.getVisiblePortlets(JiraServiceContext serviceCtx)
          This returns a collections of the all the Portlet's a user can see
 void AbstractPortalPageService.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
 PortalPage AbstractPortalPageService.movePortletConfigurationToPortalPage(JiraServiceContext serviceCtx, PortalPage srcPortalPage, PortalPage targetPortalPage, Long portletConfigId)
           
 PortalPage PortalPageService.movePortletConfigurationToPortalPage(JiraServiceContext serviceCtx, PortalPage srcPortalPage, PortalPage targetPortalPage, Long portletConfigId)
          Move a PortletConfiguration from one PortalPage to another.
 void AbstractPortalPageService.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 AbstractPortalPageService.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.
 PortalPage AbstractPortalPageService.saveAllPortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage)
           
 PortalPage PortalPageService.saveAllPortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage)
          This can be called to save the PortletConfiguration objects inside a PortalPage object to the underlying database store.
 PortalPage AbstractPortalPageService.savePortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
           
 PortalPage PortalPageService.savePortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
          Save a specific PortletConfiguration inside the passed PortalPage to a database store.
 SharedEntitySearchResult AbstractPortalPageService.search(JiraServiceContext serviceCtx, SharedEntitySearchParameters searchParameters, int pagePosition, int pageWidth)
           
 SharedEntitySearchResult PortalPageService.search(JiraServiceContext serviceCtx, SharedEntitySearchParameters searchParameters, int pagePosition, int pageWidth)
          Search for the PortalPages that match the passed SearchParameters.
 PortalPage AbstractPortalPageService.updatePortalPage(JiraServiceContext serviceCtx, PortalPage portalPage)
           
 PortalPage PortalPageService.updatePortalPage(JiraServiceContext serviceCtx, PortalPage portalPage)
          Updates the specified PortalPage in the database
 PortalPage AbstractPortalPageService.updatePortalPage(JiraServiceContext serviceCtx, PortalPage portalPage, boolean isFavourite)
           
 PortalPage PortalPageService.updatePortalPage(JiraServiceContext serviceCtx, PortalPage portalPage, boolean isFavourite)
          Updates the specified PortalPage in the database
 boolean AbstractPortalPageService.validateForAddPortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, String portletKey, int suggestedColumn, int suggestedRow)
           
 boolean PortalPageService.validateForAddPortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, String portletKey, int suggestedColumn, int suggestedRow)
          Called to validate that a Portlet can be added to the PortalPage
 boolean AbstractPortalPageService.validateForChangePortalPageSequence(JiraServiceContext serviceCtx, Long portalPageId)
           
 boolean PortalPageService.validateForChangePortalPageSequence(JiraServiceContext serviceCtx, Long portalPageId)
          Called to validate that sequence of a PortalPage can be changed.
 boolean AbstractPortalPageService.validateForCopyPortletConfigurationInPortalPage(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
           
 boolean PortalPageService.validateForCopyPortletConfigurationInPortalPage(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
          Check that it is possible to copy the PortletConfiguration on the passed PortalPage.
 boolean AbstractPortalPageService.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 AbstractPortalPageService.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 AbstractPortalPageService.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 AbstractPortalPageService.validateForDeletePortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
           
 boolean PortalPageService.validateForDeletePortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
          Make sure that the user can delete identified PortletConfiguration object from the inside of the PortalPage.
 boolean AbstractPortalPageService.validateForMovePortletConfigurationToPortalPage(JiraServiceContext serviceCtx, PortalPage srcPortalPage, PortalPage targetPortalPage, Long portletConfigId)
           
 boolean PortalPageService.validateForMovePortletConfigurationToPortalPage(JiraServiceContext serviceCtx, PortalPage srcPortalPage, PortalPage targetPortalPage, Long portletConfigId)
          Check that it is possible to move a PortletConfiguration from one PortalPage to another.
 boolean AbstractPortalPageService.validateForSaveAllPortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage)
           
 boolean PortalPageService.validateForSaveAllPortalPagePortletConfiguration(JiraServiceContext jiraServiceContext, PortalPage portalPage)
          Make sure that the user can save all the PortletConfiguration inside the PortalPage.
 boolean AbstractPortalPageService.validateForSavePortalPagePortletConfiguration(JiraServiceContext serviceCtx, PortalPage portalPage, Long portletConfigId)
           
 boolean PortalPageService.validateForSavePortalPagePortletConfiguration(JiraServiceContext jiraServiceContext, PortalPage portalPage, Long portletConfigId)
          Make sure that the user can save a specific PortletConfiguration inside the passed PortalPage.
 void AbstractPortalPageService.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 AbstractPortalPageService.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 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)
          Will validate all project fields setting the appropriate errors in the JiraServiceContext if any errors occur.
 boolean DefaultProjectService.isValidRequiredProjectData(JiraServiceContext serviceContext, String name, String key, String lead)
           
 boolean ProjectService.isValidRequiredProjectData(JiraServiceContext serviceContext, String name, String key, String lead)
          Will validate the fields required for creating a project and setting the appropriate validation errors in the JiraServiceContext if any errors occur.
 

Uses of JiraServiceContext in com.atlassian.jira.bc.project.component
 

Methods in com.atlassian.jira.bc.project.component with parameters of type JiraServiceContext
 void ProjectComponentService.deleteAndSwapComponentForIssues(JiraServiceContext context, Long componentId, Long swapComponentId)
           
 void DefaultProjectComponentService.deleteAndSwapComponentForIssues(JiraServiceContext context, Long componentId, Long swapComponentId)
           
 void ProjectComponentService.deleteComponentForIssues(JiraServiceContext context, Long componentId)
           
 void DefaultProjectComponentService.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 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 DefaultIssueConversionService.getRemovedFields(JiraServiceContext context, Issue origIssue, Issue targetIssue)
           
 Collection IssueConversionService.getRemovedFields(JiraServiceContext context, Issue origIssue, Issue targetIssue)
          Retrieves the fields that have values on the issue but are no longer needed.
 boolean DefaultIssueConversionService.hasPermission(JiraServiceContext context, Issue issue)
           
 boolean IssueConversionService.hasPermission(JiraServiceContext context, Issue issue)
          Checks the user's permission to convert given issue.
protected  boolean DefaultIssueConversionService.isShouldCheckFieldValue(JiraServiceContext context, Issue origIssue, Field field)
          JRA-12671 - need to determine if we should call hasValue on the field.
 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 fieldLayoutItems)
           
 void IssueConversionService.populateFields(JiraServiceContext context, OperationContext operationContext, I18nHelper i18nHelper, Issue targetIssue, Collection 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 fieldLayoutItems)
           
 void IssueConversionService.validateFields(JiraServiceContext context, OperationContext operationContext, I18nHelper i18nHelper, Issue targetIssue, Collection 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
 Collection DefaultUserPickerSearchService.getResults(JiraServiceContext jiraServiceContext, String query)
           
 Collection UserPickerSearchService.getResults(JiraServiceContext jiraServiceContext, String query)
          Get Users based on a query string.
 

Uses of JiraServiceContext in com.atlassian.jira.bc.workflow
 

Methods in com.atlassian.jira.bc.workflow with parameters of type JiraServiceContext
 JiraWorkflow WorkflowService.copyWorkflow(JiraServiceContext jiraServiceContext, String clonedWorkflowName, String clonedWorkflowDescription, JiraWorkflow workflowToClone)
          Clones and persists a new workflow with the name given.
 JiraWorkflow DefaultWorkflowService.copyWorkflow(JiraServiceContext jiraServiceContext, String clonedWorkflowName, String clonedWorkflowDescription, JiraWorkflow workflowToClone)
           
 JiraWorkflow WorkflowService.createDraftWorkflow(JiraServiceContext jiraServiceContext, String parentWorkflowName)
          Creates a copy of an active workflow for editing.
 JiraWorkflow DefaultWorkflowService.createDraftWorkflow(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.
 boolean DefaultWorkflowService.deleteDraftWorkflow(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.getDraftWorkflow(JiraServiceContext jiraServiceContext, String parentWorkflowName)
           
 JiraWorkflow WorkflowService.getWorkflow(JiraServiceContext jiraServiceContext, String name)
          Returns the workflow with the given name.
 JiraWorkflow DefaultWorkflowService.getWorkflow(JiraServiceContext jiraServiceContext, String name)
           
 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.
 boolean DefaultWorkflowService.isStepOnDraftWithNoTransitionsOnParentWorkflow(JiraServiceContext jiraServiceContext, JiraWorkflow workflow, int stepId)
           
 void WorkflowService.overwriteActiveWorkflow(JiraServiceContext jiraServiceContext, String parentWorkflowName)
          This method will overwrite the parentWorkflow with a JiraDraftWorkflow if it exists.
 void DefaultWorkflowService.overwriteActiveWorkflow(JiraServiceContext jiraServiceContext, String parentWorkflowName)
           
 void WorkflowService.updateWorkflow(JiraServiceContext jiraServiceContext, JiraWorkflow workflow)
          Updates the workflow descriptor provided in the persistance mechanism implemented.
 void DefaultWorkflowService.updateWorkflow(JiraServiceContext jiraServiceContext, JiraWorkflow workflow)
           
 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.updateWorkflowNameAndDescription(JiraServiceContext jiraServiceContext, JiraWorkflow currentWorkflow, String newName, String newDescription)
           
 void WorkflowService.validateAddWorkflowTransitionToDraft(JiraServiceContext jiraServiceContext, JiraWorkflow newJiraworkflow, int stepId)
          Validates if a workflow transition can be added to a draft.
 void DefaultWorkflowService.validateAddWorkflowTransitionToDraft(JiraServiceContext jiraServiceContext, JiraWorkflow newJiraWorkflow, int stepId)
           
 void WorkflowService.validateCopyWorkflow(JiraServiceContext jiraServiceContext, String newWorkflowName)
          Validates if a workflow can be cloned and saved with the provided name.
 void DefaultWorkflowService.validateCopyWorkflow(JiraServiceContext jiraServiceContext, String newWorkflowName)
           
 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.validateOverwriteWorkflow(JiraServiceContext jiraServiceContext, String workflowName)
           
 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.
 void DefaultWorkflowService.validateUpdateWorkflowNameAndDescription(JiraServiceContext jiraServiceContext, JiraWorkflow currentWorkflow, String newWorkflowName)
           
 

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.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 DefaultTrustedApplicationService.delete(JiraServiceContext context, long id)
           
 boolean TrustedApplicationService.delete(JiraServiceContext jiraServiceContext, long id)
          Deletes the TrustedApplicationInfo with the specified ID.
 TrustedApplicationInfo DefaultTrustedApplicationService.get(JiraServiceContext context, long id)
           
 TrustedApplicationInfo TrustedApplicationService.get(JiraServiceContext jiraServiceContext, long id)
          Find a TrustedApplicationInfo given an ID.
 TrustedApplicationInfo DefaultTrustedApplicationService.get(JiraServiceContext context, String applicationId)
           
 TrustedApplicationInfo TrustedApplicationService.get(JiraServiceContext jiraServiceContext, String applicationId)
          Find a TrustedApplicationInfo given an application ID.
 Set DefaultTrustedApplicationService.getAll(JiraServiceContext context)
           
 Set TrustedApplicationService.getAll(JiraServiceContext jiraServiceContext)
          Find all TrustedApplicationInfo objects in the system.
 TrustedApplicationInfo DefaultTrustedApplicationService.store(JiraServiceContext context, TrustedApplicationInfo info)
           
 TrustedApplicationInfo TrustedApplicationService.store(JiraServiceContext jiraServiceContext, TrustedApplicationInfo info)
          Persist a TrustedApplicationInfo
 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 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 TrustedApplicationSyntacticValidator.validate(JiraServiceContext context, I18nHelper helper, String urlString)
          Validate the details of the trusted application request.
 boolean DefaultTrustedApplicationService.validate(JiraServiceContext jiraServiceContext, SimpleTrustedApplication builder)
           
 boolean TrustedApplicationService.validate(JiraServiceContext jiraServiceContext, SimpleTrustedApplication builder)
          Validate that the information contained in the builder is valid and able to be saved.
 

Uses of JiraServiceContext in com.atlassian.jira.security.type
 

Methods in com.atlassian.jira.security.type with parameters of type JiraServiceContext
 void CurrentReporterHasCreatePermission.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 UserCF.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 CurrentAssignee.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)
           
 

Uses of JiraServiceContext in com.atlassian.jira.sharing
 

Methods in com.atlassian.jira.sharing with parameters of type JiraServiceContext
 boolean ShareTypeValidatorUtils.isValidSearchParameter(JiraServiceContext ctx, ShareTypeSearchParameter searchParameter)
          Check to see if the passed SearchParameter is valid..
 boolean DefaultShareTypeValidatorUtils.isValidSearchParameter(JiraServiceContext context, ShareTypeSearchParameter searchParameter)
           
 boolean ShareTypeValidatorUtils.isValidSharePermission(JiraServiceContext context, SharedEntity entity)
          Validates to see if a given Set of SharePermission is valid.
 boolean DefaultShareTypeValidatorUtils.isValidSharePermission(JiraServiceContext context, SharedEntity entity)
           
 

Uses of JiraServiceContext in com.atlassian.jira.sharing.type
 

Methods in com.atlassian.jira.sharing.type with parameters of type JiraServiceContext
 boolean GlobalShareTypeValidator.checkSearchParameter(JiraServiceContext ctx, ShareTypeSearchParameter searchParameter)
           
 boolean GroupShareTypeValidator.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 ProjectShareTypeValidator.checkSearchParameter(JiraServiceContext serviceCtx, ShareTypeSearchParameter searchParameter)
           
 boolean GlobalShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission)
          The user must have the global permission to share filters.
 boolean GroupShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission)
           
 boolean ShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission)
          Checks if the passed SharePermission is valid for the associated ShareType.
 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.
 

Uses of JiraServiceContext in com.atlassian.jira.user.util
 

Methods in com.atlassian.jira.user.util that return JiraServiceContext
protected  JiraServiceContext UserUtilImpl.getServiceContext(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 ExtendedSystemInfoUtilsImpl.getTrustedApplications(JiraServiceContext jiraServiceContext)
           
 Set ExtendedSystemInfoUtils.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.filter
 

Methods in com.atlassian.jira.web.action.filter with parameters of type JiraServiceContext
protected  SharedEntitySearchResult 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)
          Conveniece method for adding internationalized errors to the error collection
protected  void AbstractConvertIssue.addI18nError(JiraServiceContext context, String fieldName, String i18nKey, String param)
          Conveniece 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)
          Conveniece method for adding internationalized error messages to the error collection
protected  void ConvertIssueToSubTask.initExtraFields(ConvertIssueBean bean, JiraServiceContext context)
          Set the parent issue on the bean.
protected  void ConvertSubTaskToIssue.initExtraFields(ConvertIssueBean bean, JiraServiceContext context)
           
protected abstract  void AbstractConvertIssue.initExtraFields(ConvertIssueBean bean, JiraServiceContext context)
          Allows subclasses to set and init own fields.
protected  void AbstractConvertIssue.initRequest(JiraServiceContext context)
          Checks for valid state, populates the bean with values from parameters and updates bean with new GUID
 

Uses of JiraServiceContext in com.atlassian.jira.web.action.portal
 

Methods in com.atlassian.jira.web.action.portal with parameters of type JiraServiceContext
protected  boolean AbstractSaveConfiguration.checkForValidPortalParameters(JiraServiceContext serviceContext)
           
protected  PortalPage AbstractConfigurePortal.copyPortlets(JiraServiceContext serviceContext, PortalPage portalPage, Long[] portlets)
           
protected  PortalPage AbstractConfigurePortal.deletePortletConfigurations(JiraServiceContext serviceContext, PortalPage portalPage, Long[] portletConfigIds)
           
protected  void AbstractConfigurePortal.savePortalConfig(JiraServiceContext ctx, PortalPage portalPage)
           
 

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 SharedEntitySearchViewHelper.doExecuteSearch(JiraServiceContext ctx, SharedEntitySearchParameters searchParameters, int pageOffset, int pageWidth)
          Execute the search for the passed parameters.
 List SharedEntitySearchViewHelper.getPopularFilters(JiraServiceContext jiraServiceContext)
          Gets the filters which have been made favourite by the most people.
 SharedEntitySearchViewHelper.SearchResult 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.
 

Uses of JiraServiceContext in com.atlassian.jira.web.dwr
 

Methods in com.atlassian.jira.web.dwr that return JiraServiceContext
protected  JiraServiceContext AjaxIssuePicker.getContext()
           
 



Copyright © 2002-2008 Atlassian. All Rights Reserved.