public class AddUsersDialog extends BaseDialogBean
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
group
The id of the group to add users to
|
protected java.lang.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 java.util.List |
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 java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
protected org.alfresco.service.cmr.security.AuthorityService |
getAuthService() |
java.lang.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(java.util.Map parameters)
Initialises the dialog bean
|
javax.faces.model.SelectItem[] |
pickerCallback(int filterIndex,
java.lang.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 java.lang.String group
protected java.lang.String groupName
protected java.util.List usersForGroup
protected transient javax.faces.model.DataModel usersDataModel
public void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class BaseDialogBeanparameters - Map of parameters for the dialogprotected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic java.lang.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,
java.lang.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 - 2010 Alfresco Software, Inc. All Rights Reserved.