|
||||||||||
| 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 |
CustomFieldService.validateDelete(JiraServiceContext jiraServiceContext,
Long customFieldId)
Validates that the custom field with the provided id can be deleted. |
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 |
FavouritesService.addFavourite(JiraServiceContext ctx,
SharedEntity entity)
Add the given entity as a favourite of the user passed in the context |
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 |
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 | |
|---|---|
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. |
void |
FilterSubscriptionService.storeSubscription(JiraServiceContext context,
Long filterId,
String groupName,
String expr,
boolean emailOnEmpty)
Create and store the Cron Trigger and subscription |
void |
FilterSubscriptionService.updateSubscription(JiraServiceContext context,
Long subscriptionId,
String groupName,
String expr,
boolean emailOnEmpty)
Updates the subscription to the new given values and persists. |
void |
FilterSubscriptionService.validateCronExpression(JiraServiceContext context,
String expr)
Validates a given cron expression Errors are passed back in the ErrorCollection
of the JiraServiceContext |
| Uses of JiraServiceContext in com.atlassian.jira.bc.group |
|---|
| Methods in com.atlassian.jira.bc.group with parameters of type JiraServiceContext | |
|---|---|
boolean |
GroupService.addGroupsToGroups(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
Collection<String> childNames)
This method will add the provided groups to the specified groups. |
boolean |
GroupService.addUsersToGroups(JiraServiceContext jiraServiceContext,
Collection<String> groupsToJoin,
Collection<String> userNames)
This method will add the provided users to the specified groups. |
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 |
GroupService.delete(JiraServiceContext jiraServiceContext,
String groupName,
String swapGroup)
This will delete a group from JIRA. |
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 |
GroupService.removeGroupsFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveChildMapper mapper)
This method will remove the provided child groups from the specified groups. |
boolean |
GroupService.removeUsersFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveChildMapper mapper)
This method will remove the provided users from the specified groups. |
boolean |
GroupService.removeUsersFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveUserMapper mapper)
Deprecated. since v4.3. Use GroupService.removeUsersFromGroups(JiraServiceContext, GroupRemoveChildMapper). |
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 |
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 |
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 |
GroupService.validateDelete(JiraServiceContext jiraServiceContext,
String groupName,
String swapGroup)
Validates if the group provided can be deleted in JIRA. |
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 |
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 |
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). |
boolean |
GroupService.validateRemoveUsersFromGroups(JiraServiceContext jiraServiceContext,
GroupRemoveUserMapper mapper)
Deprecated. since v4.3. Use GroupService.validateRemoveUsersFromGroups(JiraServiceContext, GroupRemoveChildMapper). |
| Uses of JiraServiceContext in com.atlassian.jira.bc.issue.attachment |
|---|
| Methods in com.atlassian.jira.bc.issue.attachment with parameters of type JiraServiceContext | |
|---|---|
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 |
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 |
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 |
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 |
AttachmentService.canDeleteAttachment(JiraServiceContext jiraServiceContext,
Long attachmentId)
Retrieves the attachment specified by the attachment id and determines if the user can delete it. |
boolean |
AttachmentService.canManageAttachments(JiraServiceContext jiraServiceContext,
Issue issue)
Checks whether the user has permission to manage the attachments of the specified issue. |
void |
AttachmentService.delete(JiraServiceContext jiraServiceContext,
Long attachmentId)
Deletes the specified attachment and updates the issue change history and 'updated' date. |
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 |
CommentService.delete(JiraServiceContext jiraServiceContext,
Comment comment,
boolean dispatchEvent)
Deletes a comment and updates the issue's change history and updated date. |
boolean |
CommentService.hasPermissionToDelete(JiraServiceContext jiraServiceContext,
Long commentId)
Determines whether the user can delete a comment. |
boolean |
CommentService.hasPermissionToEdit(JiraServiceContext jiraServiceContext,
Long commentId)
Determines whether the user can edit a 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> |
IssuePickerSearchService.getResults(JiraServiceContext context,
IssuePickerSearchService.IssuePickerParameters issuePickerParams)
Gets a list of Issue based on 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. |
| Uses of JiraServiceContext in com.atlassian.jira.bc.issue.worklog |
|---|
| Methods in com.atlassian.jira.bc.issue.worklog with parameters of type JiraServiceContext | |
|---|---|
Worklog |
WorklogService.createAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Persists a new Worklog on the given Issue. |
Worklog |
WorklogService.createAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Persists a new Worklog on the given Issue. |
Worklog |
WorklogService.createWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
WorklogAdjustmentAmountResult worklogAdjustmentAmount,
boolean dispatchEvent)
Persists a new Worklog on the given Issue. |
Worklog |
WorklogService.createWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogNewEstimate,
boolean dispatchEvent)
Persists a new Worklog on the given Issue. |
boolean |
WorklogService.deleteAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Deletes the specified Worklog. |
boolean |
WorklogService.deleteAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Deletes the specified Worklog. |
boolean |
WorklogService.deleteWithManuallyAdjustedEstimate(JiraServiceContext jiraServiceContext,
WorklogAdjustmentAmountResult worklogAdjustmentAmount,
boolean dispatchEvent)
Deletes the specified Worklog. |
boolean |
WorklogService.deleteWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogNewEstimate,
boolean dispatchEvent)
Deletes the specified Worklog. |
Worklog |
WorklogService.getById(JiraServiceContext jiraServiceContext,
Long id)
Used to get a worklog by its id. |
List |
WorklogService.getByIssue(JiraServiceContext jiraServiceContext,
Issue issue)
Returns all child worklogs of a specified 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. |
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 |
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 |
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. |
Worklog |
WorklogService.updateAndAutoAdjustRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Updates the provided Worklog. |
Worklog |
WorklogService.updateAndRetainRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogResult worklogResult,
boolean dispatchEvent)
Updates the provided Worklog. |
Worklog |
WorklogService.updateWithNewRemainingEstimate(JiraServiceContext jiraServiceContext,
WorklogNewEstimateResult worklogNewEstimate,
boolean dispatchEvent)
Updates the provided Worklog. |
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 |
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 |
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 |
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 |
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 |
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. |
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 |
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.project |
|---|
| Methods in com.atlassian.jira.bc.project with parameters of type JiraServiceContext | |
|---|---|
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 |
ProjectService.isValidAllProjectData(JiraServiceContext serviceContext,
String name,
String key,
String lead,
String url,
Long assigneeType,
Long avatarId)
Will validate all project fields setting the appropriate errors in the JiraServiceContext if any errors occur. |
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 |
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 |
VersionService.delete(JiraServiceContext context,
VersionService.ValidationResult result)
Deletes a version from a project. |
void |
VersionService.merge(JiraServiceContext context,
VersionService.ValidationResult result)
Merges a version into another, then removes the original version. |
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 |
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 |
IssueConversionService.canConvertIssue(JiraServiceContext context,
Issue issue)
Determines if user can convert given issue. |
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 |
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 |
IssueConversionService.getRemovedFields(JiraServiceContext context,
Issue origIssue,
Issue targetIssue)
Retrieves the fields that have values on the issue but are no longer needed. |
boolean |
IssueConversionService.hasPermission(JiraServiceContext context,
Issue issue)
Checks the user's permission to convert given issue. |
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 |
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 |
IssueConversionService.preStoreUpdates(JiraServiceContext context,
IssueChangeHolder changeHolder,
Issue currentIssue,
MutableIssue targetIssue)
Allows for a plugin point to extra updates specific to that sub class |
void |
IssueConversionService.validateFields(JiraServiceContext context,
OperationContext operationContext,
I18nHelper i18nHelper,
Issue targetIssue,
Collection fieldLayoutItems)
Validates that all fields inputed have valid values. |
void |
IssueToSubTaskConversionService.validateParentIssue(JiraServiceContext context,
Issue issue,
Issue parentIssue,
String fieldNameParentIssueKey)
Validates the given parent issue key for issue key. |
void |
IssueConversionService.validateTargetIssueType(JiraServiceContext context,
Issue issue,
IssueType issueType,
String fieldNameIssueTypeId)
Validates that the issue can be converted to given issue type. |
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 |
UserPickerSearchService.canPerformAjaxSearch(JiraServiceContext jiraServiceContext)
Returns true only if UserPicker Ajax search is enabled AND the user in the context has User Browse permission. |
boolean |
UserPickerSearchService.canShowEmailAddresses(JiraServiceContext jiraServiceContext)
Whether or not the UserPicker Ajax should search or show email addresses |
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> |
UserPickerSearchService.findUsersAllowEmptyQuery(JiraServiceContext jiraServiceContext,
String query)
Get Users based on a query string. |
Collection<User> |
UserPickerSearchService.getResults(JiraServiceContext jiraServiceContext,
String query)
Deprecated. Please use UserPickerSearchService.findUsers(com.atlassian.jira.bc.JiraServiceContext, String) instead. Since 4.3 |
Collection<User> |
UserPickerSearchService.getResultsSearchForEmptyQuery(JiraServiceContext jiraServiceContext,
String query)
Deprecated. Please use UserPickerSearchService.findUsersAllowEmptyQuery(com.atlassian.jira.bc.JiraServiceContext, String) instead. Since 4.3 |
| Uses of JiraServiceContext in com.atlassian.jira.bc.whitelist |
|---|
| Methods in com.atlassian.jira.bc.whitelist with parameters of type JiraServiceContext | |
|---|---|
WhitelistService.WhitelistResult |
WhitelistService.getRules(JiraServiceContext context)
Returns a list of rules that are currently allowed in the whitelist. |
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 |
WorkflowService.copyWorkflow(JiraServiceContext jiraServiceContext,
String clonedWorkflowName,
String clonedWorkflowDescription,
JiraWorkflow workflowToClone)
Clones and persists a new workflow with the name given. |
JiraWorkflow |
WorkflowService.createDraftWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName)
Creates a copy of an active workflow for editing. |
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 |
WorkflowService.getDraftWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName)
Given a parentWorkflowName, this methods will retrieved the relevant draft workflow linked to that parent. |
JiraWorkflow |
WorkflowService.getWorkflow(JiraServiceContext jiraServiceContext,
String name)
Returns the workflow with the given 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. |
void |
WorkflowService.overwriteActiveWorkflow(JiraServiceContext jiraServiceContext,
String parentWorkflowName)
This method will overwrite the parentWorkflow with a draft Workflow if it exists. |
void |
WorkflowService.updateWorkflow(JiraServiceContext jiraServiceContext,
JiraWorkflow workflow)
Updates the workflow descriptor provided in the persistance mechanism implemented. |
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 |
WorkflowService.validateAddWorkflowTransitionToDraft(JiraServiceContext jiraServiceContext,
JiraWorkflow newJiraworkflow,
int stepId)
Validates if a workflow transition can be added to a draft. |
void |
WorkflowService.validateCopyWorkflow(JiraServiceContext jiraServiceContext,
String newWorkflowName)
Validates if a workflow can be cloned and saved with the provided name. |
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 |
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 |
IndexPathService.getCommentIndexPath(JiraServiceContext serviceContext)
Returns the path of JIRA's comment indexes. |
String |
IndexPathService.getIndexRootPath(JiraServiceContext serviceContext)
Returns the root path of JIRA's indexes. |
String |
IndexPathService.getIssueIndexPath(JiraServiceContext serviceContext)
Returns the path of JIRA's issue indexes. |
String |
IndexPathService.getPluginIndexRootPath(JiraServiceContext serviceContext)
Returns the root path of JIRA's plugin indexes. |
String |
IndexPathService.getSharedEntityIndexPath(JiraServiceContext serviceContext)
Returns the path of JIRA's shared entity indexes. |
void |
IndexPathService.setIndexRootPath(JiraServiceContext serviceContext,
String indexPath)
Specify an explicit (custom) index root path. |
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.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 |
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 |
ShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
Check to see if the passed SearchParameter is valid for the ShareType. |
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 |
TimeZoneService.clearDefaultTimeZone(JiraServiceContext serviceContext)
Reset the default time zone to the JVM time zone. |
void |
TimeZoneService.clearUserDefaultTimeZone(JiraServiceContext serviceContext)
Resets the time zone for this user to the JIRA default time zone. |
TimeZoneInfo |
TimeZoneService.getDefaultTimeZoneInfo(JiraServiceContext serviceContext)
Returns the default time zone which is globally configured. |
TimeZoneInfo |
TimeZoneService.getJVMTimeZoneInfo(JiraServiceContext serviceContext)
Returns the time zone of the JVM |
List<TimeZoneInfo> |
TimeZoneService.getTimeZoneInfos(JiraServiceContext serviceContext)
Retrieves all time zones. |
List<RegionInfo> |
TimeZoneService.getTimeZoneRegions(JiraServiceContext serviceContext)
Returns all time zone regions. |
TimeZoneInfo |
TimeZoneService.getUserTimeZoneInfo(JiraServiceContext serviceContext)
Return the time zone for this user. |
void |
TimeZoneService.setDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext)
Allows to set the default time zone. |
void |
TimeZoneService.setUserDefaultTimeZone(String timeZoneId,
JiraServiceContext serviceContext)
Sets the default time zone for this user. |
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.web.action.issue |
|---|
| Methods in com.atlassian.jira.web.action.issue with parameters of type JiraServiceContext | |
|---|---|
void |
IssueCreationHelperBean.validateCreateIssueFields(JiraServiceContext jiraServiceContext,
Collection<String> providedFields,
Issue issueObject,
FieldScreenRenderer fieldScreenRenderer,
OperationContext operationContext,
Map<String,String[]> parameters,
I18nHelper i18n)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||