org.exoplatform.calendar.service.impl
Class NewGroupListener

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.services.organization.GroupEventListener
          extended by org.exoplatform.calendar.service.impl.NewGroupListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class NewGroupListener
extends org.exoplatform.services.organization.GroupEventListener

Author : Huu-Dung Kieu huu-dung.kieu@bull.be 14 f�vr. 08 This is a plugin running every time a new group is create. The goal is to create a default calendar for each group. The plugin configuration is defined in the portal/conf/cs/cs-plugin-configuration.xml file.


Field Summary
protected  CalendarService calendarService_
           
 java.lang.String ST_GROUP_IGNORE
           
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
NewGroupListener(CalendarService calendarService, org.exoplatform.container.xml.InitParams params)
           
 
Method Summary
 void postDelete(org.exoplatform.services.organization.Group group)
           
 void postSave(org.exoplatform.services.organization.Group group, boolean isNew)
           
 
Methods inherited from class org.exoplatform.services.organization.GroupEventListener
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
 

Field Detail

calendarService_

protected CalendarService calendarService_

ST_GROUP_IGNORE

public final java.lang.String ST_GROUP_IGNORE
Constructor Detail

NewGroupListener

public NewGroupListener(CalendarService calendarService,
                        org.exoplatform.container.xml.InitParams params)
Parameters:
calendarService - Calendar service geeting from the Portlet Container
params - parameters defined in the cs-plugins-configuration.xml
Method Detail

postSave

public void postSave(org.exoplatform.services.organization.Group group,
                     boolean isNew)
              throws java.lang.Exception
Overrides:
postSave in class org.exoplatform.services.organization.GroupEventListener
Throws:
java.lang.Exception

postDelete

public void postDelete(org.exoplatform.services.organization.Group group)
                throws java.lang.Exception
Overrides:
postDelete in class org.exoplatform.services.organization.GroupEventListener
Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.