org.alfresco.web.bean.wcm
Class BasePermissionsDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.wcm.BasePermissionsDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean
Direct Known Subclasses:
ManagePermissionsDialog, UpdatePermissionsDialog

public class BasePermissionsDialog
extends BaseDialogBean

Base class for Permissions dialogs

See Also:
Serialized Form

Field Summary
protected  org.alfresco.service.cmr.security.PermissionService permissionService
          PermissionService bean reference
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
BasePermissionsDialog()
           
 
Method Summary
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 AVMBrowseBean getAvmBrowseBean()
          Getter for avmBrowseBean
protected  org.alfresco.service.cmr.security.PermissionService getPermissionService()
          Getter for permissionService
 void init(java.util.Map parameters)
          Initialises the dialog bean
 void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
           
protected  void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
           
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

permissionService

protected transient org.alfresco.service.cmr.security.PermissionService permissionService
PermissionService bean reference

Constructor Detail

BasePermissionsDialog

public BasePermissionsDialog()
Method Detail

init

public void init(java.util.Map parameters)
Description copied from interface: IDialogBean
Initialises the dialog bean

Specified by:
init in interface IDialogBean
Overrides:
init in class BaseDialogBean
Parameters:
parameters - Map of parameters for the dialog

getPermissionService

protected org.alfresco.service.cmr.security.PermissionService getPermissionService()
Getter for permissionService

Returns:
permissionService

setPermissionService

protected void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
Parameters:
permissionService - permission service

finishImpl

protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
                                      java.lang.String outcome)
                               throws java.lang.Exception
Description copied from class: BaseDialogBean
Performs the actual processing for the wizard. NOTE: This method is called within the context of a transaction so no transaction handling is required

Specified by:
finishImpl in class BaseDialogBean
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception

getAvmBrowseBean

public AVMBrowseBean getAvmBrowseBean()
Getter for avmBrowseBean

Returns:
avmBrowseBean

setAvmBrowseBean

public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
Parameters:
avmBrowseBean - The avmBrowseBean to set.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.