com.pyxis.greenhopper.jira.actions
Class ConfigurationAction

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.AbstractIssueSelectAction
                          extended by com.pyxis.greenhopper.jira.actions.AbstractBoardAction
                              extended by com.pyxis.greenhopper.jira.actions.BoardAction
                                  extended by com.pyxis.greenhopper.jira.actions.ConfigurationAction
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
Direct Known Subclasses:
GlobalConfigurationAction, ProjectConfigurationAction

public abstract class ConfigurationAction
extends BoardAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
com.atlassian.jira.util.I18nHelper.BeanFactory
 
Field Summary
protected  CardLayout cardLayout
           
protected  CompactLayout compactListLayout
           
protected  java.lang.String configurationId
           
protected  java.lang.String display
           
protected  java.lang.String fieldId
           
protected  java.lang.String flagValue
           
protected  Layouts layouts
           
protected  ListLayout listLayout
           
protected  java.lang.String resolutionValues
           
protected  java.lang.String statusValues
           
protected  java.lang.String stepId
           
protected  SummaryLayout summaryLayout
           
protected  java.lang.String typeId
           
 
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.atlassian.jira.web.action.issue.AbstractIssueSelectAction
id, issueObject
 
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
ConfigurationAction(GreenHopper greenHopperService, GreenHopperLicenseManager ghLicense, com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager, com.atlassian.jira.config.SubTaskManager subtaskManager)
           
 
Method Summary
 boolean canRemove(RankingField rankingField)
           
 java.lang.String doAddLayoutField()
           
 java.lang.String doAddNonWorkingDay()
           
 java.lang.String doAddStep()
           
 java.lang.String doApplyLayoutToAll()
           
 java.lang.String doChangeStepName()
           
 java.lang.String doRemoveLayoutField()
           
 java.lang.String doRemoveNonWorkingDay()
           
 java.lang.String doRemoveStep()
           
 java.lang.String doReorderSteps()
           
 java.lang.String doResetStepDefinition()
           
 java.lang.String doSaveLayout()
           
 java.lang.String doSetAggregation()
           
 java.lang.String doSetAutoAssign()
           
 java.lang.String doSetCardColor()
           
 java.lang.String doSetCorner()
           
 java.lang.String doSetCreation()
           
 java.lang.String doSetDefaultCardColor()
           
 java.lang.String doSetDefaultLayout()
           
 java.lang.String doSetFlagField()
           
 java.lang.String doSetFlagValue()
           
 java.lang.String doSetJiraIframe()
           
 java.lang.String doSetLinkType()
           
 java.lang.String doSetListAlt()
           
 java.lang.String doSetPermission()
           
 java.lang.String doSetStepDefinition()
           
 java.lang.String doSuccess()
           
 java.lang.String doToggleCardBgColored()
           
 java.util.List<IssueField> getAllAvailableCornerFields()
           
abstract  java.util.Collection<IssueField> getAllAvailableCornerFields(com.atlassian.jira.issue.issuetype.IssueType issueType)
           
abstract  java.util.Collection<IssueField> getAllAvailableFields(com.atlassian.jira.issue.issuetype.IssueType issueType)
           
 java.util.Set<IssueField> getAllAvailableFlagFields()
           
 java.util.Set<java.lang.String> getAllAvailableFlagValues()
           
 java.util.Set<IssueField> getAllAvailableRankingFields()
           
 java.util.List<IssueField> getAvailableFieldsForCard()
           
 java.util.List<IssueField> getAvailableFieldsForList()
           
 java.util.List<IssueField> getAvailableFieldsForSummary()
           
 java.lang.String getCardColor()
           
 Layout getCardLayout()
           
 double getColWidth()
           
 Layout getCompactListLayout()
           
abstract  Configuration getConfiguration()
           
