Class AddPrincipal
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.principal.ViewPrincipal
com.atlassian.crowd.console.action.principal.AddPrincipal
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.crowd.console.action.principal.ViewPrincipal
active, adminGroupChecker, aliases, aliasManager, applicationInError, applications, directory, directoryID, directoryName, displayname, email, externalId, firstname, humanReadableFailedGroups, lastname, name, newName, password, passwordConfirm, permissionManager, preventingLockout, tokenAuthenticationManager, unremovedGroups, user, userAttributes, userID
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab
Fields inherited from class com.opensymphony.xwork2.ActionSupport
container
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute()
boolean
boolean
void
void
setMailManager
(MailManager mailManager) void
setSendNotification
(boolean sendNotification) void
setUserAddedNotificationManager
(UserAddedNotificationManager userAddedNotificationManager) update()
Methods inherited from class com.atlassian.crowd.console.action.principal.ViewPrincipal
getAdminGroupChecker, getAliases, getApplicationInError, getApplications, getDirectory, getDirectoryID, getDirectoryImplementationDescriptiveName, getDirectoryName, getDisplayname, getEmail, getExternalId, getFirstname, getGroups, getHumanReadableFailedGroups, getLastname, getName, getNewName, getPassword, getPasswordConfirm, getUnremovedGroups, getUnsubscribedGroups, getUser, getUserAttributes, hasUpdateGroupPermission, isActive, isPreventingLockout, processDirectoryMapping, processGeneral, readAttributes, setActive, setAdminGroupChecker, setAliasManager, setApplicationService, setCachedUserGroupResolver, setDirectoryID, setDirectoryInstanceLoader, setDirectoryName, setDisplayname, setEmail, setEmailValidator, setFirstname, setHumanReadableFailedGroups, setLastname, setName, setNewName, setPassword, setPasswordConfirm, setPermissionManager, setPreventingLockout, setTokenAuthenticationManager, setUnremovedGroups, setUserID, syncFieldsFromPrincipal, syncFieldsToPrincipal
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, applyFieldError, applyFieldErrors, applyValidationErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, bindInformationAboutLicense, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
-
Constructor Details
-
AddPrincipal
public AddPrincipal()
-
-
Method Details
-
execute
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classViewPrincipal
-
update
-
doValidation
protected void doValidation()- Overrides:
doValidation
in classViewPrincipal
-
getDirectories
-
setInternalDirectoryIDs
public void setInternalDirectoryIDs() -
getInternalDirectoryIDs
-
getMailServerConfigured
public boolean getMailServerConfigured() -
setUserAddedNotificationManager
public void setUserAddedNotificationManager(UserAddedNotificationManager userAddedNotificationManager) -
setMailManager
-
getSendNotification
public boolean getSendNotification() -
setSendNotification
public void setSendNotification(boolean sendNotification)
-