KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > pages > PageLoadFlags


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 package org.jahia.services.pages;
14
15 /**
16  * This class sets all the kind of pages used by Jahia, and also defines some
17  * page masks for the page searching algorithma.
18  */

19 public class PageLoadFlags {
20     /** Not a page! */
21     public static final int NOTHING = 0;
22
23     /**
24      * Defines direct Jahia pages. This kind of pages are not pointing on
25      * another page.
26      */

27     public static final int DIRECT = 1;
28
29     /** Defines internal Jahia pages links */
30     public static final int INTERNAL = 2;
31
32     /** Defines external, non-Jahia pages, mostly URL from the web */
33     public static final int URL = 4;
34
35     /** defines all the pages */
36     public static final int ALL = -1;
37
38     /** Defines all the Jahia pages (direct or internal pages) */
39     public static final int JAHIA = DIRECT | INTERNAL;
40
41     /** Defines all the link-type pages (internal or URL pages) */
42     public static final int LINKS = INTERNAL | URL;
43 }
44
Popular Tags