com.atlassian.jira.web.action
Class Dashboard

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.Dashboard
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, Serializable
Direct Known Subclasses:
RunPortlet

public class Dashboard
extends IssueActionSupport

See Also:
Serialized Form

Field Summary
(package private)  Collection assignedIssues
           
(package private)  Collection inProgressIssues
           
(package private)  Long moveToPageId
           
protected  com.atlassian.plugin.PluginManager pluginManager
           
(package private)  PortalPageConfiguration portletConf
           
(package private)  Long selectPageId
           
(package private)  SearchSort sortOrder
           
(package private)  SearchSort sortOrder2
           
 
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
Dashboard(PortalManager portalManager, com.atlassian.plugin.PluginManager pluginManager)
           
 
Method Summary
protected  String doExecute()
           
protected  void doValidation()
           
 boolean extUserManagement()
           
 String getApplicationTitle()
           
 List getColumns()
           
 String getColumnWidth(Integer statusCount)
           
 Long getCurrentPageId()
           
 PortalPageConfiguration getCurrentPortalPage()
           
 Collection getDashboardPages()
           
 String getIntroduction()
           
 Long getMoveToPageId()
           
 Map getPriorityStats(org.ofbiz.core.entity.GenericValue project)
          Warning this method is not lazy loaded yet - we only call it once per project in the dashboard so that is ok.
 List getProjectTabPanels(org.ofbiz.core.entity.GenericValue project)
          This should be moved to the 'project' & 'projects' portlets
 Long[] getSelectedPortlets()
           
 Long getSelectPageId()
           
 boolean isConfigurationNeeded(PortletConfiguration portletConfiguration)
           
 boolean isConfiguring()
           
 boolean isHasPermission(String permName)
           
 boolean isSelectedPortlet(Long id)
           
 void setConfiguring(boolean configure)
           
 void setMoveToPageId(Long moveToPageId)
           
 void setSelectedPortlets(Long[] selectedPortlets)
           
 void setSelectPageId(Long selectPageId)
           
 
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, 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, 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

sortOrder

SearchSort sortOrder

sortOrder2

SearchSort sortOrder2

assignedIssues

Collection assignedIssues

inProgressIssues

Collection inProgressIssues

portletConf

PortalPageConfiguration portletConf

selectPageId

Long selectPageId

moveToPageId

Long moveToPageId

pluginManager

protected final com.atlassian.plugin.PluginManager pluginManager
Constructor Detail

Dashboard

public Dashboard(PortalManager portalManager,
                 com.atlassian.plugin.PluginManager pluginManager)
Method Detail

doValidation

protected void doValidation()

doExecute

protected String doExecute()
                    throws Exception
Throws:
Exception

getIntroduction

public String getIntroduction()

getApplicationTitle

public String getApplicationTitle()
                           throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

extUserManagement

public boolean extUserManagement()

getPriorityStats

public Map getPriorityStats(org.ofbiz.core.entity.GenericValue project)
                     throws Exception
Warning this method is not lazy loaded yet - we only call it once per project in the dashboard so that is ok.

Throws:
Exception

isHasPermission

public boolean isHasPermission(String permName)
Overrides:
isHasPermission in class JiraWebActionSupport

getCurrentPageId

public Long getCurrentPageId()
                      throws PortletConfigurationException
Throws:
PortletConfigurationException

getCurrentPortalPage

public PortalPageConfiguration getCurrentPortalPage()
                                             throws PortletConfigurationException
Throws:
PortletConfigurationException

getDashboardPages

public Collection getDashboardPages()
                             throws PortletConfigurationException
Throws:
PortletConfigurationException

setConfiguring

public void setConfiguring(boolean configure)
                    throws PortletConfigurationException
Throws:
PortletConfigurationException

isConfiguring

public boolean isConfiguring()

getColumns

public List getColumns()
                throws PortletConfigurationException
Throws:
PortletConfigurationException

getColumnWidth

public String getColumnWidth(Integer statusCount)
                      throws PortletConfigurationException
Throws:
PortletConfigurationException

getSelectedPortlets

public Long[] getSelectedPortlets()

setSelectedPortlets

public void setSelectedPortlets(Long[] selectedPortlets)

isSelectedPortlet

public boolean isSelectedPortlet(Long id)

isConfigurationNeeded

public boolean isConfigurationNeeded(PortletConfiguration portletConfiguration)
                              throws com.atlassian.configurable.ObjectConfigurationException
Throws:
com.atlassian.configurable.ObjectConfigurationException

getMoveToPageId

public Long getMoveToPageId()

setMoveToPageId

public void setMoveToPageId(Long moveToPageId)

getSelectPageId

public Long getSelectPageId()

setSelectPageId

public void setSelectPageId(Long selectPageId)

getProjectTabPanels

public List getProjectTabPanels(org.ofbiz.core.entity.GenericValue project)
This should be moved to the 'project' & 'projects' portlets

Returns:
A list of valid project tab panels


Copyright © 2002-2006 Atlassian. All Rights Reserved.