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, java.io.Serializable
Direct Known Subclasses:
RunPortlet

public class Dashboard
extends IssueActionSupport

See Also:
Serialized Form

Field Summary
(package private)  java.util.Collection assignedIssues
           
(package private)  java.util.Collection inProgressIssues
           
(package private)  java.lang.Long moveToPageId
           
(package private)  PortalPageConfiguration portletConf
           
(package private)  java.lang.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, savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request
 
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)
           
 
Method Summary
protected  java.lang.String doExecute()
           
 boolean extUserManagement()
           
 java.lang.String getApplicationTitle()
           
 java.util.Collection getAssignedIssues()
          Get up to 5 assigned, unopen issues that are not in progress
 java.util.List getColumns()
           
 java.lang.String getColumnWidth(java.lang.Integer statusCount)
           
 java.lang.Long getCurrentPageId()
           
 PortalPageConfiguration getCurrentPortalPage()
           
 java.util.Collection getDashboardPages()
           
 java.util.Collection getInProgressIssues()
           
 java.lang.String getIntroduction()
           
 java.util.Collection getIssues(SearchRequest sr)
           
 java.lang.Long getMoveToPageId()
           
 java.util.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.
 SearchRequest getSearchRequest(java.lang.Long srId)
           
 java.lang.Long[] getSelectedPortlets()
           
 java.lang.Long getSelectPageId()
           
 boolean isConfigurationNeeded(PortletConfiguration portletConfiguration)
           
 boolean isConfiguring()
           
 boolean isHasPermission(java.lang.String permName)
           
 boolean isSelectedPortlet(java.lang.Long id)
           
 void setConfiguring(boolean configure)
           
 void setMoveToPageId(java.lang.Long moveToPageId)
           
 void setSelectedPortlets(java.lang.Long[] selectedPortlets)
           
 void setSelectPageId(java.lang.Long selectPageId)
           
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters, getSelectedProject, isEnterprise, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, getAssignableUsers, getAssignableUsers, getCachedGroups, getColumnViewHtml, getComponentManager, getConstantsManager, getCustomFieldHtml, getCustomFieldXML, getDefaultAssignee, getDefaultResourceBundle, getField, getLocale, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getText, getText, getText, getText, getText, getUserFullName, getUserPreferences, getVersionManager, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee, processDefaultAssignee, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, 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
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

sortOrder

SearchSort sortOrder

sortOrder2

SearchSort sortOrder2

assignedIssues

java.util.Collection assignedIssues

inProgressIssues

java.util.Collection inProgressIssues

portletConf

PortalPageConfiguration portletConf

selectPageId

java.lang.Long selectPageId

moveToPageId

java.lang.Long moveToPageId
Constructor Detail

Dashboard

public Dashboard(PortalManager portalManager)
Method Detail

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getAssignedIssues

public java.util.Collection getAssignedIssues()
                                       throws java.lang.Exception
Get up to 5 assigned, unopen issues that are not in progress

Throws:
java.lang.Exception

getInProgressIssues

public java.util.Collection getInProgressIssues()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

getSearchRequest

public SearchRequest getSearchRequest(java.lang.Long srId)
                               throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getIssues

public java.util.Collection getIssues(SearchRequest sr)
                               throws SearchException
Throws:
SearchException

getIntroduction

public java.lang.String getIntroduction()

getApplicationTitle

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

extUserManagement

public boolean extUserManagement()

getPriorityStats

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

Throws:
java.lang.Exception

isHasPermission

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

getCurrentPageId

public java.lang.Long getCurrentPageId()
                                throws PortletConfigurationException
Throws:
PortletConfigurationException

getCurrentPortalPage

public PortalPageConfiguration getCurrentPortalPage()
                                             throws PortletConfigurationException
Throws:
PortletConfigurationException

getDashboardPages

public java.util.Collection getDashboardPages()
                                       throws PortletConfigurationException
Throws:
PortletConfigurationException

setConfiguring

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

isConfiguring

public boolean isConfiguring()

getColumns

public java.util.List getColumns()
                          throws PortletConfigurationException
Throws:
PortletConfigurationException

getColumnWidth

public java.lang.String getColumnWidth(java.lang.Integer statusCount)
                                throws PortletConfigurationException
Throws:
PortletConfigurationException

getSelectedPortlets

public java.lang.Long[] getSelectedPortlets()

setSelectedPortlets

public void setSelectedPortlets(java.lang.Long[] selectedPortlets)

isSelectedPortlet

public boolean isSelectedPortlet(java.lang.Long id)

isConfigurationNeeded

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

getMoveToPageId

public java.lang.Long getMoveToPageId()

setMoveToPageId

public void setMoveToPageId(java.lang.Long moveToPageId)

getSelectPageId

public java.lang.Long getSelectPageId()

setSelectPageId

public void setSelectPageId(java.lang.Long selectPageId)


Copyright © 2002-2005 Atlassian. All Rights Reserved.