]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.server.jcr/src/org/argeo/jcr/ArgeoJcrConstants.java
Remove DocBook from defaults CNDs
[lgpl/argeo-commons.git] / org.argeo.server.jcr / src / org / argeo / jcr / ArgeoJcrConstants.java
1 /*
2 * Copyright (C) 2007-2012 Argeo GmbH
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.argeo.jcr;
17
18 import javax.jcr.Repository;
19
20 /** Argeo model specific constants */
21 public interface ArgeoJcrConstants {
22 public final static String ARGEO_BASE_PATH = "/argeo:system";
23 public final static String DATA_MODELS_BASE_PATH = ARGEO_BASE_PATH + "/argeo:dataModels";
24 public final static String PEOPLE_BASE_PATH = ARGEO_BASE_PATH + "/argeo:people";
25
26 // parameters (typically for call to a RepositoryFactory)
27 /** Key for a JCR repository alias */
28 public final static String JCR_REPOSITORY_ALIAS = "argeo.jcr.repository.alias";
29 /** Key for a JCR repository URI */
30 public final static String JCR_REPOSITORY_URI = "argeo.jcr.repository.uri";
31
32 // standard aliases
33 /**
34 * Reserved alias for the "node" {@link Repository}, that is, the default
35 * JCR repository.
36 */
37 public final static String ALIAS_NODE = "node";
38 public final static String BASE_REPO_PID = "argeo.repo.";
39 public final static String REPO_PID_NODE = BASE_REPO_PID + ALIAS_NODE;
40
41 }