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:
- webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, PortalAction, Serializable
- Direct Known Subclasses:
- ConfigureDefaultPortal, ConfigurePortal
- public abstract class AbstractConfigurePortal
- extends ProjectActionSupport
- implements PortalAction
- 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, getCalendarTranslationFilenameForLanguage, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDefaultAssignee, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getText, getTimeFormat, getUserFullName, getVersionManager, isDefaultAssignee, isDefaultAssignee, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee, processDefaultAssignee, 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, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isProfessional |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, 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 |
dashboardFunction
protected String dashboardFunction
AbstractConfigurePortal
public AbstractConfigurePortal()
AbstractConfigurePortal
public AbstractConfigurePortal(EmailFormatter emailFormatter,
GroupPermissionChecker groupPermissionChecker)
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)
getAddButton
public String getAddButton()
setAddButton
public void setAddButton(String addButton)
getMoveLeftButton
public String getMoveLeftButton()
setMoveLeftButton
public void setMoveLeftButton(String moveLeftButton)
getMoveRightButton
public String getMoveRightButton()
setMoveRightButton
public void setMoveRightButton(String moveRightButton)
getEditButton
public String getEditButton()
setEditButton
public void setEditButton(String editButton)
getDeleteButton
public String getDeleteButton()
getMoveUpLeftButton
public String getMoveUpLeftButton()
setMoveUpLeftButton
public void setMoveUpLeftButton(String moveUpLeftButton)
getMoveDownLeftButton
public String getMoveDownLeftButton()
setMoveDownLeftButton
public void setMoveDownLeftButton(String moveDownLeftButton)
getMoveUpRightButton
public String getMoveUpRightButton()
setMoveUpRightButton
public void setMoveUpRightButton(String moveUpRightButton)
getMoveDownRightButton
public String getMoveDownRightButton()
setMoveDownRightButton
public void setMoveDownRightButton(String moveDownRightButton)
setDeleteButton
public void setDeleteButton(String deleteButton)
setCopyButton
public void setCopyButton(String copyButton)
getCopyButton
public String getCopyButton()
doExecute
protected String doExecute()
throws Exception
- Throws:
Exception
copyPortlets
protected void copyPortlets(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
doSave
protected String doSave()
throws Exception
- Throws:
Exception
savePortalConfig
protected void savePortalConfig()
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)
Copyright © 2002-2006 Atlassian. All Rights Reserved.