public class ManagePermissionsDialog extends BasePermissionsDialog implements IContextListener, FilterViewSupport
permissionServicebrowseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
ManagePermissionsDialog() |
| Modifier and Type | Method and Description |
|---|---|
void |
areaChanged()
Method called by UIContextService.areaChanged() to inform all registered beans that
the user has changed area i.e.
|
void |
contextUpdated()
Method called by UIContextService.notifyBeans() to inform all registered beans that
all UI Beans should refresh dump all cached data and settings.
|
void |
filterModeChanged(javax.faces.event.ActionEvent event) |
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
java.lang.Object |
getActionsContext()
Returns the object to use as the context for the main and more
actions that may be configured by the dialog
|
java.lang.String |
getCancelButtonLabel()
Returns the label to use for the cancel button
|
java.lang.String |
getContainerTitle()
Returns the title to be used for the dialog
|
java.util.List |
getFilterItems() |
java.lang.String |
getFilterMode() |
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
static java.util.Set |
getPermissionsForType()
Get available permissions
|
protected org.alfresco.service.cmr.security.PersonService |
getPersonService()
Getter for personService
|
java.util.List |
getUsers() |
UIRichList |
getUsersRichList()
Getter for usersRichList
|
void |
inheritPermissionsValueChanged(javax.faces.event.ValueChangeEvent event) |
void |
init(java.util.Map parameters)
Initialises the dialog bean
|
boolean |
isInheritParenSpacePermissions()
Getter for inheritParenSpacePermissions
|
boolean |
isRendered() |
void |
restored()
Called when the dialog is restored after a nested dialog is closed
|
void |
setFilterMode(java.lang.String filterMode) |
void |
setInheritParenSpacePermissions(boolean inheritParenSpacePermissions)
Setter for inheritParenSpacePermissions Set the global inheritance behaviour for permissions on a node.
|
void |
setPersonService(org.alfresco.service.cmr.security.PersonService personService) |
void |
setUsersRichList(UIRichList usersRichList)
Setter for usersRichList
|
void |
spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that
the current space has changed.
|
getAvmBrowseBean, getPermissionService, setAvmBrowseBean, setPermissionServicecancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServicepublic void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
personService - The personService to set.protected org.alfresco.service.cmr.security.PersonService getPersonService()
public void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class BasePermissionsDialogparameters - 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 BasePermissionsDialogcontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic java.util.List getUsers()
public static java.util.Set getPermissionsForType()
public void areaChanged()
IContextListenerareaChanged in interface IContextListenerpublic void contextUpdated()
IContextListenercontextUpdated in interface IContextListenerpublic void spaceChanged()
IContextListenerspaceChanged in interface IContextListenerpublic void filterModeChanged(javax.faces.event.ActionEvent event)
filterModeChanged in interface FilterViewSupportpublic java.util.List getFilterItems()
getFilterItems in interface FilterViewSupportpublic java.lang.String getFilterMode()
getFilterMode in interface FilterViewSupportpublic void setFilterMode(java.lang.String filterMode)
setFilterMode in interface FilterViewSupportpublic UIRichList getUsersRichList()
public void setUsersRichList(UIRichList usersRichList)
usersRichList - public void restored()
IDialogBeanrestored in interface IDialogBeanrestored in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBeangetCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic java.lang.Object getActionsContext()
IDialogBeangetActionsContext in interface IDialogBeangetActionsContext 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 BaseDialogBeanpublic boolean isRendered()
public boolean isInheritParenSpacePermissions()
public void setInheritParenSpacePermissions(boolean inheritParenSpacePermissions)
inheritParenSpacePermissions - public void inheritPermissionsValueChanged(javax.faces.event.ValueChangeEvent event)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.