tdraier     2005/12/21 15:16:09 CET

  Modified files:
    core/src/java/org/jahia/services/events JSPEventListener.java 
                                            JahiaEventGeneratorBaseService.java 
                                            JahiaEventGeneratorService.java 
  Log:
  moved group activation event
  
  Revision  Changes    Path
  1.12      +2 -3      
jahia/core/src/java/org/jahia/services/events/JSPEventListener.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/services/events/JSPEventListener.java.diff?r1=1.11&r2=1.12&f=h
  1.10      +2 -2      
jahia/core/src/java/org/jahia/services/events/JahiaEventGeneratorBaseService.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/services/events/JahiaEventGeneratorBaseService.java.diff?r1=1.9&r2=1.10&f=h
  1.9       +1 -1      
jahia/core/src/java/org/jahia/services/events/JahiaEventGeneratorService.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/services/events/JahiaEventGeneratorService.java.diff?r1=1.8&r2=1.9&f=h
  
  
  
  Index: JSPEventListener.java
  ===================================================================
  RCS file: 
/home/cvs/repository/jahia/core/src/java/org/jahia/services/events/JSPEventListener.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- JSPEventListener.java     24 Oct 2005 12:42:24 -0000      1.11
  +++ JSPEventListener.java     21 Dec 2005 14:16:08 -0000      1.12
  @@ -1,7 +1,6 @@
   package org.jahia.services.events;
   
   import org.jahia.data.events.JahiaEvent;
  -import org.jahia.data.events.JahiaEventListener;
   import org.jahia.params.ProcessingContext;
   import org.jahia.params.ParamBean;
   import org.jahia.registries.ServicesRegistry;
  @@ -234,8 +233,8 @@
           dispatchToJSP ("contentActivation", theEvent);
       }
   
  -    public void beforeGroupActivation (ContentActivationEvent theEvent) {
  -        dispatchToJSP ("beforeGroupActivation", theEvent);
  +    public void afterGroupActivation (ContentActivationEvent theEvent) {
  +        dispatchToJSP ("afterGroupActivation", theEvent);
       }
   
       public void contentObjectCreated (JahiaEvent theEvent) {
  
  
  
  Index: JahiaEventGeneratorBaseService.java
  ===================================================================
  RCS file: 
/home/cvs/repository/jahia/core/src/java/org/jahia/services/events/JahiaEventGeneratorBaseService.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- JahiaEventGeneratorBaseService.java       24 Oct 2005 12:42:24 -0000      
1.9
  +++ JahiaEventGeneratorBaseService.java       21 Dec 2005 14:16:08 -0000      
1.10
  @@ -210,8 +210,8 @@
        * @param theEvent JahiaEvent
        * @throws JahiaException
        */
  -    public void fireBeforeGroupActivation (JahiaEvent theEvent) throws 
JahiaException {
  -        JahiaListenersRegistry.getInstance ().wakeupListeners 
("beforeGroupActivation",
  +    public void fireAfterGroupActivation (JahiaEvent theEvent) throws 
JahiaException {
  +        JahiaListenersRegistry.getInstance ().wakeupListeners 
("afterGroupActivation",
                   theEvent);
       }
   
  
  
  
  Index: JahiaEventGeneratorService.java
  ===================================================================
  RCS file: 
/home/cvs/repository/jahia/core/src/java/org/jahia/services/events/JahiaEventGeneratorService.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- JahiaEventGeneratorService.java   24 Oct 2005 12:42:24 -0000      1.8
  +++ JahiaEventGeneratorService.java   21 Dec 2005 14:16:08 -0000      1.9
  @@ -126,7 +126,7 @@
        * @param theEvent JahiaEvent
        * @throws JahiaException
        */
  -    public abstract void fireBeforeGroupActivation (JahiaEvent theEvent)
  +    public abstract void fireAfterGroupActivation (JahiaEvent theEvent)
       throws JahiaException;
   
       /**
  

Reply via email to