org.exoplatform.platform.gadgets.listeners
Class InitNewUserDashboardListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.organization.UserEventListener
org.exoplatform.platform.gadgets.listeners.InitNewUserDashboardListener
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin
public class InitNewUserDashboardListener
- extends org.exoplatform.services.organization.UserEventListener
- Version:
- $Revision$
- Author:
- Anouar
Chattouna
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
|
Method Summary |
void |
postSave(org.exoplatform.services.organization.User user,
boolean isNew)
This method is called after the user has been saved but not commited
yet. |
| 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 |
InitNewUserDashboardListener
public InitNewUserDashboardListener(UserDashboardConfigurationService userDashboardConfigurationService)
postSave
public void postSave(org.exoplatform.services.organization.User user,
boolean isNew)
- This method is called after the user has been saved but not commited
yet. It initializes the concerned user's dashboard and prepopulates
some gadgets on it.
- Overrides:
postSave in class org.exoplatform.services.organization.UserEventListener
- Parameters:
user - The user instance has been saved.isNew - if the user is a new record in the database or not
Copyright © 2013 eXo Platform SAS. All Rights Reserved.