com.pyxis.greenhopper.jira.actions
Class BoardAction

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
All Implemented Interfaces:
com.atlassian.jira.util.ErrorCollection, com.atlassian.jira.util.I18nHelper, com.atlassian.jira.web.action.issue.IssueSummaryAware, com.atlassian.jira.web.HttpServletVariables, com.atlassian.jira.web.util.AuthorizationSupport, I18n, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
ConfigurationAction, ContextBoardAction, GreenHopperAction, LicenseAction, PlanningBoardAction

public class BoardAction
extends AbstractBoardAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport.MessageType
 
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
protected  boolean confirmed
           
protected  Context context
           
protected  com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager
           
protected  boolean refresh
           
protected  Board selectedBoard
           
protected  java.lang.Long selectedProjectId
           
protected  com.atlassian.jira.project.version.Version selectedVersion
           
protected  int start
           
protected  com.atlassian.jira.config.SubTaskManager subtaskManager
           
protected  java.lang.String 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
BoardAction(GreenHopper greenHopperService, GreenHopperLicenseManager ghLicense, com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager, com.atlassian.jira.config.SubTaskManager subtaskManager)
           
 
Method Summary
protected  java.lang.String boardResult()
           
protected  boolean canGHBrowse()
           
protected  boolean checkLicence()
           
 java.lang.String doCloseLegend()
           
 java.lang.String doFullScreen()
           
 java.lang.String doGet()
           
 java.lang.String doGetLegend()
           
 java.lang.String doNormalScreen()
           
 java.lang.String doSuccess()
           
 java.lang.String encodeJavaScript(java.lang.String text)
           
 java.lang.String encodeJson(java.lang.String text)
           
 java.util.Set<AssigneeBoard> getAllAssigneeBoards()
           
 java.util.Set<WatchedField> getAllChartableFields()
           
 java.util.Set<ComponentBoard> getAllComponentBoards()
           
 java.util.Collection<com.atlassian.jira.bc.project.component.ProjectComponent> getAllComponents()
           
 boolean getAllowUnassigned()
           
 java.util.Map<java.lang.String,java.lang.String> getAllPlanningViews()
           
 java.util.Collection<org.ofbiz.core.entity.GenericValue> getAllSecurityLevels()
           
 java.util.Collection<com.atlassian.jira.issue.status.Status> getAllStatuses()
           
 java.util.Map<java.lang.String,java.lang.String> getAllTabs()
           
 java.util.TreeSet<com.atlassian.jira.project.Project> getAllUserProjects()
           
 java.util.Set<VersionBoard> getAllVersionBoards()
           
 java.util.Collection<com.atlassian.crowd.embedded.api.User> getAssignableUsers()
           
 BoardContext getBoardContext()
           
 java.lang.String getBoardGroup()
           
 java.lang.String getBoardURL()
          Changed to public to be accessible by issueaction-links.vm
 boolean getCanAssign()
           
 boolean getCanBrowse()
           
 boolean getCanBulkEdit()
           
 boolean getCanCreateNewCards()
           
 boolean getCanEditConfig()
           
 boolean getCanProjectAssign()
           
 boolean getCanProjectEdit()
           
 boolean getCanSelectVersion()
           
 boolean getCanSetSecurity()
           
 ProjectConfiguration getConfigFor(java.lang.Long projectId)
           
 Context getContext()
           
 com.atlassian.crowd.embedded.api.User getDefaultAssignee()
           
 org.ofbiz.core.entity.GenericValue getDefaultSecurity()
           
 java.lang.String getFieldName(java.lang.String fieldId)
           
 GHConfiguration getGHConfiguration()
           
 com.atlassian.jira.project.Project getGhProject()
           
 double getHighLightRatio()
           
 java.lang.String getHtmlEncodedText(java.lang.String key)
           
 boolean getIsAssignable()
           
 WatchedField getIssueCountField()
           
 java.lang.String getIssueDisplay()
           
