public class AddUsersDialog extends BaseDialogBean
Modifier and Type | Field and Description |
---|---|
protected String |
group
The id of the group to add users to
|
protected String |
groupName
Name of the group to add users to
|
protected DataModel |
usersDataModel
datamodel for table of users added to group
|
protected List<GroupsDialog.UserAuthorityDetails> |
usersForGroup
selected users to be added to a group
|
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
AddUsersDialog() |
Modifier and Type | Method and Description |
---|---|
void |
addSelectedUsers(ActionEvent event)
Add the selected User to the list for adding to a Group
|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
protected AuthorityService |
getAuthService() |
String |
getContainerSubTitle()
Returns the subtitle to be used for the dialog
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
protected PersonService |
getPersonService() |
DataModel |
getUsersDataModel() |
void |
init(Map<String,String> parameters)
Initialises the dialog bean
|
SelectItem[] |
pickerCallback(int filterIndex,
String contains)
Query callback method executed by the Generic Picker component.
|
void |
removeUserSelection(ActionEvent event)
Action handler called when the Remove button is pressed to remove a user
from the results list
|
void |
setAuthService(AuthorityService authService) |
void |
setPersonService(PersonService personService) |
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
protected String group
protected String groupName
protected List<GroupsDialog.UserAuthorityDetails> usersForGroup
protected transient DataModel usersDataModel
public void init(Map<String,String> parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogprotected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
public String getContainerSubTitle()
IDialogBean
If this returns null the DialogManager will lookup the subtitle via the dialog configuration
getContainerSubTitle
in interface IDialogBean
getContainerSubTitle
in class BaseDialogBean
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public void setAuthService(AuthorityService authService)
protected AuthorityService getAuthService()
public void setPersonService(PersonService personService)
protected PersonService getPersonService()
public DataModel getUsersDataModel()
public SelectItem[] pickerCallback(int filterIndex, String contains)
filterIndex
- Index of the filter drop-down selectioncontains
- Text from the contains textboxpublic void addSelectedUsers(ActionEvent event)
public void removeUserSelection(ActionEvent event)
Copyright © 2005–2017 Alfresco Software. All rights reserved.