KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > security > license > LicenseConstants


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
// LicenseConstants
14
//
15
// NK 11.06.2001
16
//
17
//
18

19 package org.jahia.security.license;
20
21 /**
22  * LicenseConstants
23  *
24  * @author NK
25  */

26
27 public final class LicenseConstants {
28
29     /**
30      * Constants defined for Jahia License
31      *
32      * @author Khue Nguyen
33      */

34
35     /** OpenJoda License Type **/
36     public static final int OPENJODA_LICENSE_TYPE = 1;
37
38     /** ProJoda License Type **/
39     public static final int PROJODA_LICENSE_TYPE = 2;
40
41
42
43     /** License Type Relational Comparator "<" **/
44     public static final int RELCOMP_SMALLER = 1;
45
46     /** License Type Relational Comparator "<=" **/
47     public static final int RELCOMP_SMALLER_OR_EQUAL = 2;
48
49     /** License Type Relational Comparator "=" **/
50     public static final int RELCOMP_EQUAL = 3;
51
52     /** License Type Relational Comparator ">=" **/
53     public static final int RELCOMP_BIGGER_OR_EQUAL = 4;
54
55     /** License Type Relational Comparator ">" **/
56     public static final int RELCOMP_BIGGER = 5;
57
58
59
60     /** License Type parameter **/
61     public static final String JavaDoc LICENSE_TYPE_OPTION = "licenseType";
62
63     /** License Type Relational Comparator **/
64     public static final String JavaDoc LICENSE_TYPE_RELCOMP_OPTION = "relComp";
65
66     /** Identifier for a licenseID that disables check of hostname/host ip address */
67     public static final String JavaDoc LICENSEID_NULL = "-1";
68
69     public static final String JavaDoc CORE_COMPONENT = "org.jahia.core";
70
71     public static final String JavaDoc JAHIA_PRODUCT_NAME = "Jahia";
72
73     public static final String JavaDoc USER_LIMIT_NAME = "users";
74     public static final String JavaDoc PAGE_LIMIT_NAME = "pages";
75     public static final String JavaDoc SITE_LIMIT_NAME = "sites";
76     public static final String JavaDoc TEMPLATE_LIMIT_NAME = "templates";
77     public static final String JavaDoc BUILDNUMBER_LIMIT_NAME = "build";
78     public static final String JavaDoc RELEASE_LIMIT_NAME = "release";
79
80 }
81
Popular Tags