com.atlassian.jira.web.action.user
Class SaveConfiguration
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.AbstractSaveConfiguration
com.atlassian.jira.web.action.user.SaveConfiguration
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, UserProfileAction, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class SaveConfiguration
- extends AbstractSaveConfiguration
- implements UserProfileAction
Saves a portlet configuration to a property set. This action is used both to create a new portlet and save the
configuration of an existing portlet.
- Since:
- ??
- 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.portal.AbstractSaveConfiguration |
addLongToPropertySet, checkForValidPortalParameters, doDefault, doExecute, doValidation, getExcludedFieldKeys, getFilterName, getFilterProjectName, getLocalParameter, getObjectConfiguration, getParamValue, getParamValues, getPortalPageService, getPortlet, getPortletConfigId, getPortletIdStr, getUnescapedText, getUser, setPortletConfigId, setPortletIdStr, setupConfiguration, syncPropertySetToParams |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRedirectChecker, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, 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 webwork.action.CommandDriven |
getCommandName, setCommand |
SaveConfiguration
public SaveConfiguration(ProjectManager projectManager,
PermissionManager permissionManager,
SearchRequestService searchRequestService,
EmailFormatter emailFormatter,
GroupPermissionChecker groupPermissionChecker,
PortalPageService portalPageService,
PortletConfigurationManager portletConfigurationManager,
UserHistoryManager userHistoryManager,
JiraAuthenticationContext authenticationContext)
loadPortalPage
protected PortalPage loadPortalPage()
- Specified by:
loadPortalPage
in class AbstractSaveConfiguration
getHomeRedirect
protected String getHomeRedirect()
- Specified by:
getHomeRedirect
in class AbstractSaveConfiguration
getDestination
public String getDestination()
setDestination
public void setDestination(String destination)
getCancelUrl
public String getCancelUrl()
isHasViewGroupPermission
public boolean isHasViewGroupPermission(String group,
User user)
- Description copied from interface:
UserProfileAction
- Returns whether or not the passed caller is allowed to see the passed group.
- Specified by:
isHasViewGroupPermission
in interface UserProfileAction
- Parameters:
group
- the name of the group to check.user
- the user to check.
- Returns:
- true if the user can see the group or false otherwise.
getDisplayEmail
public String getDisplayEmail(String email)
- Description copied from interface:
UserProfileAction
- Get a string that can be used to describe the passed e-mail. This allows JIRA to hide the passed e-mail if
asked to do so.
- Specified by:
getDisplayEmail
in interface UserProfileAction
- Parameters:
email
- the e-mail to convert.
- Returns:
- the encoded e-mail address.
getPortalPageId
public Long getPortalPageId()
setPortalPageId
public void setPortalPageId(Long portalPageId)
isDisplayUserSummary
public boolean isDisplayUserSummary()
setDisplayUserSummary
public void setDisplayUserSummary(boolean displayUserSummary)
Copyright © 2002-2011 Atlassian. All Rights Reserved.