public class EmailSpaceUsersDialog extends BaseDialogBean implements IContextListener
| Modifier and Type | Field and Description |
|---|---|
protected TemplateMailHelperBean |
mailHelper
Helper providing template based mailing facilities
|
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
EmailSpaceUsersDialog()
Default constructor
|
| 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.
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
protected org.alfresco.service.cmr.security.AuthorityService |
getAuthorityService() |
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
TemplateMailHelperBean |
getMailHelper() |
protected org.springframework.mail.javamail.JavaMailSender |
getMailSender() |
protected org.alfresco.service.cmr.security.PermissionService |
getPermissionService() |
protected org.alfresco.service.cmr.security.PersonService |
getPersonService() |
Node |
getSpace() |
java.util.List |
getUsersGroups()
Return the List of objects representing the Users and Groups invited to this space.
|
void |
init(java.util.Map parameters)
Setup the dialog
|
void |
setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService) |
void |
setMailSender(org.springframework.mail.javamail.JavaMailSender mailSender) |
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService) |
void |
setPersonService(org.alfresco.service.cmr.security.PersonService personService) |
void |
spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that
the current space has changed.
|
void |
userGroupSelectorAction(javax.faces.event.ActionEvent event)
Action handler for a user/group selector event
|
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServiceprotected TemplateMailHelperBean mailHelper
public void init(java.util.Map parameters)
init in interface IDialogBeaninit in class BaseDialogBeanparameters - 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 BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.ExceptionBaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)public void contextUpdated()
IContextListenercontextUpdated in interface IContextListenerIContextListener.contextUpdated()public void areaChanged()
IContextListenerareaChanged in interface IContextListenerIContextListener.areaChanged()public void spaceChanged()
IContextListenerspaceChanged in interface IContextListenerIContextListener.spaceChanged()public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
permissionService - The PermissionService to setprotected org.alfresco.service.cmr.security.PermissionService getPermissionService()
public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
personService - The PersonService to setprotected org.alfresco.service.cmr.security.PersonService getPersonService()
public void setMailSender(org.springframework.mail.javamail.JavaMailSender mailSender)
mailSender - The JavaMailSender to set.protected org.springframework.mail.javamail.JavaMailSender getMailSender()
public void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
authorityService - The AuthorityService to set.protected org.alfresco.service.cmr.security.AuthorityService getAuthorityService()
public Node getSpace()
public java.util.List getUsersGroups()
public TemplateMailHelperBean getMailHelper()
public boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic void userGroupSelectorAction(javax.faces.event.ActionEvent event)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.