com.pyxis.greenhopper.jira.actions
Class CreateIssueAction

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.pyxis.greenhopper.jira.actions.ProjectActionSupport
                  extended by com.pyxis.greenhopper.jira.actions.IssueActionSupport
                      extended by com.pyxis.greenhopper.jira.actions.AbstractIssueSelectAction
                          extended by com.pyxis.greenhopper.jira.actions.AbstractBoardAction
                              extended by com.pyxis.greenhopper.jira.actions.BoardAction
                                  extended by com.pyxis.greenhopper.jira.actions.ContextBoardAction
                                      extended by com.pyxis.greenhopper.jira.actions.CardBoardAction
                                          extended by com.pyxis.greenhopper.jira.actions.CreateIssueAction
All Implemented Interfaces:
com.atlassian.jira.util.ErrorCollection, com.atlassian.jira.util.I18nHelper, com.atlassian.jira.web.action.issue.IssueSummaryAware, com.atlassian.jira.web.util.AuthorizationSupport, I18n, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class CreateIssueAction
extends CardBoardAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
com.atlassian.jira.util.ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
com.atlassian.jira.util.I18nHelper.BeanFactory
 
Field Summary
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.CardBoardAction
anchor, capacityService, EXPANDED_BOX, fieldId, fieldType, maxCapacity, minCapacity, simpleUpdate, statService
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.ContextBoardAction
contextName, maxVBIssues
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.BoardAction
confirmed, context, issueLinkManager, refresh, selectedBoard, selectedProjectId, selectedVersion, start, subtaskManager, warningId
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.AbstractBoardAction
ghLicense, greenHopperService, issuesToUpdate
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.AbstractIssueSelectAction
id, issueObject
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.IssueActionSupport
attachmentManager
 
Fields inherited from class com.pyxis.greenhopper.jira.actions.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
CreateIssueAction(GreenHopper greenHopperService, GreenHopperLicenseManager ghLicense, com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager, com.atlassian.jira.config.SubTaskManager subtaskManager, StatService statService, CapacityService capacityService)
           
 
Method Summary
 java.lang.String buildValues(java.lang.String holder)
           
 java.lang.String doCreateIssue()
           
 java.lang.String doCreatingIssue()
           
 java.lang.String doSuccess()
           
 java.lang.String getFieldsKeys()
           
 java.lang.String getFieldsValues()
           
 java.lang.String getForcedFieldsKeys()
           
 java.lang.String getForcedFieldsValues()
           
 java.lang.String getIssueType()
           
 java.util.Set<java.lang.String> getLabelFieldValues(IssueField field)
           
 com.atlassian.jira.issue.Issue getRelativeIssue(com.atlassian.jira.issue.fields.CustomField field)
           
 CreatingBoard getSelectedBoard()
           
 boolean isCreateNext()
           
 void setCreateNext(boolean createNext)
           
 void setFieldsKeys(java.lang.String fieldsKeys)
           
 void setFieldsValues(java.lang.String fieldsValues)
           
 void setForcedFieldsKeys(java.lang.String forcedFieldsKeys)
           
 void setForcedFieldsValues(java.lang.String forcedFieldsValues)
           
 void setIssueType(java.lang.String issueType)
           
 void setRelativeIssueKey(java.lang.String relativeIssueKey)
           
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.CardBoardAction
affectsDisplay, affectsStats, canLogWork, doEditField, doFlag, doGetBoardForIssue, doNavigator, doRefreshIssue, doSetIssueDisplay, doToggleCard, doUpdateField, getAnchor, getBottomMarkers, getBoxType, getCanProjectSchedule, getCapacity, getCapacityMessage, getColPage, getCompiledMarkers, getContextMap, getDefaultCapacity, getExpandedBoxes, getField, getFieldId, getFieldType, getIndex, getIssueMarkers, getNavInfo, getSummaryForBoard, getWatchedField, isAnyVisibleStepBusted, isAssignable, isBusted, isDropEnabled, isExpanded, isMaxBusted, isMinBusted, isParentStep, isPreviousVisibleStepMaxBusted, isSelected, isSimpleUpdate, setColPage, setCommitedIn, setDropEnabled, setFieldId, setFieldType, setFieldValue, setIndex, setMaxCapacity, setMinCapacity, setNavInfo
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.ContextBoardAction
doAddNonWorkingDay, doCreateContext, doDeleteContext, doEditContext, doEnablePersonal, doRemoveNonWorkingDay, doSaveContext, doSaveUserPreferences, doSetContext, doToggleDone, doToggleMyIssues, doTogglePending, doToggleSubs, getContextId, getContextName, getRefreshModbar, isRankable, setAssignee, setAutoAssignOn, setCardBgColored, setComponentIds, setContextId, setContextName, setDoneFilterOn, setFilterOn, setHiliteAssignee, setHiliteComponentIds, setHiliteDoneFilterOn, setHiliteOn, setHilitePriorityIds, setHiliteStatusIds, setHiliteTypeIds, setHiliteUnresolvedFilterOn, setJiraFilter, setJiraHilite, setListAlt, setMaxParents, setMaxTBIssues, setMaxVBIssues, setNonWorkingDay, setOpacityRatio, setPersonalFilterOn, setPrecision, setPriorityIds, setShare, setSortField, setSortOrder, setStatusIds, setTypeIds, setUnresolvedFilterOn, setUseJIRAIFrame, setWithDates, setWithForecast, setWithLabels
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.BoardAction
boardResult, canGHBrowse, checkLicence, doCloseLegend, doFullScreen, doGet, doGetLegend, doNormalScreen, encodeJavaScript, encodeJson, getAllAssigneeBoards, getAllChartableFields, getAllComponentBoards, getAllComponents, getAllowUnassigned, getAllPlanningViews, getAllSecurityLevels, getAllStatuses, getAllTabs, getAllUserProjects, getAllVersionBoards, getAssignableUsers, getBoardContext, getBoardGroup, getBoardURL, getCanAssign, getCanBrowse, getCanBulkEdit, getCanCreateNewCards, getCanEditConfig, getCanProjectAssign, getCanProjectEdit, getCanSelectVersion, getCanSetSecurity, getConfigFor, getContext, getDefaultAssignee, getDefaultSecurity, getFieldName, getGHConfiguration, getGhProject, getHighLightRatio, getHtmlEncodedText, getIsAssignable, getIssueCountField, getIssueDisplay, getIssueFieldManager, getJavascriptEncodedText, getModifierKey, getPageTitle, getPreferences, getProjectBoard, getProjectConfig, getProjectIssueTypes, getRedirectType, getReleasedVersions, getRemainingField, getReporterUsers, getSearchKey, getSearchResults, getSearchType, getSelectedProjectId, getSelectedTab, getShowClassicBoardsWarning, getShowLegend, getStandardIssueTypes, getSubsVisibility, getSubtaskTypes, getText, getText, getText, getText, getTruncatedText, getType, getUnreleasedVersions, getUrlEncodedText, getUseJiraIFrame, getUserSettings, getView, getViewIssueKey, getWarningId, getWarningUrl, getXsrfToken, hasModBar, htmlEncode, isAProjectBoard, isArchiveChartBoard, isAssigneeBoard, isBoardSpecified, isCardBgColored, isChartBoard, isCompactView, isComponentBoard, isConfigurationBoard, isFullScreen, isHierarchyInstalled, isListAlt, isPlanningBoard, isRefresh, isReleasedBoard, isSearchBoard, isSecurityEnabled, isSelected, isSubtaskAllowed, isTaskBoard, isVersionBoard, registerSelectedView, setClassicBoardsWarningShown, setConfirmed, setIssueDisplay, setRedirectType, setSearchKey, setSearchType, setSelectedBoardId, setSelectedProjectId, setShowClassicBoardsWarning, setStart, setType, setViewIssueKey, setWarningId
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.AbstractBoardAction
addError, addError, addError, asApplicationSlashJson, getAllJIRAProjects, getAllPriorities, getAllResolutions, getCalendarFormat, getCalendarLocale, getCalendarTimeFormat, getCanEditPreferences, getDefaultPriorityId, getDefaultResolutionId, getHelpPath, getI18n, getId, getIssueKeys, getIssuesToUpdate, getKey, getPluginKey, getPluginVersion, getResourceLocation, getUserProjectHistoryManager, getUtil, includeFieldResourcesForCurrentUser, isAdmin, isBetaEnabled, isHostedEnvironment, isTimeTrackingOn, isUnassignAllowed, redirectToDashboard, redirectToRapidStart, registerKeyboardContext, resetIssue, setI18nFactoryService, setId, setIssueKeys, setKey, setWebUtilities, toDecimalFormat, validate
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.AbstractIssueSelectAction
cameFromIssue, cameFromParent, getIssue, getIssueObject, getIssueObjectNoSecurityCheck, getIssuePath, getLayoutBean, getParentIssueObject, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSubTaskManager, getSummaryIssue, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTask, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, setIssue
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.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.pyxis.greenhopper.jira.actions.ProjectActionSupport
escapeJavaScript, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getVersionManager, getWebworkStack, getWebworkStack, hasErrorMessage, hasErrorMessageByKey, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
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.pyxis.greenhopper.jira.util.I18n
getText
 
