Class ProfileForm
- java.lang.Object
-
- jetbrains.buildServer.controllers.RememberState
-
- jetbrains.buildServer.controllers.user.NewUserForm
-
- jetbrains.buildServer.controllers.profile.ProfileForm
-
- All Implemented Interfaces:
StatefulObject
,UserForm
- Direct Known Subclasses:
AdminCreateUserForm
,AdminEditUserForm
,EditPersonalProfileForm
public class ProfileForm extends NewUserForm
- Author:
- Pavel.Sher Date: 14.04.2006
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.controllers.user.NewUserForm
EMPTY_EMAIL_ERR, EMPTY_PASSWORD_ERR, EMPTY_USERNAME_ERR, INVALID_EMAIL_ERR, PASSWORDS_MISMATCH_ERR
-
-
Constructor Summary
Constructors Constructor Description ProfileForm(NotificatorRegistry notificatorRegistry, ServerSettings serverSettings)
-
Method Summary
-
Methods inherited from class jetbrains.buildServer.controllers.user.NewUserForm
doValidate, getEmail, getHexEncodedPublicKey, getName, getPassword, getRetypedPassword, getUsername, getUsername1, isEmailIsMandatory, isPasswordSpecified, setEmail, setEmailIsMandatory, setEncryptedPassword1, setEncryptedRetypedPassword, setName, setUsername1
-
Methods inherited from class jetbrains.buildServer.controllers.RememberState
findField, forgetState, getField, getRememberedState, isFieldModified, normalizeLineFeeds, rememberState
-
-
-
-
Constructor Detail
-
ProfileForm
public ProfileForm(@NotNull NotificatorRegistry notificatorRegistry, @NotNull ServerSettings serverSettings)
-
-
Method Detail
-
loadPluginSections
public void loadPluginSections(@NotNull Collection<UserProfilePluginInfo> notificatorPlugins, @NotNull Collection<UserProfilePluginInfo> userAuthSettingsPlugins, @NotNull Map<PropertyKey,String> userProperties, boolean loadPluginsWithoutProperties)
-
getUserProperties
public Map<PropertyKey,String> getUserProperties()
-
reorderPluginSections
@NotNull public static <T extends PluginSection> List<T> reorderPluginSections(@NotNull Collection<T> sections)
-
init
public void init(@NotNull LoginConfiguration loginConfiguration, @NotNull SecurityContext securityContext, boolean isUserCreating)
-
isReadOnly
public boolean isReadOnly()
-
setReadOnly
public void setReadOnly(boolean readOnly)
-
isCanChangePassword
public boolean isCanChangePassword()
-
isPasswordIsMandatory
public boolean isPasswordIsMandatory()
-
isCanChangeUsername
public boolean isCanChangeUsername()
-
isShowEditUsernameLink
public boolean isShowEditUsernameLink()
-
isCanSomehowEditUsername
public boolean isCanSomehowEditUsername()
-
isStateModified
public boolean isStateModified()
Description copied from class:RememberState
Returns true if state of the fields marked withStateField
annotation has changed.- Specified by:
isStateModified
in interfaceStatefulObject
- Overrides:
isStateModified
in classRememberState
- Returns:
- true if state has changed
-
getNotificatorPluginList
public List<NotificatorPluginSection> getNotificatorPluginList()
-
getUserAuthSettingsPluginList
public List<UserPluginSection> getUserAuthSettingsPluginList()
-
getNotifiersBean
public AvailableNotifiersBean getNotifiersBean()
-
getNotificatorPlugins
public Map<String,NotificatorPluginSection> getNotificatorPlugins()
-
removeExtension
public void removeExtension(String id)
-
getUserAuthSettingsPlugins
public Map<String,UserPluginSection> getUserAuthSettingsPlugins()
-
setEditee
public void setEditee(UserEx editee)
-
getEditee
public UserEx getEditee()
-
isPerProjectPermissionsEnabled
public boolean isPerProjectPermissionsEnabled()
-
validate
@NotNull public ActionErrors validate()
- Overrides:
validate
in classNewUserForm
-
isSelfEditing
public boolean isSelfEditing()
-
-