public class MoveIssueUpdateWorkflow extends MoveIssue
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
constantsManager, fieldLayoutManager, fieldManager, issueFactory, SUBTASK_STATUS_PREFIX, workflowManager
userUtil
id, ISSUE_PERMISSION_ERROR, PREPOPULATED_ISSUE_OBJECT
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
MoveIssueUpdateWorkflow(SubTaskManager subTaskManager,
ConstantsManager constantsManager,
WorkflowManager workflowManager,
FieldManager fieldManager,
FieldLayoutManager fieldLayoutManager,
IssueFactory issueFactory,
FieldScreenRendererFactory fieldScreenRendererFactory,
CommentService commentService,
UserUtil userUtil) |
Modifier and Type | Method and Description |
---|---|
String |
doDefault()
Handles the initial request to move an issue.
|
protected String |
doExecute()
Handles the request to submit the input from the first step of the wizard, the submitted information is the target
project and the target issue type.
|
void |
doValidation() |
String |
getFieldHtml(FieldLayoutItem fieldLayoutItem) |
JiraWorkflow |
getSubtaskTargetWorkflow(String subtaskIssueType)
Get the "target workflow" for a subtask issue type.
|
JiraWorkflow |
getSubTaskTargetWorkflow(String subTaskTypeID) |
protected Issue |
getTargetIssueObject() |
Collection<JiraWorkflow> |
getTargetWorkflows() |
JiraWorkflow |
getTaskCurrentWorkflow(org.ofbiz.core.entity.GenericValue taskType) |
Collection<JiraWorkflow> |
getTaskCurrentWorkflows() |
Collection<IssueType> |
getTaskInvalidTypes() |
Collection |
getTasksByStatusWorkflowType(String statusId,
JiraWorkflow workflow,
String typeId) |
JiraWorkflow |
getTaskTargetWorkflow(org.ofbiz.core.entity.GenericValue taskType) |
getAllowedProjects, getBeanTargetStatusId, getConstantsManager, getCurrentIssueType, getCurrentStatus, getCurrentStatusObject, getCurrentWorkflow, getFieldHtml, getFieldLayoutManager, getFieldManager, getIssueObject, getMoveIssueBean, getPrefixIssueTypeId, getPrefixTaskStatusId, getSubTasks, getSubtaskTargetIssueType, getSubTaskTargetStatus, getSubTaskTypesUsed, getTargetIssueType, getTargetIssueTypeObject, getTargetPid, getTargetProjectObj, getTargetStatusId, getTargetWorkflow, getTargetWorkflowStatuses, getTaskInvalidStatuses, getTaskInvalidStatusObjects, getTasksWithStatus, getViewHtmlParams, getWorkflowForType, getWorkflowManager, isHasSubTasks, isIssueStatusValid, isStatusChangeRequired, isSubTask, isTaskStatusChangeRequired, isTaskStatusValid, isWorkflowMatch, redirectToSessionTimeoutPage, setBeanTargetStatusId, validateAttachmentMove, validateCreateIssue
assigneeChanged, getAssignee, getAssignIn, hasAssigneePermission, setAssignee
createComment, doCommentValidation, getComment, getCommentLevel, getDisplayParams, getFieldScreenRendererLayoutItemForField, getFieldScreenRendererWithAllFields, getFieldValuesHolder, getGroupLevel, getGroupLevels, getIssueOperation, getOrderableField, getRoleLevels, populateCommentFields, setComment, setCommentLevel, setFieldValuesHolder, setGroupLevel
getAttachments, getPossibleComponents, getPossibleVersions, getPossibleVersionsReleasedFirst
addErrorMessage, assertIssueIsValid, cameFromIssue, cameFromParent, getId, getIssue, getIssueObject, getIssueObjectWithoutDatabaseRead, getIssuePath, getKey, getLayoutBean, getMutableIssue, getParentIssueObject, getProject, getProjectObject, getSecurityLevel, getSubTaskManager, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, refreshIssueObject, setId, setIssueObject, setKey, setViewIssueKey
addIssueToHistory, getAttachmentManager, getCurrentDateTimeInUsersTimezone, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequest
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
addError, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoggedInApplicationUser
addError, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
public MoveIssueUpdateWorkflow(SubTaskManager subTaskManager, ConstantsManager constantsManager, WorkflowManager workflowManager, FieldManager fieldManager, FieldLayoutManager fieldLayoutManager, IssueFactory issueFactory, FieldScreenRendererFactory fieldScreenRendererFactory, CommentService commentService, UserUtil userUtil)
public String doDefault()
MoveIssue
doDefault
in class MoveIssue
Action.ERROR
if
the issue can't be found (which means it was probably deleted), or if the user isn't authorised to browse the
issue; otherwise, Action.INPUT
} is returned to render the view for the first step of the
wizard.public void doValidation()
doValidation
in class MoveIssue
protected String doExecute() throws WorkflowException
MoveIssue
MoveIssueSubtasks.doDefault()
so that the tasks issue types can be mapped; otherwise, it redirects to
doDefault()
doExecute
in class MoveIssue
MoveIssueSubtasks.doDefault()
so that the tasks issue types can be mapped; otherwise, it redirects to
doDefault()
WorkflowException
public JiraWorkflow getSubTaskTargetWorkflow(String subTaskTypeID) throws WorkflowException
WorkflowException
public Collection<IssueType> getTaskInvalidTypes() throws WorkflowException
WorkflowException
public Collection<JiraWorkflow> getTargetWorkflows() throws WorkflowException
WorkflowException
public Collection<JiraWorkflow> getTaskCurrentWorkflows() throws org.ofbiz.core.entity.GenericEntityException, WorkflowException
org.ofbiz.core.entity.GenericEntityException
WorkflowException
public JiraWorkflow getTaskTargetWorkflow(org.ofbiz.core.entity.GenericValue taskType) throws WorkflowException
WorkflowException
public JiraWorkflow getSubtaskTargetWorkflow(String subtaskIssueType)
subtaskIssueType
- the subtask issue type idpublic JiraWorkflow getTaskCurrentWorkflow(org.ofbiz.core.entity.GenericValue taskType) throws org.ofbiz.core.entity.GenericEntityException, WorkflowException
org.ofbiz.core.entity.GenericEntityException
WorkflowException
public Collection getTasksByStatusWorkflowType(String statusId, JiraWorkflow workflow, String typeId) throws org.ofbiz.core.entity.GenericEntityException, WorkflowException
org.ofbiz.core.entity.GenericEntityException
WorkflowException
protected Issue getTargetIssueObject()
public String getFieldHtml(FieldLayoutItem fieldLayoutItem)
Copyright © 2002-2017 Atlassian. All Rights Reserved.