com.atlassian.jira.web.action
Class Dashboard
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
com.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
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
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.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 webwork.action.CommandDriven |
setCommand |
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
Dashboard
public Dashboard(PortalManager portalManager)
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.