Methods inherited from interface com.atlassian.jira.web.action.issue.IssueSummaryAware
getLoggedInUser
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Constructor Detail

CreateIssueAction

public CreateIssueAction(GreenHopper greenHopperService,
                         GreenHopperLicenseManager ghLicense,
                         com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager,
                         com.atlassian.jira.config.SubTaskManager subtaskManager,
                         StatService statService,
                         CapacityService capacityService)
Method Detail

doSuccess

public java.lang.String doSuccess()
Overrides:
doSuccess in class CardBoardAction

doCreatingIssue

public java.lang.String doCreatingIssue()

doCreateIssue

public java.lang.String doCreateIssue()

getSelectedBoard

public CreatingBoard getSelectedBoard()
Overrides:
getSelectedBoard in class BoardAction

getIssueType

public java.lang.String getIssueType()

setIssueType

public void setIssueType(java.lang.String issueType)

getFieldsKeys

public java.lang.String getFieldsKeys()

setFieldsKeys

public void setFieldsKeys(java.lang.String fieldsKeys)

getForcedFieldsKeys

public java.lang.String getForcedFieldsKeys()

setForcedFieldsKeys

public void setForcedFieldsKeys(java.lang.String forcedFieldsKeys)

getFieldsValues

public java.lang.String getFieldsValues()

setFieldsValues

public void setFieldsValues(java.lang.String fieldsValues)

getForcedFieldsValues

public java.lang.String getForcedFieldsValues()

setForcedFieldsValues

public void setForcedFieldsValues(java.lang.String forcedFieldsValues)

isCreateNext

public boolean isCreateNext()

setCreateNext

public void setCreateNext(boolean createNext)

getRelativeIssue

public com.atlassian.jira.issue.Issue getRelativeIssue(com.atlassian.jira.issue.fields.CustomField field)

setRelativeIssueKey

public void setRelativeIssueKey(java.lang.String relativeIssueKey)

buildValues

public java.lang.String buildValues(java.lang.String holder)

getLabelFieldValues

public java.util.Set<java.lang.String> getLabelFieldValues(IssueField field)


Copyright © 2007-2012 Atlassian. All Rights Reserved.