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, AuthorizationSupport, 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 class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageType
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static 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, IssueWorkflowManager issueWorkflowManager, WorkflowManager workflowManager, IssueManager issueManager, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, JiraAuthenticationContext authenticationContext, FieldLayoutManager fieldLayoutManager, BulkWorkflowTransitionOperation bulkWorkflowTransitionOperation, PermissionManager permissionManager, ConstantsManager constantsManager)
           
 
Method Summary
protected  FieldScreenRenderLayoutItem buildFieldScreenRenderLayoutItem(OrderableField field, org.ofbiz.core.entity.GenericValue issue)
           
 WorkflowTransitionKey decodeWorkflowTransitionKey(String encoded)
          Decodes a string into its WorkflowTransitionKey.
 String doDetails()
           
 String doDetailsValidation()
           
 String doEditValidation()
           
 String doPerform()
           
 String encodeWorkflowTransitionKey(WorkflowTransitionKey workflowTransitionKey)
           
 String[] getActions()
           
 Map getAllEditActions()
           
 BulkWorkflowTransitionOperation getBulkWorkflowTransitionOperation()
           
 String getCommentaction()
           
 BulkEditAction getCommentBulkEditAction()
           
 String getCommentHtml()
           
 org.ofbiz.core.entity.GenericValue getDestinationStatus(WorkflowTransitionKey workflowTransitionKey)
          Deprecated. Use getDestinationStatusObject(WorkflowTransitionKey) instead. Since v5.0.
 Status getDestinationStatusObject(WorkflowTransitionKey workflowTransitionKey)
           
 Collection getEditActions(String fieldScreenTabName)
           
 String getFieldHtml(OrderableField orderableField)
           
 Collection getFieldScreenRenderTabs()
           
 String getFieldViewHtml(OrderableField orderableField)
           
 String getOperationDetailsActionName()
           
 org.ofbiz.core.entity.GenericValue getOriginStatus(WorkflowTransitionKey workflowTransitionKey)
          Deprecated. Use getOriginStatusObject(WorkflowTransitionKey) instead. Since v5.0.
 Status getOriginStatusObject(WorkflowTransitionKey workflowTransitionKey)
           
 int getSelectedTab()
           
 List getShortListTransitionIssueKeys(Collection issueKeys)
           
 Collection getTabsWithErrors()
           
 boolean isChecked(String value)
           
 boolean isForceResolution(Field field)
           
 boolean isHasAvailableActions()
           
protected  String redirectToStart()
           
 String removeSpaces(String string)
           
 void setActions(String[] actions)
           
 void setCommentaction(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
addIssueToHistory, 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, isTimeTrackingEnabled, setSearchRequest, setSelectedIssueId, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowsableProjects, getBrowseableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, 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 String RADIO_ERROR_MSG
See Also:
Constant Field Values
Constructor Detail

BulkWorkflowTransition

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

doDetails

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

doDetailsValidation

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

doEditValidation

public String doEditValidation()

doPerform

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

getEditActions

public Collection getEditActions(String fieldScreenTabName)

getCommentBulkEditAction

public BulkEditAction getCommentBulkEditAction()

getCommentHtml

public String getCommentHtml()

getAllEditActions

public Map getAllEditActions()

isHasAvailableActions

public boolean isHasAvailableActions()
                              throws Exception
Throws:
Exception

getOperationDetailsActionName

public String getOperationDetailsActionName()

isChecked

public boolean isChecked(String value)

decodeWorkflowTransitionKey

public WorkflowTransitionKey decodeWorkflowTransitionKey(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 String encodeWorkflowTransitionKey(WorkflowTransitionKey workflowTransitionKey)

getOriginStatus

@Deprecated
public org.ofbiz.core.entity.GenericValue getOriginStatus(WorkflowTransitionKey workflowTransitionKey)
Deprecated. Use getOriginStatusObject(WorkflowTransitionKey) instead. Since v5.0.


getOriginStatusObject

public Status getOriginStatusObject(WorkflowTransitionKey workflowTransitionKey)

getDestinationStatus

@Deprecated
public org.ofbiz.core.entity.GenericValue getDestinationStatus(WorkflowTransitionKey workflowTransitionKey)
Deprecated. Use getDestinationStatusObject(WorkflowTransitionKey) instead. Since v5.0.


getDestinationStatusObject

public Status getDestinationStatusObject(WorkflowTransitionKey workflowTransitionKey)

getShortListTransitionIssueKeys

public List getShortListTransitionIssueKeys(Collection issueKeys)

getActions

public String[] getActions()

setActions

public void setActions(String[] actions)

isForceResolution

public boolean isForceResolution(Field field)

getCommentaction

public String getCommentaction()

setCommentaction

public void setCommentaction(String commentaction)

getFieldViewHtml

public String getFieldViewHtml(OrderableField orderableField)

getFieldHtml

public String getFieldHtml(OrderableField orderableField)
                    throws Exception
Throws:
Exception

getFieldScreenRenderTabs

public Collection getFieldScreenRenderTabs()

buildFieldScreenRenderLayoutItem

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

getBulkWorkflowTransitionOperation

public BulkWorkflowTransitionOperation getBulkWorkflowTransitionOperation()

getTabsWithErrors

public Collection getTabsWithErrors()

getSelectedTab

public int getSelectedTab()

removeSpaces

public String removeSpaces(String string)

redirectToStart

protected String redirectToStart()


Copyright © 2002-2013 Atlassian. All Rights Reserved.