|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.groups.AddUsersDialog
public class AddUsersDialog
Implementation of the add user dialog.
Field Summary | |
---|---|
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 |
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
AddUsersDialog()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String group
protected java.lang.String groupName
protected java.util.List usersForGroup
protected transient javax.faces.model.DataModel usersDataModel
Constructor Detail |
---|
public AddUsersDialog()
Method Detail |
---|
public void init(java.util.Map parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogprotected java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome) throws java.lang.Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcome
java.lang.Exception
public java.lang.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(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 textbox
public void addSelectedUsers(javax.faces.event.ActionEvent event)
public void removeUserSelection(javax.faces.event.ActionEvent event)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |