|
|||||||||
| 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.wcm.BasePermissionsDialog
org.alfresco.web.bean.wcm.ManagePermissionsDialog
public class ManagePermissionsDialog
Class for ManagePermissions dialog
| Field Summary |
|---|
| Fields inherited from class org.alfresco.web.bean.wcm.BasePermissionsDialog |
|---|
permissionService |
| Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
|---|
browseBean, isFinished, navigator, parameters |
| Constructor Summary | |
|---|---|
ManagePermissionsDialog()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.alfresco.web.bean.wcm.BasePermissionsDialog |
|---|
getAvmBrowseBean, getPermissionService, setAvmBrowseBean, setPermissionService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManagePermissionsDialog()
| Method Detail |
|---|
public 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)
IDialogBean
init in interface IDialogBeaninit in class BasePermissionsDialogparameters - Map of parameters for the dialog
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBean
finishImpl in class BasePermissionsDialogcontext - FacesContextoutcome - The default outcome
java.lang.Exceptionpublic java.util.List getUsers()
public static java.util.Set getPermissionsForType()
public void areaChanged()
IContextListener
areaChanged in interface IContextListenerpublic void contextUpdated()
IContextListener
contextUpdated in interface IContextListenerpublic void spaceChanged()
IContextListener
spaceChanged 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()
IDialogBean
restored in interface IDialogBeanrestored in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic java.lang.Object getActionsContext()
IDialogBean
getActionsContext 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||