public class EditPermissionsDialog extends UpdatePermissionsDialog
permissionServicebrowseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
EditPermissionsDialog() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPermission(javax.faces.event.ActionEvent event)
Action handler called when the Add Permission button is pressed to process the current selection
|
java.lang.String |
cancel()
Method handler called when the cancel button of the dialog is pressed
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
java.lang.String |
getContainerTitle()
Returns the title to be used for the dialog
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
javax.faces.model.SelectItem[] |
getPerms() |
javax.faces.model.DataModel |
getPersonPermsDataModel()
Returns the properties for current Person permissions JSF DataModel
|
void |
init(java.util.Map parameters)
Initialises the dialog bean
|
void |
removePermission(javax.faces.event.ActionEvent event)
Action handler called when the Remove button is pressed to remove a permission from current user
|
void |
setupAction(javax.faces.event.ActionEvent event) |
createLock, getActiveNode, getAuthenticationService, getAvmLockingService, setActiveNode, setAuthenticationService, setAvmLockingServicegetAvmBrowseBean, getPermissionService, setAvmBrowseBean, setPermissionServicedoPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServicepublic void setupAction(javax.faces.event.ActionEvent event)
event - public void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class UpdatePermissionsDialogparameters - Map of parameters for the dialogpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic java.lang.String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class BaseDialogBeanprotected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BasePermissionsDialogcontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic java.lang.String cancel()
IDialogBeancancel in interface IDialogBeancancel in class BaseDialogBeanpublic javax.faces.model.SelectItem[] getPerms()
public void addPermission(javax.faces.event.ActionEvent event)
public javax.faces.model.DataModel getPersonPermsDataModel()
public void removePermission(javax.faces.event.ActionEvent event)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.