com.atlassian.jira.web.action.admin.dashboards
Class ViewSharedDashboards

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.atlassian.jira.web.action.user.ConfigurePortalPages
                  extended by com.atlassian.jira.web.action.admin.dashboards.ViewSharedDashboards
All Implemented Interfaces:
ErrorCollection, I18nHelper, SharedEntitySearchAction, HttpServletVariables, DropDownModelProvider<PortalPageDisplayBean>, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class ViewSharedDashboards
extends ConfigurePortalPages
implements SharedEntitySearchAction, DropDownModelProvider<PortalPageDisplayBean>

Responsible for displaying the shared dashboards administration page.

Since:
v4.4.1
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.user.ConfigurePortalPages
ConfigurePortalPages.PortalPageViewHelper
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageType
 
Nested classes/interfaces inherited from interface com.atlassian.jira.web.action.util.sharing.SharedEntitySearchAction
SharedEntitySearchAction.FieldNameMapper, SharedEntitySearchAction.QueryValidator
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
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
ViewSharedDashboards(PortalPageService portalPageService, JiraAuthenticationContext authCtx, FavouritesService favouritesService, PermissionManager permissionManager, ShareTypeFactory shareTypeFactory, UserFormatManager userFormatManager, com.atlassian.plugin.webresource.WebResourceManager webResourceManager, UserHistoryManager userHistoryManager, SearchRequestService searchRequestService)
           
 
Method Summary
 String doDefault()
          Default method runs when displaying portal pages.
protected  String doExecute()
           
protected  void doValidation()
           
 DropDownModel getDropDownModel(PortalPageDisplayBean displayBean, int listIndex)
           
 PortalPageLinkRenderer getPortalPageLinkRenderer()
           
 ConfigurePortalPages.PortalPageViewHelper getPortalPageViewHelper()
           
 
Methods inherited from class com.atlassian.jira.web.action.user.ConfigurePortalPages
doMoveDown, doMoveToEnd, doMoveToStart, doMoveUp, getCopyPageId, getCurrentPortalPage, getDescription, getEndPosition, getGroupShare, getNextUrl, getPageId, getPageName, getPages, getPagingOffset, getPortalPageName, getPosition, getPreviousUrl, getProjectShare, getRoleShare, getSearchEmptyMessageKey, getSearchName, getSearchOwnerUserName, getSearchShareType, getSortColumn, getStartPosition, getTotalResultCount, getView, isContentOnly, isSearchRequested, isSortAscending, setContentOnly, setCopyPageId, setDescription, setGroupShare, setPageId, setPages, setPagingOffset, setPortalPageName, setPosition, setProjectShare, setRoleShare, setSearchName, setSearchOwnerUserName, setSearchResults, setSearchShareType, setSortAscending, setSortColumn, setView, toUrl, transformToDisplayBeans
 
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, getEmptyResponse, 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, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasIssuePermission, hasPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, 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, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, 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.web.action.util.sharing.SharedEntitySearchAction
getGroupShare, getPagingOffset, getProjectShare, getRoleShare, getSearchName, getSearchOwnerUserName, getSearchShareType, getSortColumn, isSortAscending, setGroupShare, setPagingOffset, setProjectShare, setRoleShare, setSearchName, setSearchOwnerUserName, setSearchShareType, setSortAscending, setSortColumn
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Constructor Detail

ViewSharedDashboards

public ViewSharedDashboards(PortalPageService portalPageService,
                            JiraAuthenticationContext authCtx,
                            FavouritesService favouritesService,
                            PermissionManager permissionManager,
                            ShareTypeFactory shareTypeFactory,
                            UserFormatManager userFormatManager,
                            com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
                            UserHistoryManager userHistoryManager,
                            SearchRequestService searchRequestService)
Method Detail

getDropDownModel

public DropDownModel getDropDownModel(PortalPageDisplayBean displayBean,
                                      int listIndex)
Specified by:
getDropDownModel in interface DropDownModelProvider<PortalPageDisplayBean>
Overrides:
getDropDownModel in class ConfigurePortalPages
Parameters:
displayBean - some domain object
listIndex - this parameter indicates the position in of the domain object in a list of domain objects. Often generated markup uses position in the list to generate ids and the like
Returns:
a drop down model based on the values in domainObject

doDefault

public String doDefault()
Description copied from class: ConfigurePortalPages
Default method runs when displaying portal pages.

Overrides:
doDefault in class ConfigurePortalPages
Returns:
the view to display

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

doExecute

protected String doExecute()
Overrides:
doExecute in class webwork.action.ActionSupport

getPortalPageViewHelper

public ConfigurePortalPages.PortalPageViewHelper getPortalPageViewHelper()
Overrides:
getPortalPageViewHelper in class ConfigurePortalPages

getPortalPageLinkRenderer

public PortalPageLinkRenderer getPortalPageLinkRenderer()
Overrides:
getPortalPageLinkRenderer in class ConfigurePortalPages


Copyright © 2002-2014 Atlassian. All Rights Reserved.