protected  IssueFieldManager getIssueFieldManager()
           
 java.lang.String getJavascriptEncodedText(java.lang.String key)
           
 java.lang.String getModifierKey()
          Returns the modifier key used for the specific browser/platform.
 java.lang.String getPageTitle()
           
 UserBoardsPreferences getPreferences()
           
 ProjectBoard getProjectBoard()
           
 ProjectConfiguration getProjectConfig()
           
 java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getProjectIssueTypes()
           
 java.lang.String getRedirectType()
           
 java.util.List<com.atlassian.jira.project.version.Version> getReleasedVersions()
           
 WatchedField getRemainingField()
           
 java.util.Collection<com.atlassian.crowd.embedded.api.User> getReporterUsers()
           
 java.lang.String getSearchKey()
           
 java.util.Collection<com.atlassian.jira.issue.Issue> getSearchResults()
           
 java.lang.String getSearchType()
           
 Board getSelectedBoard()
           
 java.lang.Long getSelectedProjectId()
           
 java.lang.String getSelectedTab()
           
 boolean getShowClassicBoardsWarning()
          Checks the session for a flag to see whether the classic boards warning should be displayed
 boolean getShowLegend()
           
 java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getStandardIssueTypes()
           
 boolean getSubsVisibility()
           
 java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getSubtaskTypes()
           
 java.lang.String getText(java.lang.String key)
          Get the translated text from the resource bundle.
 java.lang.String getText(java.lang.String key, java.util.Locale locale)
           
 java.lang.String getText(java.lang.String key, java.lang.String parameter)
           
 java.lang.String getText(java.lang.String key, java.lang.String[] parameters)
           
 java.lang.String getTruncatedText(java.lang.String key, int length)
           
 java.lang.String getType()
           
 java.util.List<com.atlassian.jira.project.version.Version> getUnreleasedVersions()
           
 java.lang.String getUrlEncodedText(java.lang.String key)
           
 UserBoardSettings getUserSettings()
           
 java.lang.String getView()
           
 java.lang.String getViewIssueKey()
           
 java.lang.String getWarningId()
           
protected  java.lang.String getWarningUrl(java.lang.String warningId)
           
 java.lang.String getXsrfToken()
          Returns the xsrf token used for the current request.
 boolean hasModBar()
           
 java.lang.String htmlEncode(java.lang.String txt)
           
 boolean isAProjectBoard()
          TODO This should be refactored! Was initially meant to correct the xml plugin file size Is it still an issue? Advatages of the MVC not being fully used!
 boolean isArchiveChartBoard()
           
 boolean isAssigneeBoard()
           
protected  boolean isBoardSpecified()
           
 boolean isCardBgColored()
           
 boolean isChartBoard()
           
 boolean isCompactView()
           
 boolean isComponentBoard()
           
 boolean isConfigurationBoard()
           
 boolean isFullScreen()
           
 boolean isHierarchyInstalled()
           
 boolean isListAlt()
           
 boolean isPlanningBoard()
           
 boolean isRefresh()
           
 boolean isReleasedBoard()
           
 boolean isSearchBoard()
           
 boolean isSecurityEnabled()
           
 boolean isSelected(com.atlassian.jira.project.Project project)
           
 boolean isSubtaskAllowed()
           
 boolean isTaskBoard()
           
 boolean isVersionBoard()
           
protected  void registerSelectedView()
           
 void setClassicBoardsWarningShown()
          Removes the session flag
 void setConfirmed(boolean confirmed)
           
 void setIssueDisplay(java.lang.String issueDisplay)
           
 void setRedirectType(java.lang.String redirectType)
           
 void setSearchKey(java.lang.String searchKey)
           
 void setSearchType(java.lang.String searchType)
           
 void setSelectedBoardId(java.lang.String selectedBoardId)
           
 void setSelectedProjectId(java.lang.Long selectedProjectId)
           
 void setShowClassicBoardsWarning()
          Marks in the session that the classic boards warning should be shown.
 void setStart(int start)
           
 void setType(java.lang.String type)
           
 void setViewIssueKey(java.lang.String viewIssueKey)
           
 void setWarningId(java.lang.String warningId)
           
 
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, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getVersionManager, getWebworkStack, getWebworkStack, hasErrorMessage, hasErrorMessageByKey, hasIssuePermission, hasPermission, hasProjectPermission, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, urlEncode
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addErrorMessage, doDefault, doExecute, doValidation, 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, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

issueLinkManager

protected com.atlassian.jira.issue.link.IssueLinkManager issueLinkManager

subtaskManager

protected com.atlassian.jira.config.SubTaskManager subtaskManager

selectedBoard

protected Board selectedBoard

selectedVersion

protected com.atlassian.jira.project.version.Version selectedVersion

selectedProjectId

protected java.lang.Long selectedProjectId

confirmed

protected boolean confirmed

refresh

protected boolean refresh

context

protected Context context

warningId

protected java.lang.String warningId

start

protected int start
Constructor Detail

BoardAction

