public class AddUser extends JiraWebActionSupport
JiraWebActionSupport.MessageTypeErrorCollection.ReasonI18nHelper.BeanFactoryISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters| 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, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncodeaddErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddErroraddError, addErrorMessage, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessagespublic 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.ActionSupportAction.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.ActionSupportprotected String doExecute()
doExecute in class webwork.action.ActionSupportAction.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-2015 Atlassian. All Rights Reserved.