KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > content > ContentTreeStatusInterface


1 package org.jahia.content;
2
3
4 /**
5  * <p>Title: Class used to keep some information status when traversing the Tree.</p>
6  * <p>Copyright: Copyright (c) 2002</p>
7  * <p>Company: </p>
8  * @author Khue Nguyen
9  * @version 1.0
10  */

11
12 public interface ContentTreeStatusInterface {
13
14     /**
15      * Continue processing the next Content object or not
16      * @return
17      */

18     public abstract boolean continueWithNextContentObject();
19
20     /**
21      * Change the continue processing the next Content object or not status
22      */

23     public abstract void setContinueWithNextContentObject(boolean value);
24
25     /**
26      * Returns true if we should continue after processing all childs
27      * @return
28      */

29     public abstract boolean continueAfterChilds();
30
31     /**
32      * Change the continue continueAfterChilds status
33      * @return
34      */

35     public abstract void setContinueAfterChilds(boolean value);
36
37     /**
38      * Returns true if we should process the child of the last ContentObject
39      * @return
40      */

41     public abstract boolean continueWithChilds();
42
43     /**
44      * Change the continueWithChilds status
45      * @return
46      */

47     public abstract void setContinueWithChilds(boolean value);
48
49 }
Popular Tags