|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object webwork.action.ActionSupport com.atlassian.jira.action.JiraActionSupport com.atlassian.jira.web.action.JiraWebActionSupport com.atlassian.jira.web.action.Dashboard
public class Dashboard
Figures out what the id of the portal page the user is currently viewing is. Will fall back to system default if none can be found and the user has not favourites.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper |
---|
I18nHelper.BeanFactory |
Field Summary |
---|
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 | |
---|---|
Dashboard(PortalPageService portalPageService,
ApplicationProperties applicationProperties,
GadgetPermissionManager gadgetPermissionManager)
|
Method Summary | |
---|---|
protected java.lang.String |
doExecute()
|
protected void |
doValidation()
|
java.lang.Long |
getCurrentDashboardId()
|
com.atlassian.gadgets.dashboard.DashboardState |
getCurrentDashboardState()
Return to the caller the PortalPage being rendered. |
java.lang.String |
getDashboardHtml()
|
java.lang.String |
getLoginLink()
|
java.lang.Long |
getSelectPageId()
|
java.lang.String |
getWarningMessage()
Return a warning HTML string that will be displayed on the GUI. |
void |
setSelectPageId(java.lang.Long selectPageId)
|
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
---|
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
---|
addError, addErrorMessage, doDefault, getCommandName, 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 |
---|
getCommandName, setCommand |
Constructor Detail |
---|
public Dashboard(PortalPageService portalPageService, ApplicationProperties applicationProperties, GadgetPermissionManager gadgetPermissionManager)
Method Detail |
---|
protected void doValidation()
doValidation
in class webwork.action.ActionSupport
protected java.lang.String doExecute() throws java.lang.Exception
doExecute
in class webwork.action.ActionSupport
java.lang.Exception
public java.lang.String getDashboardHtml()
public java.lang.Long getCurrentDashboardId()
public com.atlassian.gadgets.dashboard.DashboardState getCurrentDashboardState() throws com.atlassian.gadgets.dashboard.PermissionException
com.atlassian.gadgets.dashboard.PermissionException
public java.lang.Long getSelectPageId()
public void setSelectPageId(java.lang.Long selectPageId)
public java.lang.String getLoginLink()
public java.lang.String getWarningMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |