public static interface UsersPresenter.MyView extends com.gwtplatform.mvp.client.View, com.gwtplatform.mvp.client.HasUiHandlers<UsersUIHandlers>, com.google.inject.Provider<com.google.gwt.user.client.ui.HasEnabled[]>, PrintingContext
PrintingContext.PreviewDialogParameters, PrintingContext.Range
Modifier and Type | Method and Description |
---|---|
CloneUserAccountView |
getCloneUserAccountView()
Gets a reference to the Clone User Account View.
|
DeletingUsersAlert |
getDeletingUsersAlert()
Gets a reference to the Deleting Users Alert.
|
RemovingGroupsAlert |
getRemovingGroupsAlert()
Gets a reference to the Removing Groups Alert.
|
com.google.gwt.user.client.ui.HasWidgets |
getUserDefModalParent()
Returns the parent container where the Add/Edit User Definition View will be revealed in.
|
boolean |
isSelectedFromAllGroups(TaggedName[] groups)
Tests if these tested groups have been selected from the all groups table.
|
boolean |
isSelectedFromUserGroups(TaggedName group)
Tests if this group has been selected from the user's assigned groups table.
|
boolean |
isSelectedFromUserGroups(TaggedName[] groups)
Tests if these tested groups have been selected from the user's assigned groups table.
|
boolean |
isSelectedFromUsers(TaggedName user)
Tests if the tested user has been selected from the all users table.
|
boolean |
isSelectedFromUsers(TaggedName[] users)
Tests if these tested users have been selected from the all users table.
|
void |
selectUser(TaggedName user)
Selects the user's data row from the all users table by a given user's tagged name.
|
void |
selectUserByName(java.lang.String name)
Selects the user's data row from the all users table by a given user's account name.
|
void |
setAllGroups(TaggedName[] allGroups,
com.google.gwt.regexp.shared.RegExp filter)
Sets the all groups accounts table's model with all existing groups accounts.
|
void |
setAssignedGroups(TaggedName[] groups)
Sets the user's groups table's model with all assigned groups for the single selected
user from the all users table view.
|
void |
setUsers(TaggedName[] users)
Sets the all users table's model with users accounts data given by tagged names
|
void |
toggleDisableUserButton(boolean enabled)
Toggles the Disable/Enable User button's label.
|
void |
togglePopulateGroupsButton(boolean populated)
Changes the Populate button's label from "Populate" to "Refresh"
|
addToSlot, removeFromSlot, setInSlot
getDataSize, getPathToPrintPreviewOwner, getPreviewDialogParameter, getReportParameters
void setUsers(TaggedName[] users)
users
- The array of users accounts given by tagged namesvoid setAssignedGroups(TaggedName[] groups)
groups
- The array of assigned groups given by tagged namesvoid setAllGroups(TaggedName[] allGroups, com.google.gwt.regexp.shared.RegExp filter)
allGroups
- The array of all existing groups accountsfilter
- The regular expression to select groups with accounts names according to this
filter criteriaboolean isSelectedFromUserGroups(TaggedName group)
group
- The target group account given by its tagged nameboolean isSelectedFromUserGroups(TaggedName[] groups)
groups
- The array of tested groups given by tagged namesboolean isSelectedFromAllGroups(TaggedName[] groups)
groups
- The array of tested groups given by tagged namesboolean isSelectedFromUsers(TaggedName[] users)
users
- The array of tested user accounts given by tagged namesboolean isSelectedFromUsers(TaggedName user)
user
- The tested user account given by its tagged namevoid selectUser(TaggedName user)
user
- The user account given by its tagged namevoid selectUserByName(java.lang.String name)
name
- The account name.void togglePopulateGroupsButton(boolean populated)
populated
- The flag which true value means to change the Populate label to Refresh onevoid toggleDisableUserButton(boolean enabled)
enabled
- Indicates the user's enabled state. The true value switches this button's label
from "Enable User" to "Disable User" and vice versa the false value switches
from "Disable User" to "Enable User".DeletingUsersAlert getDeletingUsersAlert()
CloneUserAccountView getCloneUserAccountView()
RemovingGroupsAlert getRemovingGroupsAlert()
com.google.gwt.user.client.ui.HasWidgets getUserDefModalParent()