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 String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
protected 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 PersonService |
getPersonService() |
Node |
getSpace() |
List<Map> |
getUsersGroups()
Return the List of objects representing the Users and Groups invited to this space.
|
void |
init(Map<String,String> parameters)
Setup the dialog
|
void |
setAuthorityService(AuthorityService authorityService) |
void |
setMailSender(org.springframework.mail.javamail.JavaMailSender mailSender) |
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService) |
void |
setPersonService(PersonService personService) |
void |
spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that
the current space has changed.
|
void |
userGroupSelectorAction(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, setSearchService
protected TemplateMailHelperBean mailHelper
public void init(Map<String,String> parameters)
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogprotected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
BaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)
public void contextUpdated()
IContextListener
contextUpdated
in interface IContextListener
IContextListener.contextUpdated()
public void areaChanged()
IContextListener
areaChanged
in interface IContextListener
IContextListener.areaChanged()
public void spaceChanged()
IContextListener
spaceChanged
in interface IContextListener
IContextListener.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(PersonService personService)
personService
- The PersonService to setprotected 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(AuthorityService authorityService)
authorityService
- The AuthorityService to set.protected AuthorityService getAuthorityService()
public Node getSpace()
public List<Map> getUsersGroups()
public TemplateMailHelperBean getMailHelper()
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public void userGroupSelectorAction(ActionEvent event)
Copyright © 2005–2017 Alfresco Software. All rights reserved.