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

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

public class BulkWorkflowTransition
extends AbstractBulkOperationDetailsAction

See Also:
Serialized Form

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, savedFilters, selectedProject
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
BulkWorkflowTransition(IssueUtilsBean issueUtilsBean, WorkflowManager workflowManager, IssueManager issueManager, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, JiraAuthenticationContext authenticationContext, FieldLayoutManager fieldLayoutManager, BulkWorkflowTransitionOperation bulkWorkflowTransitionOperation, ConstantsManager constantsManager, PermissionManager permissionManager)
           
 
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(String id, String workflowName)
           
 String[] getActions()
           
 Map getAllEditActions()
           
 BulkWorkflowTransitionOperation getBulkWorkflowTransitionOperation()
           
 String getCommentaction()
           
 BulkEditAction getCommentBulkEditAction()
           
 String getCommentHtml()
           
 org.ofbiz.core.entity.GenericValue getDestinationStatus(String workflowName, String actionDescriptorId)
           
 Collection getEditActions(String fieldScreenTabName)
           
 String getFieldHtml(OrderableField orderableField)
           
 Collection getFieldScreenRenderTabs()
           
 String getFieldViewHtml(OrderableField orderableField)
           
 String getOperationDetailsActionName()
           
 org.ofbiz.core.entity.GenericValue getOriginStatus(String workflowName, String actionDescriptorId)
           
 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
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getCalendarTranslationFilenameForLanguage, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, doExecute, doValidation, 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
setCommand
 

Field Detail

RADIO_ERROR_MSG

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

BulkWorkflowTransition

public BulkWorkflowTransition(IssueUtilsBean issueUtilsBean,
                              WorkflowManager workflowManager,
                              IssueManager issueManager,
                              FieldScreenRendererFactory fieldScreenRendererFactory,
                              FieldManager fieldManager,
                              JiraAuthenticationContext authenticationContext,
                              FieldLayoutManager fieldLayoutManager,
                              BulkWorkflowTransitionOperation bulkWorkflowTransitionOperation,
                              ConstantsManager constantsManager,
                              PermissionManager permissionManager)
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(String id,
                                          String workflowName)

getOriginStatus

public org.ofbiz.core.entity.GenericValue getOriginStatus(String workflowName,
                                                          String actionDescriptorId)
                                                   throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getDestinationStatus

public org.ofbiz.core.entity.GenericValue getDestinationStatus(String workflowName,
                                                               String actionDescriptorId)

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-2006 Atlassian. All Rights Reserved.