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 javax.faces.model.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(javax.faces.event.ActionEvent event)
Add the selected User to the list for adding to a Group
|
protected String |
finishImpl(javax.faces.context.FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
protected org.alfresco.service.cmr.security.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 org.alfresco.service.cmr.security.PersonService |
getPersonService() |
javax.faces.model.DataModel |
getUsersDataModel() |
void |
init(Map<String,String> parameters)
Initialises the dialog bean
|
javax.faces.model.SelectItem[] |
pickerCallback(int filterIndex,
String contains)
Query callback method executed by the Generic Picker component.
|
void |
removeUserSelection(javax.faces.event.ActionEvent event)
Action handler called when the Remove button is pressed to remove a user
from the results list
|
void |
setAuthService(org.alfresco.service.cmr.security.AuthorityService authService) |
void |
setPersonService(org.alfresco.service.cmr.security.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, setSearchServiceprotected String group
protected String groupName
protected List<GroupsDialog.UserAuthorityDetails> usersForGroup
protected transient javax.faces.model.DataModel usersDataModel
public void init(Map<String,String> parameters)
IDialogBeaninit in interface IDialogBeaninit in class BaseDialogBeanparameters - Map of parameters for the dialogprotected String finishImpl(javax.faces.context.FacesContext context, String outcome) throws Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomeExceptionpublic String getContainerSubTitle()
IDialogBeanIf this returns null the DialogManager will lookup the subtitle via the dialog configuration
getContainerSubTitle in interface IDialogBeangetContainerSubTitle in class BaseDialogBeanpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic void setAuthService(org.alfresco.service.cmr.security.AuthorityService authService)
protected org.alfresco.service.cmr.security.AuthorityService getAuthService()
public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
protected org.alfresco.service.cmr.security.PersonService getPersonService()
public javax.faces.model.DataModel getUsersDataModel()
public javax.faces.model.SelectItem[] pickerCallback(int filterIndex,
String contains)
filterIndex - Index of the filter drop-down selectioncontains - Text from the contains textboxpublic void addSelectedUsers(javax.faces.event.ActionEvent event)
public void removeUserSelection(javax.faces.event.ActionEvent event)
Copyright © 2005–2018 Alfresco Software. All rights reserved.