|
|||||||||
| 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.users.EmailSpaceUsersDialog
public class EmailSpaceUsersDialog
Dialog bean managing the state for the Email Space Users page. Calculates the user/groups that are invited to a space and builds the data structures needed to display and modify the list in the web-client UI. Notifies the selected user/groups with a templatable email.
| Field Summary | |
|---|---|
protected TemplateMailHelperBean |
mailHelper
Helper providing template based mailing facilities |
| Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
|---|
browseBean, isFinished, navigator, parameters |
| Constructor Summary | |
|---|---|
EmailSpaceUsersDialog()
Default constructor |
|
| 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. |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TemplateMailHelperBean mailHelper
| Constructor Detail |
|---|
public EmailSpaceUsersDialog()
| Method Detail |
|---|
public void init(java.util.Map parameters)
init in interface IDialogBeaninit in class BaseDialogBeanparameters - Map of parameters for the dialog
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBean
finishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcome
java.lang.ExceptionBaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)public void contextUpdated()
IContextListener
contextUpdated in interface IContextListenerIContextListener.contextUpdated()public void areaChanged()
IContextListener
areaChanged in interface IContextListenerIContextListener.areaChanged()public void spaceChanged()
IContextListener
spaceChanged 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()
IDialogBean
getFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic void userGroupSelectorAction(javax.faces.event.ActionEvent event)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||