public BoardAction(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()

doGet

public java.lang.String doGet()

doFullScreen

public java.lang.String doFullScreen()

doNormalScreen

public java.lang.String doNormalScreen()

doGetLegend

public java.lang.String doGetLegend()

doCloseLegend

public java.lang.String doCloseLegend()

getGhProject

public com.atlassian.jira.project.Project getGhProject()

isSelected

public boolean isSelected(com.atlassian.jira.project.Project project)

getSelectedProjectId

public java.lang.Long getSelectedProjectId()
Overrides:
getSelectedProjectId in class ProjectActionSupport

setSelectedProjectId

public void setSelectedProjectId(java.lang.Long selectedProjectId)
Overrides:
setSelectedProjectId in class com.atlassian.jira.web.action.JiraWebActionSupport

getProjectBoard

public ProjectBoard getProjectBoard()

getAllPlanningViews

public java.util.Map<java.lang.String,java.lang.String> getAllPlanningViews()

getSearchKey

public java.lang.String getSearchKey()

setSearchKey

public void setSearchKey(java.lang.String searchKey)

getSearchType

public java.lang.String getSearchType()

setSearchType

public void setSearchType(java.lang.String searchType)

getSearchResults

public java.util.Collection<com.atlassian.jira.issue.Issue> getSearchResults()

getSubsVisibility

public boolean getSubsVisibility()

isCompactView

public boolean isCompactView()

getUnreleasedVersions

public java.util.List<com.atlassian.jira.project.version.Version> getUnreleasedVersions()

getReleasedVersions

public java.util.List<com.atlassian.jira.project.version.Version> getReleasedVersions()

isSubtaskAllowed

public boolean isSubtaskAllowed()

getAllChartableFields

public java.util.Set<WatchedField> getAllChartableFields()

getHighLightRatio

public double getHighLightRatio()

getRemainingField

public WatchedField getRemainingField()

getIssueCountField

public WatchedField getIssueCountField()

getProjectConfig

public ProjectConfiguration getProjectConfig()

getGHConfiguration

public GHConfiguration getGHConfiguration()

getConfigFor

public ProjectConfiguration getConfigFor(java.lang.Long projectId)

getCanBulkEdit

public boolean getCanBulkEdit()

getCanEditConfig

public boolean getCanEditConfig()

getCanCreateNewCards

public boolean getCanCreateNewCards()

getCanProjectEdit

public boolean getCanProjectEdit()

getCanProjectAssign

public boolean getCanProjectAssign()

getCanSelectVersion

public boolean getCanSelectVersion()

getCanSetSecurity

public boolean getCanSetSecurity()

getCanAssign

public boolean getCanAssign()

getIsAssignable

public boolean getIsAssignable()

getDefaultAssignee

public com.atlassian.crowd.embedded.api.User getDefaultAssignee()

getDefaultSecurity

public org.ofbiz.core.entity.GenericValue getDefaultSecurity()

getAllowUnassigned

public boolean getAllowUnassigned()

getPreferences

public UserBoardsPreferences getPreferences()

getUserSettings

public UserBoardSettings getUserSettings()

getAllUserProjects

public java.util.TreeSet<com.atlassian.jira.project.Project> getAllUserProjects()

getAllSecurityLevels

public java.util.Collection<org.ofbiz.core.entity.GenericValue> getAllSecurityLevels()

getAllComponents

public java.util.Collection<com.atlassian.jira.bc.project.component.ProjectComponent> getAllComponents()

getAllStatuses

public java.util.Collection<com.atlassian.jira.issue.status.Status> getAllStatuses()

isRefresh

public boolean isRefresh()

setConfirmed

public void setConfirmed(boolean confirmed)

setSelectedBoardId

public void setSelectedBoardId(java.lang.String selectedBoardId)

getShowLegend

public boolean getShowLegend()

isSecurityEnabled

public boolean isSecurityEnabled()

getProjectIssueTypes

public java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getProjectIssueTypes()

getStandardIssueTypes

public java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getStandardIssueTypes()

getSubtaskTypes

public java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getSubtaskTypes()

getAllVersionBoards

public java.util.Set<VersionBoard> getAllVersionBoards()

getAllComponentBoards

public java.util.Set<ComponentBoard> getAllComponentBoards()

getAllAssigneeBoards

public java.util.Set<AssigneeBoard> getAllAssigneeBoards()

getReporterUsers

public java.util.Collection<com.atlassian.crowd.embedded.api.User> getReporterUsers()

getAssignableUsers

public java.util.Collection<com.atlassian.crowd.embedded.api.User> getAssignableUsers()

getCanBrowse

public boolean getCanBrowse()

isHierarchyInstalled

public boolean isHierarchyInstalled()

getText

public java.lang.String getText(java.lang.String key,
                                java.util.Locale locale)

getText

public java.lang.String getText(java.lang.String key)
Get the translated text from the resource bundle. If it's not found in the GH translations, try to fall back to JIRA. If it's not found there as well, return the key.

Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Specified by:
getText in interface I18n
Overrides:
getText in class ProjectActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String[] parameters)

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String parameter)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class ProjectActionSupport

