01: /**
02: * Title: ContextConstants<p>
03: * Description: defines Constants for WebMan queries <p>
04: * Copyright: Copyright (c) <p>
05: * Company: <p>
06: * @author
07: * @version 1.0
08: */package com.teamkonzept.db;
09:
10: public interface QueryConstants {
11:
12: /** db-vendors */
13: int DONTKNOW = 0;
14: int SYBASE = 1;
15: int ORACLE = 2;
16: int POSTGRESQL = 3;
17:
18: String EMPTY_STRING_VALUE = "value_is_empty_oracle_does_not_allow_to_insert_empty_strings";
19:
20: /* db-schema attribute names */
21: String CHILD_ID = "CHILD_ID";
22: String CONTENT_ID = "CONTENT_ID";
23: String CONTENT_NODE_ID = "CONTENT_NODE_ID";
24: /* Should be used to identify CONTENT_TREE.CONTENT_NODE_ID */
25: String CONTENT_TREE_ID = "CONTENT_TREE_ID";
26: String DOCUMENT_NAME = "DOCUMENT_NAME";
27: String DOCUMENT_SHORTNAME = "DOCUMENT_SHORTNAME";
28: String DOCUMENT_TYPE = "DOCUMENT_TYPE";
29: String EXTERNAL_URL = "EXTERNAL_URL";
30: String FORM_ID = "FORM_ID";
31: String FORM_TYPE = "FORM_TYPE";
32: /*
33: public static final String HERETABLE = "HERETABLE";
34: public static final String INHERIT_LEVELS = "INHERIT_LEVELS";
35: */
36: String INHERITABLE = "INHERITABLE";
37: String INHERIT_BEGIN_LEVEL = "INHERIT_BEGIN_LEVEL";
38: String INHERIT_END_LEVEL = "INHERIT_END_LEVEL";
39:
40: String LEFT_NR = "LEFT_NR";
41: String MAX = "MAX";
42: String MEDIA_ID = "MEDIA_ID";
43: String MEDIA_SIZE = "MEDIA_SIZE";
44: String NAME = "NAME";
45: String NEXT_SITE_ID = "NEXT_SITE_ID";
46: String NEXT_MEDIA_ID = "NEXT_MEDIA_ID";
47: String NEW_ID = "NEW_ID";
48: String NEW_IDX = "NEW_IDX";
49: String NODE_DOC_IDX = "NODE_DOC_IDX";
50: String NODE_ID = "NODE_ID";
51: String OBJECT_REFERENCE = "OBJECT_REFERENCE";
52: String OBJECT_TYPE = "OBJECT_TYPE";
53: String OLD_PG_SELECTION_ID = "OLD_PG_SELECTION_ID";
54: String PARENT_ID = "PARENT_ID";
55: String PG_CONTENT_NODE = "PG_CONTENT_NODE";
56: String PG_SELECTION_ID = "PG_SELECTION_ID";
57: String PRESENTATION_ID = "PRESENTATION_ID";
58: String RIGHT_NR = "RIGHT_NR";
59: String SELECTION_DATA = "SELECTION_DATA";
60: String SELECTION_ID = "SELECTION_ID";
61: String SELECTION_TYPE = "SELECTION_TYPE";
62: String SITE_NODE_DOC_IDX = "SITE_NODE_DOC_IDX";
63: String SITE_NODE_NAME = "SITE_NODE_NAME";
64: String SITE_NODE_PARENT = "SITE_NODE_PARENT";
65: String SITE_NODE_SHORTNAME = "SITE_NODE_SHORTNAME";
66: String SITE_NODE_TYPE = "SITE_NODE_TYPE";
67: String SITE_NODE_ID = "SITE_NODE_ID";
68: String UP_DATE = "UP_DATE";
69: String VALUE = "VALUE";
70:
71: }
|