public interface GroupsUIHandlers extends AccountsUiHandlers
BLANK_FIELD_WARNING, CONFIRM_PASSWORD_WARNING, NEW_ACCOUNT_NAME_WARNING| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(GroupDef newGroup)
Adds new group to the group accounts represented by the all groups table.
|
void |
addUsersToGroup(TaggedName group,
java.util.Set<TaggedName> selectedUsers)
Adds the selected users to the given group.
|
void |
addUserToGroup(TaggedName group,
java.lang.String user)
Adds a user to the given group.
|
void |
cancelAddGroupDialog()
Cancels the Add Group Dialog.
|
void |
cancelCloneGroupDialog()
Cancels the Clone Group Dialog.
|
void |
cancelDeletingGroupsAlert()
Cancels the Deleting Groups Alert dialog.
|
void |
cancelEditGroupDialog()
Cancels the Edit Group Dialog.
|
void |
cancelUnassigningUsersAlert()
Cancels the Unassigning Users Alert dialog.
|
void |
cloneGroup(java.lang.String nameFrom,
java.lang.String nameTo,
boolean acls)
Clones the given group by creating the new one.
|
void |
deleteSelectedGroups(TaggedName[] groups)
Delete selected groups given by the array of group tagged names
|
void |
onGroupSelected(java.util.Set<TaggedName> selectedGroups)
Triggers the groups selection changed.
|
void |
onRefresh()
Performs the user action to refresh the all groups table.
|
void |
onUserSelected(java.util.Set<TaggedName> selectedUsers)
Triggers the users selection changed.
|
void |
populateAndRefreshAllUsers()
Populates the all users table if it has been empty or updates its rows with the current data.
|
void |
setupAddGroupDialog()
Setups the Add Group Dialog.
|
void |
setupCloneGroupDialog(TaggedName clonedGroup)
Setups the Clone Group Dialog.
|
void |
setupDeletingGroupsAlert(TaggedName[] groups)
Setups the Deleting Groups Alert dialog.
|
void |
setupEditGroupDialog(TaggedName updatedGroup)
Setups the Edit Group Dialog.
|
void |
setupUnassigningUsersAlert(TaggedName group,
TaggedName[] users)
Setups the Unassigning Users Alert dialog.
|
void |
setUsersFilter(java.lang.String filter)
Sets the target user search template.
|
void |
unassignSelectedUsers(TaggedName group,
TaggedName[] users)
Removes the selected users from the given group.
|
void |
updateCustomAuthPlugins()
Retrieves the custom authentication plugins data and fills the custom authentication plugins
combobox.
|
void |
updateGroup(GroupDef updatedGroup)
Commits changes in the target group definition.
|
setCurrentState, switchToACLsvoid populateAndRefreshAllUsers()
void updateCustomAuthPlugins()
void onRefresh()
void onGroupSelected(java.util.Set<TaggedName> selectedGroups)
selectedGroups - The new set of selected groupsvoid onUserSelected(java.util.Set<TaggedName> selectedUsers)
selectedUsers - The new set of selected usersvoid addGroup(GroupDef newGroup)
newGroup - The new group definition object representing the new adding groupvoid deleteSelectedGroups(TaggedName[] groups)
groups - The array of groups to deletevoid cloneGroup(java.lang.String nameFrom,
java.lang.String nameTo,
boolean acls)
nameFrom - The name of the group to clonenameTo - The name for the new cloned groupacls - True indicates that the ACL of target group will be cloned too, otherwise
the ACL of the new created group will be empty.void updateGroup(GroupDef updatedGroup)
updatedGroup - The group definition to commit its changesvoid unassignSelectedUsers(TaggedName group, TaggedName[] users)
group - The group tagged nameusers - The array of selected users given by their tagged namesvoid addUserToGroup(TaggedName group, java.lang.String user)
group - The group tagged nameuser - The user account namevoid setUsersFilter(java.lang.String filter)
filter - The target search templatevoid addUsersToGroup(TaggedName group, java.util.Set<TaggedName> selectedUsers)
group - The group tagged nameselectedUsers - The array of selected users given by their tagged namesvoid setupAddGroupDialog()
void setupDeletingGroupsAlert(TaggedName[] groups)
groups - The array of the selected groups to deletevoid setupCloneGroupDialog(TaggedName clonedGroup)
clonedGroup - The target group to clonevoid setupEditGroupDialog(TaggedName updatedGroup)
updatedGroup - The group definition to editvoid setupUnassigningUsersAlert(TaggedName group, TaggedName[] users)
group - The group tagged nameusers - The array of selected users given by their tagged namesvoid cancelAddGroupDialog()
void cancelDeletingGroupsAlert()
void cancelCloneGroupDialog()
void cancelEditGroupDialog()
void cancelUnassigningUsersAlert()