abstract  java.lang.String getConfigurationId()
           
 java.lang.String getDisplay()
           
 java.util.Map<com.atlassian.jira.issue.status.Status,java.util.Set<com.atlassian.jira.issue.resolution.Resolution>> getDuplicatas()
           
 FlagField getFlagField()
           
 int getIndex()
           
 com.atlassian.jira.issue.issuetype.IssueType getIssueType()
           
 Layouts getLayouts()
           
 Layout getListLayout()
           
 java.lang.String getNewStepId()
           
 java.util.Set<IssueField> getRankingFields()
           
abstract  java.lang.String getRankingFieldStatus(RankingField rankingField)
           
 StepBoard getSelectedStep()
           
 java.lang.String getStepId()
           
 Layout getSummaryLayout()
           
protected abstract  java.lang.String getTBRedirectURL()
           
protected abstract  java.lang.String getTemplateRedirectURL(java.lang.String anchor)
           
 java.lang.String getTypeId()
           
 boolean hasCorner()
           
 boolean isCardBgColored()
           
 boolean isConfigBoard()
           
 boolean isFullScreen()
           
abstract  boolean isRankFieldOptimizable()
           
 boolean isUpdated()
           
 void setAllowCreation(boolean allowCreation)
           
 void setAutoOn(boolean autoOn)
           
 void setCardColor(java.lang.String cardColor)
           
 void setConfigurationId(java.lang.String configurationId)
           
 void setDisplay(java.lang.String display)
           
 void setFieldId(java.lang.String fieldId)
           
 void setFlagValue(java.lang.String flagValue)
           
 void setIndex(int index)
           
 void setJiraIFrame(boolean jiraIFrame)
           
 void setLayoutFields(java.lang.String layoutFields)
           
 void setLinkTypeId(java.lang.Long linkTypeId)
           
 void setListAlt(boolean listAlt)
           
 void setNewStepId(java.lang.String newStepId)
           
 void setNonWorkingDay(java.lang.String nonWorkingDay)
           
 void setOrderedSteps(java.lang.String orderedSteps)
           
 void setPermission(boolean permission)
           
 void setResolutionValues(java.lang.String resolutionValues)
           
 void setStatusValues(java.lang.String statusValues)
           
 void setStepId(java.lang.String stepId)
           
 void setTypeId(java.lang.String typeId)
           
 void setUseAggregation(boolean useAggregation)
           
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.BoardAction
boardResult, canGHBrowse, doCloseLegend, doFullScreen, doGet, doGetLegend, doNormalScreen, encodeJavaScript, encodeJson, findBacklog, 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, getSelectedBoard, getSelectedProjectId, getSelectedTab, getShowLegend, getStandardIssueTypes, getSubsVisibility, getSubtaskTypes, getText, getText, getText, getText, getTruncatedText, getType, getUnreleasedVersions, getUrlEncodedText, getUseJiraIFrame, getUserSettings, getView, getViewIssueKey, getWarningId, getWarningUrl, getXProject, getXsrfToken, hasModBar, htmlEncode, isAProjectBoard, isArchiveChartBoard, isAssigneeBoard, isBoardSpecified, isChartBoard, isCompactView, isComponentBoard, isConfigurationBoard, isHierarchyInstalled, isListAlt, isPlanningBoard, isRefresh, isReleasedBoard, isSearchBoard, isSecurityEnabled, isSelected, isSubtaskAllowed, isTaskBoard, isVersionBoard, registerSelectedView, setConfirmed, setIssueDisplay, setRedirectType, setSearchKey, setSearchType, setSelectedBoardId, setSelectedProjectId, setStart, setType, setViewIssueKey, setWarningId
 
