001/*
002 * (C) Copyright 2016 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 *
016 * Contributors:
017 *     Thomas Roger
018 *
019 */
020
021package org.nuxeo.functionaltests;
022
023/**
024 * @since 8.3
025 */
026public class Constants {
027
028    private Constants() {
029        // Constants class
030    }
031
032    public static final String ADMINISTRATOR = "Administrator";
033
034    public static final String NXPATH_URL_FORMAT = "/nxpath/default%s@view_documents";
035
036    public static final String NXDOC_URL_FORMAT = "/nxdoc/default/%s/view_documents";
037
038    public static final String DOMAIN_TITLE = "Domain";
039
040    public static final String SECTIONS_PATH = "/default-domain/sections/";
041
042    public static final String SECTIONS_TITLE = "Sections";
043
044    public static final String TEMPLATES_PATH = "/default-domain/templates/";
045
046    public static final String TEMPLATES_TITLE = "Templates";
047
048    public static final String WORKSPACES_PATH = "/default-domain/workspaces/";
049
050    public static final String WORKSPACES_TITLE = "Workspaces";
051
052    public static final String WORKSPACES_URL = String.format(NXPATH_URL_FORMAT, WORKSPACES_PATH);
053
054    public static final String WORKSPACE_TYPE = "Workspace";
055
056    public static final String FILE_TYPE = "File";
057
058    public static final String NOTE_TYPE = "Note";
059
060    public static final String SECTION_TYPE = "Section";
061
062    public static final String FOLDER_TYPE = "Folder";
063
064    public static final String FORUM_TYPE = "Forum";
065
066    public static final String TOPIC_TYPE = "Thread";
067
068}