]> git.argeo.org Git - lgpl/argeo-commons.git/blob - node/NodeConstants.java
Prepare next development cycle
[lgpl/argeo-commons.git] / node / NodeConstants.java
1 package org.argeo.node;
2
3 import javax.jcr.Repository;
4
5 public interface NodeConstants {
6 /*
7 * PIDs
8 */
9 String NODE_STATE_PID = "org.argeo.node.state";
10 String NODE_DEPLOYMENT_PID = "org.argeo.node.deployment";
11 String NODE_INSTANCE_PID = "org.argeo.node.instance";
12
13 // String NODE_REPO_PID = "org.argeo.node.repo";
14 String NODE_USER_ADMIN_PID = "org.argeo.node.userAdmin";
15
16 /*
17 * FACTORY PIDs
18 */
19 String NODE_REPOS_FACTORY_PID = "org.argeo.node.repos";
20 String NODE_USER_DIRECTORIES_FACTORY_PID = "org.argeo.node.userDirectories";
21
22 /*
23 * DEPLOY
24 */
25 String DEPLOY_BASEDN = "ou=deploy,ou=node";
26
27 /*
28 * FRAMEWORK PROPERTIES
29 */
30 String NODE_INIT = "argeo.node.init";
31 String I18N_DEFAULT_LOCALE = "argeo.i18n.defaultLocale";
32 String I18N_LOCALES = "argeo.i18n.locales";
33 // Node Security
34 String ROLES_URI = "argeo.node.roles.uri";
35 /** URI to an LDIF file or LDAP server used as initialization or backend */
36 String USERADMIN_URIS = "argeo.node.useradmin.uris";
37 // Node
38 /** Properties configuring the node repository */
39 String NODE_REPO_PROP_PREFIX = "argeo.node.repo.";
40
41 /*
42 * STANDARD ATTRIBUTES
43 */
44 String CN = "cn";
45 String OU = "ou";
46 String LABELED_URI = "labeledUri";
47
48 /*
49 * STANDARD VALUES
50 */
51 String DEFAULT = "default";
52 /*
53 * LEGACY
54 */
55 String ARGEO_BASE_PATH = "/argeo:system";
56 String PEOPLE_BASE_PATH = NodeConstants.ARGEO_BASE_PATH + "/argeo:people";
57 String DATA_MODELS_BASE_PATH = NodeConstants.ARGEO_BASE_PATH
58 + "/argeo:dataModels";
59 String ALIAS_HOME = "home";
60 // standard aliases
61 /**
62 * Reserved alias for the "node" {@link Repository}, that is, the default
63 * JCR repository.
64 */
65 String ALIAS_NODE = "node";
66 /** Key for a JCR repository URI */
67 String JCR_REPOSITORY_URI = "argeo.jcr.repository.uri";
68 // parameters (typically for call to a RepositoryFactory)
69 /** Key for a JCR repository alias */
70 String JCR_REPOSITORY_ALIAS = "argeo.jcr.repository.alias";
71 }