com.atlassian.jira.web.action.portal
Class AbstractConfigurePortal
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.portal.AbstractConfigurePortal
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
- Direct Known Subclasses:
- ConfigureDefaultPortal, ConfigurePortal
public abstract class AbstractConfigurePortal
- extends ProjectActionSupport
- 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.JiraWebActionSupport |
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortReverseDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doDefault, doValidation, 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 webwork.action.CommandDriven |
setCommand |
dashboardFunction
protected String dashboardFunction
portalPageService
protected final PortalPageService portalPageService
AbstractConfigurePortal
public AbstractConfigurePortal(EmailFormatter emailFormatter,
GroupPermissionChecker groupPermissionChecker,
PortalPageService portalPageService)
getPortalPage
protected abstract PortalPage getPortalPage()
getLeftPortlets
public List getLeftPortlets()
throws PortletConfigurationException
- Throws:
PortletConfigurationException
getRightPortlets
public List getRightPortlets()
throws PortletConfigurationException
- Throws:
PortletConfigurationException
getSelectedLeftPortlets
public Long[] getSelectedLeftPortlets()
setSelectedLeftPortlets
public void setSelectedLeftPortlets(Long[] selectedLeftPortlets)
getSelectedRightPortlets
public Long[] getSelectedRightPortlets()
setSelectedRightPortlets
public void setSelectedRightPortlets(Long[] selectedRightPortlets)
doExecute
protected String doExecute()
throws Exception
- Overrides:
doExecute
in class webwork.action.ActionSupport
- Throws:
Exception
copyPortlets
protected PortalPage copyPortlets(JiraServiceContext serviceContext,
PortalPage portalPage,
Long[] portlets)
throws Exception
- Throws:
Exception
doFunction
protected abstract String doFunction()
throws Exception
- Throws:
Exception
doAdd
protected abstract String doAdd()
throws Exception
- Throws:
Exception
getEditRedirect
protected abstract String getEditRedirect(Long portletConfigId)
throws Exception
- Throws:
Exception
deletePortletConfigurations
protected PortalPage deletePortletConfigurations(JiraServiceContext serviceContext,
PortalPage portalPage,
Long[] portletConfigIds)
throws PortletConfigurationException
- Throws:
PortletConfigurationException
savePortalConfig
protected void savePortalConfig(JiraServiceContext ctx,
PortalPage portalPage)
throws PortletConfigurationException
- Throws:
PortletConfigurationException
getHomeRedirect
protected abstract String getHomeRedirect()
throws Exception
- Throws:
Exception
getUser
public User getUser()
getSelectedPortlets
public Long[] getSelectedPortlets()
setSelectedPortlets
public void setSelectedPortlets(Long[] selectedPortlets)
getDashboardFunction
public String getDashboardFunction()
setDashboardFunction
public void setDashboardFunction(String dashboardFunction)
getPortletName
public String getPortletName(PortletConfiguration portletConfig)
isHasViewGroupPermission
public boolean isHasViewGroupPermission(String group,
User user)
getDisplayEmail
public String getDisplayEmail(String email)
getPortalPageService
public PortalPageService getPortalPageService()
Copyright © 2002-2009 Atlassian. All Rights Reserved.