KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > sites > SitesDBInterface


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.sites;
14
15
16 /**
17  * This interface holds constants defining the site database table name, and
18  * all the column names.
19  *
20  * @author Fulco Houkes
21  * @version 1.0
22  */

23 public interface SitesDBInterface {
24
25     /** <code>jahia_sites_users</code> database table name */
26     public static final String JavaDoc JAHIA_SITES_USERS = "jahia_sites_users";
27
28     /** account ID column name */
29     public static final String JavaDoc FIELD_ACCOUNT_ID_SITES_USERS = "id_jahia_accounts";
30
31     /** user key column name */
32     public static final String JavaDoc FIELD_USER_KEY_SITES_USERS = "key_jahia_users";
33
34     /** site key column name */
35     public static final String JavaDoc FIELD_SITE_KEY_SITES_USERS = "key_jahia_sites";
36
37
38     /** <code>jahia_sites</code> database table name */
39     public static final String JavaDoc JAHIA_SITES = "jahia_sites";
40
41     /** */
42     public static final String JavaDoc FIELD_TITLE_SITES = "title_jahia_sites";
43
44     /** */
45     public static final String JavaDoc FIELD_SERVERNAME_SITES = "servername_jahia_sites";
46
47     /** */
48     public static final String JavaDoc FIELD_KEY_SITES = "key_jahia_sites";
49
50     /** */
51     public static final String JavaDoc FIELD_ACTIVE_SITES = "active_jahia_sites";
52
53     /** */
54     public static final String JavaDoc FIELD_DEFAULTPAGE_ID_SITES =
55             "defaultpageid_jahia_sites";
56
57     /** */
58     public static final String JavaDoc FIELD_DEFAULT_TEMPLATE_ID_SITES =
59             "defaulttemplateid_jahia_sites";
60
61     /** */
62     public static final String JavaDoc FIELD_TPL_DEPLOY_MODE_SITES =
63             "tpl_deploymode_jahia_sites";
64
65     /** */
66     public static final String JavaDoc FIELD_WEBAPPS_DEPLOY_MODE_SITES =
67             "webapps_deploymode_jahia_sites";
68
69     /** */
70     public static final String JavaDoc FIELD_ACL_ID_SITES = "rights_jahia_sites";
71
72     /** */
73     public static final String JavaDoc FIELD_SITE_DESCRIPTION_SITES = "descr_jahia_sites";
74
75 }
76
Popular Tags