KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openharmonise > dav > server > apm > AuxillaryPreProcessManager


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
20 package org.openharmonise.dav.server.apm;
21
22 import org.openharmonise.rm.metadata.*;
23 import org.openharmonise.rm.resources.*;
24 import org.openharmonise.rm.resources.users.*;
25
26
27 /**
28  * Interface providing a means for allowing project specific actions to be
29  * plugged in to the resource workflow before the workflow event is to
30  * take place.
31  *
32  * @author Michael Bell
33  * @version $Revision: 1.1 $
34  *
35  */

36 public interface AuxillaryPreProcessManager {
37
38     public void preSave( User usr, AbstractChildObject obj ) throws Exception JavaDoc ;
39
40     public void preDelete( User usr, AbstractEditableObject obj ) throws Exception JavaDoc ;
41
42     public void preSaveProperties( User usr, AbstractEditableObject obj, Profile pro ) throws Exception JavaDoc ;
43
44     public void preSaveLinks( User usr, AbstractEditableObject obj ) throws Exception JavaDoc ;
45
46     public void preChangeStatus( User usr, AbstractEditableObject obj, int nStartStatus, int nNewStatus ) throws Exception JavaDoc ;
47 }
Popular Tags