public class ViewUser extends IssueActionSupport
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.crowd.embedded.api.CrowdDirectoryService |
crowdDirectoryService |
protected com.atlassian.crowd.embedded.api.CrowdService |
crowdService |
protected FeatureManager |
featureManager |
protected String |
name |
protected ApplicationUser |
user |
protected UserManager |
userManager |
protected UserPropertyManager |
userPropertyManager |
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
ViewUser(com.atlassian.crowd.embedded.api.CrowdService crowdService,
com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
UserPropertyManager userPropertyManager,
UserManager userManager) |
ViewUser(com.atlassian.crowd.embedded.api.CrowdService crowdService,
com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
UserPropertyManager userPropertyManager,
UserManager userManager,
FeatureManager featureManager,
UserApplicationHelper applicationHelper) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUpdateUserPassword() |
protected String |
doExecute() |
protected void |
doValidation() |
ApplicationUser |
getApplicationUser() |
String |
getDirectoryName() |
String |
getName() |
Collection<UserApplicationHelper.ApplicationSelection> |
getSelectableApplications() |
boolean |
getShowNoAppsWarning() |
ApplicationUser |
getUser() |
List<GroupView> |
getUserGroups() |
Map<String,String> |
getUserProperties() |
boolean |
isRemoteUserPermittedToEditSelectedUser() |
boolean |
isSelectedUserApplicationAccessEditable() |
boolean |
isSelectedUserEditable() |
boolean |
isSelectedUsersGroupsEditable() |
boolean |
isShowPasswordUpdateMsg() |
protected void |
retrieveUserMetaProperties()
This method retrieves a user's meta properties
|
void |
setName(String name) |
void |
setShowPasswordUpdateMsg(boolean showPasswordUpdateMsg) |
addIssueToHistory, getAttachmentManager, getCurrentDateTimeInUsersTimezone, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequest
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
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, getRequestSourceType, 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, urlEncode
addErrorMessages, 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, removeKeyOrAddError
addError, addErrorMessage, doDefault, 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, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
protected String name
protected ApplicationUser user
protected final com.atlassian.crowd.embedded.api.CrowdService crowdService
protected final com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService
protected final UserPropertyManager userPropertyManager
protected final UserManager userManager
protected final FeatureManager featureManager
public ViewUser(com.atlassian.crowd.embedded.api.CrowdService crowdService, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, UserPropertyManager userPropertyManager, UserManager userManager, FeatureManager featureManager, UserApplicationHelper applicationHelper)
public ViewUser(com.atlassian.crowd.embedded.api.CrowdService crowdService, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, UserPropertyManager userPropertyManager, UserManager userManager)
public String getName()
public void setName(String name)
public ApplicationUser getUser()
public ApplicationUser getApplicationUser()
public String getDirectoryName()
protected String doExecute() throws Exception
doExecute
in class webwork.action.ActionSupport
Exception
protected void doValidation()
doValidation
in class webwork.action.ActionSupport
protected void retrieveUserMetaProperties()
public boolean isShowPasswordUpdateMsg()
public void setShowPasswordUpdateMsg(boolean showPasswordUpdateMsg)
public boolean isRemoteUserPermittedToEditSelectedUser()
public boolean isSelectedUserEditable()
public boolean isSelectedUsersGroupsEditable()
public boolean isSelectedUserApplicationAccessEditable()
public boolean canUpdateUserPassword()
public boolean getShowNoAppsWarning()
@Nonnull public Collection<UserApplicationHelper.ApplicationSelection> getSelectableApplications()
Copyright © 2002-2018 Atlassian. All Rights Reserved.