Methods inherited from class com.pyxis.greenhopper.jira.actions.AbstractBoardAction
addError, addError, addError, getAllJIRAProjects, getAllPriorities, getAllResolutions, getCalendarFormat, getCalendarLocale, getCalendarTimeFormat, getCanEditPreferences, getDefaultPriorityId, getDefaultResolutionId, getI18n, getId, getIssueKeys, getIssueOperations, getIssuesToUpdate, getKey, getPluginKey, getPluginVersion, getResourceLocation, getUserProjectHistoryManager, getUtil, includeFieldResourcesForCurrentUser, isAdmin, isBetaEnabled, isTimeTrackingOn, isUnassignAllowed, registerKeyboardContext, resetIssue, setI18nFactoryService, setId, setIssueKeys, setKey, setWebUtilities, toDecimalFormat, validate
 
Methods inherited from class com.atlassian.jira.web.action.issue.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.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, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRedirectChecker, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, hasErrorMessage, hasErrorMessageByKey, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, 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
getRemoteUser
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

configurationId

protected java.lang.String configurationId

layouts

protected Layouts layouts

compactListLayout

protected CompactLayout compactListLayout

listLayout

protected ListLayout listLayout

cardLayout

protected CardLayout cardLayout

summaryLayout

protected SummaryLayout summaryLayout

typeId

protected java.lang.String typeId

statusValues

protected java.lang.String statusValues

resolutionValues

protected java.lang.String resolutionValues

stepId

protected java.lang.String stepId

display

protected java.lang.String display

fieldId

protected java.lang.String fieldId

flagValue

protected java.lang.String flagValue
Constructor Detail

ConfigurationAction

public ConfigurationAction(GreenHopper greenHopperService,
                           GreenHopperLicenseManager ghLicense,
                           com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager,
                           com.atlassian.jira.config.SubTaskManager subtaskManager)
Method Detail

doSuccess

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

doSetPermission

public java.lang.String doSetPermission()

doSetCreation

public java.lang.String doSetCreation()

doSetAggregation

public java.lang.String doSetAggregation()

doSetAutoAssign

public java.lang.String doSetAutoAssign()

doToggleCardBgColored

public java.lang.String doToggleCardBgColored()

doSetListAlt

public java.lang.String doSetListAlt()

doSetJiraIframe

public java.lang.String doSetJiraIframe()

doSetLinkType

public java.lang.String doSetLinkType()

doSetDefaultLayout

public java.lang.String doSetDefaultLayout()

doApplyLayoutToAll

public java.lang.String doApplyLayoutToAll()

doRemoveLayoutField

public java.lang.String doRemoveLayoutField()

doAddLayoutField

public java.lang.String doAddLayoutField()

doSetCorner

public java.lang.String doSetCorner()

doSaveLayout

public java.lang.String doSaveLayout()

doSetCardColor

public java.lang.String doSetCardColor()

doSetDefaultCardColor

public java.lang.String doSetDefaultCardColor()

doResetStepDefinition

public java.lang.String doResetStepDefinition()

doSetStepDefinition

public java.lang.String doSetStepDefinition()

doReorderSteps

public java.lang.String doReorderSteps()

doChangeStepName

public java.lang.String doChangeStepName()

doAddStep

public java.lang.String doAddStep()

doRemoveStep

public java.lang.String doRemoveStep()

doSetFlagField

public java.lang.String doSetFlagField()

doSetFlagValue

public java.lang.String doSetFlagValue()

doAddNonWorkingDay

public java.lang.String doAddNonWorkingDay()

doRemoveNonWorkingDay

public java.lang.String doRemoveNonWorkingDay()

getSelectedStep

public StepBoard getSelectedStep()

setStatusValues

public void setStatusValues(java.lang.String statusValues)

setResolutionValues

public void setResolutionValues(java.lang.String resolutionValues)

getRankingFields

public java.util.Set<IssueField> getRankingFields()

getAllAvailableRankingFields

public java.util.Set<IssueField> getAllAvailableRankingFields()

getAllAvailableFlagFields

public java.util.Set<IssueField> getAllAvailableFlagFields()

canRemove

public boolean canRemove(RankingField rankingField)

