Class EditGroupBean
- java.lang.Object
-
- jetbrains.buildServer.controllers.RememberState
-
- jetbrains.buildServer.controllers.admin.groups.EditGroupBean
-
- All Implemented Interfaces:
StatefulObject
,UserGroupForm
public class EditGroupBean extends RememberState implements UserGroupForm
- Author:
- Pavel.Sher Date: 04.02.2009
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EditGroupBean.SORT_OPTION
-
Constructor Summary
Constructors Constructor Description EditGroupBean(UserGroupManager groupManager, ProjectManager projectManager, RolesManager rolesManager, SecurityContextEx securityContext, NotificatorRegistry notificatorRegistry, UserAuthSettingsPluginsRegistry userAuthSettingsPluginsRegistry, UserGroupDtoMapper userGroupDtoMapper, ServerSettings serverSettings)
-
Method Summary
-
Methods inherited from class jetbrains.buildServer.controllers.RememberState
findField, forgetState, getField, getRememberedState, isFieldModified, normalizeLineFeeds, rememberState
-
-
-
-
Constructor Detail
-
EditGroupBean
public EditGroupBean(@NotNull UserGroupManager groupManager, @NotNull ProjectManager projectManager, @NotNull RolesManager rolesManager, @NotNull SecurityContextEx securityContext, @NotNull NotificatorRegistry notificatorRegistry, @NotNull UserAuthSettingsPluginsRegistry userAuthSettingsPluginsRegistry, UserGroupDtoMapper userGroupDtoMapper, @NotNull ServerSettings serverSettings)
-
-
Method Detail
-
isShowEditPropertyLink
public boolean isShowEditPropertyLink()
-
getCameFromSupport
public CameFromSupport getCameFromSupport()
-
setGroup
public void setGroup(@Nullable UserGroupEx group)
-
getGroup
public SUserGroup getGroup()
-
getGroupDto
public UserGroupDto getGroupDto()
-
getAttachGroupBean
public AttachToGroupsBean getAttachGroupBean()
-
getName
@NotNull public String getName()
- Specified by:
getName
in interfaceUserGroupForm
-
getGroupName
public String getGroupName()
-
setGroupName
public void setGroupName(String groupName)
-
getDescription
@NotNull public String getDescription()
- Specified by:
getDescription
in interfaceUserGroupForm
-
getGroupDescription
public String getGroupDescription()
-
setGroupDescription
public void setGroupDescription(String groupDescription)
-
getGroupProperties
@NotNull public Map<PropertyKey,String> getGroupProperties()
-
getUserGroupSettingsPluginList
@NotNull public List<UserGroupPluginSection> getUserGroupSettingsPluginList()
-
getUserGroupSettingsPlugins
public Map<String,UserGroupPluginSection> getUserGroupSettingsPlugins()
-
isCanAddToGroup
public boolean isCanAddToGroup()
-
isCanBeMoved
public boolean isCanBeMoved()
-
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
-
validate
public void validate(@NotNull ActionErrors errors)
-
getRolesBean
public AuthorityRolesBean getRolesBean()
-
getAvailableRolesBean
public AvailableRolesBean getAvailableRolesBean()
-
getNotifiersBean
public AvailableNotifiersBean getNotifiersBean()
-
setAdministrator
public void setAdministrator(boolean administrator)
-
isAdministrator
public boolean isAdministrator()
-
isAdministratorStatusInherited
public boolean isAdministratorStatusInherited()
-
isPerProjectPermissionsEnabled
public boolean isPerProjectPermissionsEnabled()
-
getSortOptions
public List<EditGroupBean.SORT_OPTION> getSortOptions()
-
getSortBy
public String getSortBy()
-
setSortBy
public void setSortBy(String sortBy)
-
isSortAsc
public boolean isSortAsc()
-
setSortAsc
public void setSortAsc(boolean sortAsc)
-
-