]> git.argeo.org Git - gpl/argeo-slc.git/blob - plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/DistConstants.java
Clean session management.
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / src / main / java / org / argeo / slc / client / ui / dist / DistConstants.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.slc.client.ui.dist;
17
18 import org.argeo.slc.jcr.SlcNames;
19 import org.osgi.framework.Constants;
20
21 /** Constants used across the application. */
22 public interface DistConstants {
23
24 /*
25 * MISCEALLENEOUS
26 */
27 public final static String DATE_TIME_FORMAT = "MM/dd/yyyy, HH:mm";
28 public final static String DATE_FORMAT = "MM/dd/yyyy";
29 // this should be directly retrieved from JCR APIs once we have solved the
30 // problem of the translation of name space to shortcut, typically
31 // {http://www.jcp.org/jcr/1.0} to jcr:
32 public final static String JCR_IDENTIFIER = "jcr:uuid";
33 public final static String JCR_MIXIN_TYPES = "jcr:mixinTypes";
34
35 // FIXME: should be defined in SlcNames
36 public final static String SLC_BUNDLE_NAME = SlcNames.SLC_
37 + Constants.BUNDLE_NAME;
38 public final static String SLC_BUNDLE_LICENCE = SlcNames.SLC_
39 + "Bundle-License";
40 public final static String SLC_BUNDLE_VENDOR = SlcNames.SLC_
41 + Constants.BUNDLE_VENDOR;
42
43 public final String DEFAULT_PUBLIC_REPOSITORY_URI = "vm:///java";
44
45 }