KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > data > events > JahiaEventListenerInterface


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12

13 //
14
// JahiaEventListenerInterface
15
// EV 12.01.2001
16
//
17

18 package org.jahia.data.events;
19
20 import org.jahia.content.events.ContentActivationEvent;
21
22
23 public interface JahiaEventListenerInterface
24 {
25
26     public void beforeServicesLoad( JahiaEvent je );
27     public void afterServicesLoad( JahiaEvent je );
28
29     /**
30      * JahiaEvent(JahiaSaveVersion,ParamBean,ContentField)
31      * @param je
32      */

33     public void beforeFieldActivation( JahiaEvent je );
34
35     public void fieldAdded( JahiaEvent je );
36     public void fieldUpdated( JahiaEvent je );
37     public void fieldDeleted( JahiaEvent je );
38
39     /**
40      * JahiaEvent(JahiaSaveVersion,ParamBean,ContentContainer)
41      * @param je
42      */

43     public void beforeContainerActivation( JahiaEvent je );
44
45     public void addContainerEngineAfterSave( JahiaEvent je );
46     public void addContainerEngineBeforeSave( JahiaEvent je );
47     public void addContainerEngineAfterInit( JahiaEvent je );
48
49     public void updateContainerEngineBeforeSave( JahiaEvent je );
50     public void updateContainerEngineAfterInit( JahiaEvent je );
51
52     public void containerAdded( JahiaEvent je );
53     public void containerUpdated( JahiaEvent je );
54     public void containerDeleted( JahiaEvent je );
55
56     public void pageAdded( JahiaEvent je );
57     public void pageLoaded( JahiaEvent je );
58
59     public void pagePropertiesSet( JahiaEvent je );
60     public void containerListPropertiesSet( JahiaEvent je );
61
62     public void rightsSet( JahiaEvent je);
63
64     public void userLoggedIn( JahiaEvent je );
65     public void userLoggedOut( JahiaEvent je );
66
67     /**
68      * Event fired after ContentObject.activate(...)
69      * The Event source object is the calling ContentObject, the event object is
70      * the ObjectKey instance of the content object.
71      *
72      * @param theEvent ContentActivationEvent
73      * @throws JahiaException
74      */

75     public void contentActivation (ContentActivationEvent theEvent);
76
77 } // end JahiaEventListenerInterface
78
Popular Tags