public class AddUser extends JiraWebActionSupport
JiraWebActionSupport.MessageType
I18nHelper.BeanFactory
ErrorCollection.Reason
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
Constructor and Description |
---|
AddUser(UserService userService,
UserManager userManager,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
com.atlassian.event.api.EventPublisher eventPublisher,
CreateUserApplicationHelper applicationHelper,
ApplicationRoleManager roleManager) |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, execute, forceRedirect, getActionName, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addError, addErrorMessage, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, setErrorMessages
public AddUser(UserService userService, UserManager userManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, com.atlassian.event.api.EventPublisher eventPublisher, CreateUserApplicationHelper applicationHelper, ApplicationRoleManager roleManager)
public String doDefault()
doDefault
in class webwork.action.ActionSupport
Action.INPUT
the input form to fill out the new user's details(username, password, full-name, email
...)protected void doValidation()
doValidation
in class webwork.action.ActionSupport
protected String doExecute()
doExecute
in class webwork.action.ActionSupport
Action.ERROR
; otherwise, it will redirect to the View User
page for the created user.public String getUsername()
public void setUsername(String username)
public String getFullname()
public void setFullname(String fullname)
public String getEmail()
public void setEmail(String email)
public String getPassword()
public void setPassword(String password)
public boolean hasPasswordWritableDirectory()
public boolean isSendEmail()
public void setSendEmail(boolean sendEmail)
public boolean isCreateAnother()
public void setCreateAnother(boolean createAnother)
public Long getDirectoryId()
public void setDirectoryId(Long directoryId)
public List<com.atlassian.crowd.embedded.api.Directory> getDirectories()
public String getCancelUrl()
public String getUserCountWebPanelHtml()
public String getWebPanelHtml()
public String getApplicationAccessWebPanelHtml()
public String[] getSelectedApplications()
public void setSelectedApplications(String[] selectedApplications)
public boolean getHasCreatedUsers()
public String[] getCreatedUser()
public void setCreatedUser(String[] createdUser)
@Nonnull public Set<com.atlassian.application.api.ApplicationKey> getSelectedApplicationKeys()
public boolean hasOnlyOneApplication()
@Nonnull public List<UserApplicationHelper.ApplicationSelection> getSelectableApplications()
Copyright © 2002-2023 Atlassian. All Rights Reserved.