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, UserProfileAction, SharedEntitySearchAction, DropDownModelProvider<PortalPageDisplayBean>, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class ViewSharedDashboards
extends ConfigurePortalPages
implements UserProfileAction, 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 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, EmailFormatter emailFormatter, GroupPermissionChecker groupPermissionChecker, 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, getDisplayEmail, getEndPosition, getGroupShare, getNextUrl, getPageId, getPageName, getPages, getPagingOffset, getPortalPageName, getPosition, getPreviousUrl, getProjectShare, getRoleShare, getSearchEmptyMessageKey, getSearchName, getSearchOwnerUserName, getSearchShareType, getSortColumn, getStartPosition, getTotalResultCount, getUser, getView, isContentOnly, isHasViewGroupPermission, 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, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, 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.web.action.user.UserProfileAction
getDisplayEmail, getUser, isHasViewGroupPermission
 
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, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Constructor Detail

ViewSharedDashboards

public ViewSharedDashboards(PortalPageService portalPageService,
                            JiraAuthenticationContext authCtx,
                            EmailFormatter emailFormatter,
                            GroupPermissionChecker groupPermissionChecker,
                            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-2012 Atlassian. All Rights Reserved.