getAllAvailableFlagValues

public java.util.Set<java.lang.String> getAllAvailableFlagValues()

getTypeId

public java.lang.String getTypeId()

getStepId

public java.lang.String getStepId()

getNewStepId

public java.lang.String getNewStepId()

getColWidth

public double getColWidth()

setJiraIFrame

public void setJiraIFrame(boolean jiraIFrame)

setPermission

public void setPermission(boolean permission)

setAllowCreation

public void setAllowCreation(boolean allowCreation)

setUseAggregation

public void setUseAggregation(boolean useAggregation)

setAutoOn

public void setAutoOn(boolean autoOn)

setLinkTypeId

public void setLinkTypeId(java.lang.Long linkTypeId)

setStepId

public void setStepId(java.lang.String stepId)

setTypeId

public void setTypeId(java.lang.String typeId)

setCardColor

public void setCardColor(java.lang.String cardColor)

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

setOrderedSteps

public void setOrderedSteps(java.lang.String orderedSteps)

setNewStepId

public void setNewStepId(java.lang.String newStepId)

setFieldId

public void setFieldId(java.lang.String fieldId)

setFlagValue

public void setFlagValue(java.lang.String flagValue)

isConfigBoard

public boolean isConfigBoard()

getDuplicatas

public java.util.Map<com.atlassian.jira.issue.status.Status,java.util.Set<com.atlassian.jira.issue.resolution.Resolution>> getDuplicatas()

setLayoutFields

public void setLayoutFields(java.lang.String layoutFields)

getIssueType

public com.atlassian.jira.issue.issuetype.IssueType getIssueType()

getDisplay

public java.lang.String getDisplay()

setDisplay

public void setDisplay(java.lang.String display)

isUpdated

public boolean isUpdated()

setConfigurationId

public void setConfigurationId(java.lang.String configurationId)

getFlagField

public FlagField getFlagField()

getLayouts

public Layouts getLayouts()

getCompactListLayout

public Layout getCompactListLayout()

getListLayout

public Layout getListLayout()

getCardLayout

public Layout getCardLayout()

getSummaryLayout

public Layout getSummaryLayout()

getAvailableFieldsForList

public java.util.List<IssueField> getAvailableFieldsForList()

getAvailableFieldsForCard

public java.util.List<IssueField> getAvailableFieldsForCard()

getAvailableFieldsForSummary

public java.util.List<IssueField> getAvailableFieldsForSummary()

getAllAvailableCornerFields

public java.util.List<IssueField> getAllAvailableCornerFields()

hasCorner

public boolean hasCorner()

getCardColor

public java.lang.String getCardColor()

setNonWorkingDay

public void setNonWorkingDay(java.lang.String nonWorkingDay)

isFullScreen

public boolean isFullScreen()
Overrides:
isFullScreen in class BoardAction

isCardBgColored

public boolean isCardBgColored()
Overrides:
isCardBgColored in class BoardAction

setListAlt

public void setListAlt(boolean listAlt)

getRankingFieldStatus

public abstract java.lang.String getRankingFieldStatus(RankingField rankingField)

getConfigurationId

public abstract java.lang.String getConfigurationId()

getConfiguration

public abstract Configuration getConfiguration()

getAllAvailableFields

public abstract java.util.Collection<IssueField> getAllAvailableFields(com.atlassian.jira.issue.issuetype.IssueType issueType)

getAllAvailableCornerFields

public abstract java.util.Collection<IssueField> getAllAvailableCornerFields(com.atlassian.jira.issue.issuetype.IssueType issueType)

isRankFieldOptimizable

public abstract boolean isRankFieldOptimizable()

getTemplateRedirectURL

protected abstract java.lang.String getTemplateRedirectURL(java.lang.String anchor)

getTBRedirectURL

protected abstract java.lang.String getTBRedirectURL()


Copyright © 2007-2011 Atlassian. All Rights Reserved.