|
|||||||||
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 IDialogBean
init
in class BasePermissionsDialog
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 BasePermissionsDialog
context
- FacesContextoutcome
- The default outcome
java.lang.Exception
public java.util.List getUsers()
public static java.util.Set getPermissionsForType()
public void areaChanged()
IContextListener
areaChanged
in interface IContextListener
public void contextUpdated()
IContextListener
contextUpdated
in interface IContextListener
public void spaceChanged()
IContextListener
spaceChanged
in interface IContextListener
public void filterModeChanged(javax.faces.event.ActionEvent event)
filterModeChanged
in interface FilterViewSupport
public java.util.List getFilterItems()
getFilterItems
in interface FilterViewSupport
public java.lang.String getFilterMode()
getFilterMode
in interface FilterViewSupport
public void setFilterMode(java.lang.String filterMode)
setFilterMode
in interface FilterViewSupport
public UIRichList getUsersRichList()
public void setUsersRichList(UIRichList usersRichList)
usersRichList
- public void restored()
IDialogBean
restored
in interface IDialogBean
restored
in class BaseDialogBean
public java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public java.lang.Object getActionsContext()
IDialogBean
getActionsContext
in interface IDialogBean
getActionsContext
in class BaseDialogBean
public java.lang.String getContainerTitle()
IDialogBean
If this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle
in interface IDialogBean
getContainerTitle
in class BaseDialogBean
public 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 |