org.exoplatform.mail.service.impl
Class NewUserListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.organization.UserEventListener
org.exoplatform.mail.service.impl.NewUserListener
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin
public class NewUserListener
- extends org.exoplatform.services.organization.UserEventListener
- Author:
- : Huu-Dung Kieu
huu-dung.kieu@bull.be
This is a plugin running every time a new user is created.
The goal is to create a default mail account for each user.
The plugin configuration is defined in the portal/conf/cs/cs-plugin-configuration.xml file.
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
|
Method Summary |
void |
postSave(org.exoplatform.services.organization.User user,
boolean isNew)
|
| Methods inherited from class org.exoplatform.services.organization.UserEventListener |
postDelete, preDelete, preSave |
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
getDescription, getName, setDescription, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FD_INBOX
public static final java.lang.String FD_INBOX
FD_DRAFTS
public static final java.lang.String FD_DRAFTS
FD_SENT
public static final java.lang.String FD_SENT
FD_SPAM
public static final java.lang.String FD_SPAM
FD_TRASH
public static final java.lang.String FD_TRASH
defaultFolders_
public static final java.lang.String[] defaultFolders_
NewUserListener
public NewUserListener(MailService mservice,
org.exoplatform.container.xml.InitParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
postSave
public void postSave(org.exoplatform.services.organization.User user,
boolean isNew)
throws java.lang.Exception
- Overrides:
postSave in class org.exoplatform.services.organization.UserEventListener
- Throws:
java.lang.Exception
Copyright © 2012 eXo Platform SAS. All Rights Reserved.