getModifierKey

public java.lang.String getModifierKey()
Returns the modifier key used for the specific browser/platform. This is used to render keyboard shortcuts, e.g. CTRL+s


getHtmlEncodedText

public java.lang.String getHtmlEncodedText(java.lang.String key)
Specified by:
getHtmlEncodedText in interface I18n
Overrides:
getHtmlEncodedText in class ProjectActionSupport

getJavascriptEncodedText

public java.lang.String getJavascriptEncodedText(java.lang.String key)

htmlEncode

public java.lang.String htmlEncode(java.lang.String txt)
Overrides:
htmlEncode in class ProjectActionSupport

getUrlEncodedText

public java.lang.String getUrlEncodedText(java.lang.String key)

getTruncatedText

public java.lang.String getTruncatedText(java.lang.String key,
                                         int length)

encodeJavaScript

public java.lang.String encodeJavaScript(java.lang.String text)

encodeJson

public java.lang.String encodeJson(java.lang.String text)

setRedirectType

public void setRedirectType(java.lang.String redirectType)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

isFullScreen

public boolean isFullScreen()

isCardBgColored

public boolean isCardBgColored()

isListAlt

public boolean isListAlt()

getIssueDisplay

public java.lang.String getIssueDisplay()

setIssueDisplay

public void setIssueDisplay(java.lang.String issueDisplay)

setStart

public void setStart(int start)

getFieldName

public java.lang.String getFieldName(java.lang.String fieldId)

getWarningId

public java.lang.String getWarningId()

setWarningId

public void setWarningId(java.lang.String warningId)

getShowClassicBoardsWarning

public boolean getShowClassicBoardsWarning()
Checks the session for a flag to see whether the classic boards warning should be displayed


setClassicBoardsWarningShown

public void setClassicBoardsWarningShown()
Removes the session flag


setShowClassicBoardsWarning

public void setShowClassicBoardsWarning()
Marks in the session that the classic boards warning should be shown.


getBoardContext

public BoardContext getBoardContext()

getContext

public Context getContext()

getPageTitle

public java.lang.String getPageTitle()

hasModBar

public boolean hasModBar()

registerSelectedView

protected void registerSelectedView()

getWarningUrl

protected java.lang.String getWarningUrl(java.lang.String warningId)

boardResult

protected java.lang.String boardResult()

canGHBrowse

protected boolean canGHBrowse()

getBoardURL

public java.lang.String getBoardURL()
Changed to public to be accessible by issueaction-links.vm


getXsrfToken

public java.lang.String getXsrfToken()
Returns the xsrf token used for the current request. We currently only use this to generate correct workflow transition requests

Overrides:
getXsrfToken in class com.atlassian.jira.web.action.JiraWebActionSupport

isAProjectBoard

public boolean isAProjectBoard()
TODO This should be refactored! Was initially meant to correct the xml plugin file size Is it still an issue? Advatages of the MVC not being fully used!


isVersionBoard

public boolean isVersionBoard()

isAssigneeBoard

public boolean isAssigneeBoard()

isComponentBoard

public boolean isComponentBoard()

isTaskBoard

public boolean isTaskBoard()

isChartBoard

public boolean isChartBoard()

isArchiveChartBoard

public boolean isArchiveChartBoard()

isConfigurationBoard

public boolean isConfigurationBoard()

isSearchBoard

public boolean isSearchBoard()

isReleasedBoard

public boolean isReleasedBoard()

isPlanningBoard

public boolean isPlanningBoard()

getSelectedBoard

public Board getSelectedBoard()

getView

public java.lang.String getView()

getBoardGroup

public java.lang.String getBoardGroup()

getAllTabs

public java.util.Map<java.lang.String,java.lang.String> getAllTabs()

getSelectedTab

public java.lang.String getSelectedTab()

getRedirectType

public java.lang.String getRedirectType()

isBoardSpecified

protected boolean isBoardSpecified()

getIssueFieldManager

protected IssueFieldManager getIssueFieldManager()

getViewIssueKey

public java.lang.String getViewIssueKey()
Overrides:
getViewIssueKey in class AbstractIssueSelectAction

setViewIssueKey

public void setViewIssueKey(java.lang.String viewIssueKey)
Overrides:
setViewIssueKey in class AbstractIssueSelectAction

checkLicence

protected boolean checkLicence()


Copyright © 2007-2014 Atlassian. All Rights Reserved.