|
|||||||||
| 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.UpdatePermissionsDialog
org.alfresco.web.bean.wcm.EditPermissionsDialog
public class EditPermissionsDialog
Class for EditPermissions 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 | |
|---|---|
EditPermissionsDialog()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.alfresco.web.bean.wcm.UpdatePermissionsDialog |
|---|
createLock, getActiveNode, getAuthenticationService, getAvmLockingService, setActiveNode, setAuthenticationService, setAvmLockingService |
| 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 EditPermissionsDialog()
| Method Detail |
|---|
public void setupAction(javax.faces.event.ActionEvent event)
event - public void init(java.util.Map parameters)
IDialogBean
init in interface IDialogBeaninit in class UpdatePermissionsDialogparameters - Map of parameters for the dialogpublic boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled 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 BaseDialogBean
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.lang.String cancel()
IDialogBean
cancel 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||