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
.slc
.client
.ui
.dist
;
18 import org
.argeo
.slc
.jcr
.SlcNames
;
19 import org
.osgi
.framework
.Constants
;
21 /** Constants used across the application. */
22 public interface DistConstants
{
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";
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_
40 public final static String SLC_BUNDLE_VENDOR
= SlcNames
.SLC_
41 + Constants
.BUNDLE_VENDOR
;
43 public final static String SLC_BUNDLE_DESCRIPTION
= SlcNames
.SLC_
44 + Constants
.BUNDLE_DESCRIPTION
;
46 public final String DEFAULT_PUBLIC_REPOSITORY_URI
= "vm:///java";