com.atlassian.jira.web.action.issue.bulkedit
Class BulkWorkflowTransition

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.IssueActionSupport
                      extended by com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
                          extended by com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationDetailsAction
                              extended by com.atlassian.jira.web.action.issue.bulkedit.BulkWorkflowTransition
All Implemented Interfaces:
ErrorCollection, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class BulkWorkflowTransition
extends AbstractBulkOperationDetailsAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static java.lang.String RADIO_ERROR_MSG
           
 
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport
attachmentManager
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
BulkWorkflowTransition(SearchService searchService, IssueUtilsBean issueUtilsBean, WorkflowManager workflowManager, IssueManager issueManager, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, JiraAuthenticationContext authenticationContext, FieldLayoutManager fieldLayoutManager, BulkWorkflowTransitionOperation bulkWorkflowTransitionOperation, PermissionManager permissionManager)
           
 
Method Summary
protected  FieldScreenRenderLayoutItem buildFieldScreenRenderLayoutItem(OrderableField field, org.ofbiz.core.entity.GenericValue issue)
           
 WorkflowTransitionKey decodeWorkflowTransitionKey(java.lang.String encoded)
          Decodes a string into its WorkflowTransitionKey.
 java.lang.String doDetails()
           
 java.lang.String doDetailsValidation()
           
 java.lang.String doEditValidation()
           
 java.lang.String doPerform()
           
 java.lang.String encodeWorkflowTransitionKey(WorkflowTransitionKey workflowTransitionKey)
           
 java.lang.String[] getActions()
           
 java.util.Map getAllEditActions()
           
 BulkWorkflowTransitionOperation getBulkWorkflowTransitionOperation()
           
 java.lang.String getCommentaction()
           
 BulkEditAction getCommentBulkEditAction()
           
 java.lang.String getCommentHtml()
           
 org.ofbiz.core.entity.GenericValue getDestinationStatus(WorkflowTransitionKey workflowTransitionKey)
           
 java.util.Collection getEditActions(java.lang.String fieldScreenTabName)
           
 java.lang.String getFieldHtml(OrderableField orderableField)
           
 java.util.Collection getFieldScreenRenderTabs()
           
 java.lang.String getFieldViewHtml(OrderableField orderableField)
           
 java.lang.String getOperationDetailsActionName()
           
 org.ofbiz.core.entity.GenericValue getOriginStatus(WorkflowTransitionKey workflowTransitionKey)
           
 int getSelectedTab()
           
 java.util.List getShortListTransitionIssueKeys(java.util.Collection issueKeys)
           
 java.util.Collection getTabsWithErrors()
           
 boolean isChecked(java.lang.String value)
           
 boolean isForceResolution(Field field)
           
 boolean isHasAvailableActions()
           
protected  java.lang.String redirectToStart()
           
 java.lang.String removeSpaces(java.lang.String string)
           
 void setActions(java.lang.String[] actions)
           
 void setCommentaction(java.lang.String commentaction)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
clearBulkEditBean, finishWizard, getBulkEditBean, getColumns, getIssueTableLayoutBean, getRootBulkEditBean, isCanDisableMailNotifications, isSendBulkNotification, redirectToStart, setSendBulkNotification
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setCurrentIssue, setSearchRequest, setSelectedIssueId, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRedirectChecker, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, doExecute, doValidation, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Field Detail

RADIO_ERROR_MSG

public static final java.lang.String RADIO_ERROR_MSG
See Also:
Constant Field Values
Constructor Detail

BulkWorkflowTransition

public BulkWorkflowTransition(SearchService searchService,
                              IssueUtilsBean issueUtilsBean,
                              WorkflowManager workflowManager,
                              IssueManager issueManager,
                              FieldScreenRendererFactory fieldScreenRendererFactory,
                              FieldManager fieldManager,
                              JiraAuthenticationContext authenticationContext,
                              FieldLayoutManager fieldLayoutManager,
                              BulkWorkflowTransitionOperation bulkWorkflowTransitionOperation,
                              PermissionManager permissionManager)
Method Detail

doDetails

public java.lang.String doDetails()
                           throws java.lang.Exception
Specified by:
doDetails in class AbstractBulkOperationDetailsAction
Throws:
java.lang.Exception

doDetailsValidation

public java.lang.String doDetailsValidation()
                                     throws java.lang.Exception
Specified by:
doDetailsValidation in class AbstractBulkOperationDetailsAction
Throws:
java.lang.Exception

doEditValidation

public java.lang.String doEditValidation()

doPerform

public java.lang.String doPerform()
                           throws java.lang.Exception
Specified by:
doPerform in class AbstractBulkOperationDetailsAction
Throws:
java.lang.Exception

getEditActions

public java.util.Collection getEditActions(java.lang.String fieldScreenTabName)

getCommentBulkEditAction

public BulkEditAction getCommentBulkEditAction()

getCommentHtml

public java.lang.String getCommentHtml()

getAllEditActions

public java.util.Map getAllEditActions()

isHasAvailableActions

public boolean isHasAvailableActions()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getOperationDetailsActionName

public java.lang.String getOperationDetailsActionName()

isChecked

public boolean isChecked(java.lang.String value)

decodeWorkflowTransitionKey

public WorkflowTransitionKey decodeWorkflowTransitionKey(java.lang.String encoded)
Decodes a string into its WorkflowTransitionKey.

Parameters:
encoded - a string-encoded WorkflowTransitionKey literal.
Returns:
the WorkflowTransitionKey that for the given encoded string

encodeWorkflowTransitionKey

public java.lang.String encodeWorkflowTransitionKey(WorkflowTransitionKey workflowTransitionKey)

getOriginStatus

public org.ofbiz.core.entity.GenericValue getOriginStatus(WorkflowTransitionKey workflowTransitionKey)

getDestinationStatus

public org.ofbiz.core.entity.GenericValue getDestinationStatus(WorkflowTransitionKey workflowTransitionKey)

getShortListTransitionIssueKeys

public java.util.List getShortListTransitionIssueKeys(java.util.Collection issueKeys)

getActions

public java.lang.String[] getActions()

setActions

public void setActions(java.lang.String[] actions)

isForceResolution

public boolean isForceResolution(Field field)

getCommentaction

public java.lang.String getCommentaction()

setCommentaction

public void setCommentaction(java.lang.String commentaction)

getFieldViewHtml

public java.lang.String getFieldViewHtml(OrderableField orderableField)

getFieldHtml

public java.lang.String getFieldHtml(OrderableField orderableField)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getFieldScreenRenderTabs

public java.util.Collection getFieldScreenRenderTabs()

buildFieldScreenRenderLayoutItem

protected FieldScreenRenderLayoutItem buildFieldScreenRenderLayoutItem(OrderableField field,
                                                                       org.ofbiz.core.entity.GenericValue issue)

getBulkWorkflowTransitionOperation

public BulkWorkflowTransitionOperation getBulkWorkflowTransitionOperation()

getTabsWithErrors

public java.util.Collection getTabsWithErrors()

getSelectedTab

public int getSelectedTab()

removeSpaces

public java.lang.String removeSpaces(java.lang.String string)

redirectToStart

protected java.lang.String redirectToStart()


Copyright © 2002-2011 Atlassian. All Rights Reserved.