2 * Copyright (C) 2007-2012 Argeo GmbH
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
16 package org
.argeo
.jcr
;
18 import javax
.jcr
.Repository
;
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";
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";
34 * Reserved alias for the "node" {@link Repository}, that is, the default
37 public final static String ALIAS_NODE
= "node";
38 public final static String ALIAS_HOME
= "home";
39 public final static String BASE_REPO_PID
= "argeo.repo.";
40 public final static String REPO_PID_NODE
= BASE_REPO_PID
+ ALIAS_NODE
;
41 public final static String JACKRABBIT_REPO_FACTORY_PID
= "argeo.repo.factory.jackrabbit";