KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openharmonise > rm > resources > lifecycle > EditEventListener


1 /*
2  * The contents of this file are subject to the
3  * Mozilla Public License Version 1.1 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at http://www.mozilla.org/MPL/
6  *
7  * Software distributed under the License is distributed on an "AS IS"
8  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
9  * See the License for the specific language governing rights and
10  * limitations under the License.
11  *
12  * The Initial Developer of the Original Code is Simulacra Media Ltd.
13  * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
14  *
15  * All Rights Reserved.
16  *
17  * Contributor(s):
18  */

19 package org.openharmonise.rm.resources.lifecycle;
20
21 import java.util.*;
22
23 /**
24  * Listener for <code>EditEvent</code>s.
25  *
26  * @author Michael Bell
27  * @version $Revision: 1.1 $
28  *
29  */

30 public interface EditEventListener extends EventListener {
31     
32     /**
33      * Inform listener that the workflow object has been saved.
34      *
35      * @param event
36      */

37     public void workflowObjectSaved(EditEvent event);
38     
39     /**
40      * Inform listener that the workflow object status has been changed.
41      *
42      * @param event
43      */

44     public void workflowObjectStatusChanged(EditEvent event);
45     
46     /**
47      * Inform listener that the workflow object has been archived.
48      *
49      * @param event
50      */

51     public void workflowObjectArchived(EditEvent event);
52     
53     /**
54      * Inform listener that the workflow object has been reactivated.
55      *
56      * @param event
57      */

58     public void workflowObjectReactivated(EditEvent event);
59     
60     /**
61      * Inform listener that the workflow object has been locked.
62      *
63      * @param event
64      */

65     public void workflowObjectLocked(EditEvent event);
66     
67     /**
68      * Inform listener that the workflow object has been unlocked.
69      *
70      * @param event
71      */

72     public void workflowObjectUnlocked(EditEvent event);
73
74 }
75
Popular Tags