Constants.java

/*
 * Copyright (c) 2002-2019, Mairie de Paris
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 *  1. Redistributions of source code must retain the above copyright notice
 *     and the following disclaimer.
 *
 *  2. Redistributions in binary form must reproduce the above copyright notice
 *     and the following disclaimer in the documentation and/or other materials
 *     provided with the distribution.
 *
 *  3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
 *     contributors may be used to endorse or promote products derived from
 *     this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 *
 * License 1.0
 */
package fr.paris.lutece.plugins.appcenter.web;

/**
 * Constants
 */
public class Constants
{
    // JSP
    public static final String JSP_PAGE_PORTAL = "jsp/site/Portal.jsp";

    // Parameters
    public static final String PARAM_ID_APPLICATION = "id";
    public static final String PARAM_ACTION = "action";
    public static final String PARAM_PAGE = "page";
    public static final String PARAM_USER_ROLE = "id_role";
    public static final String PARAM_USER_EMAIL = "user_email";

    // Markers
    public static final String MARK_APPLICATION_LIST = "application_list";
    public static final String MARK_APPLICATION = "application";
    public static final String MARK_DEMAND = "demand";
    public static final String MARK_DATA = "data";
    public static final String MARK_DATAS = "datas";
    public static final String MARK_DEMANDS = "demands";
    public static final String MARK_DEMANDS_STATES = "demands_states";
    public static final String MARK_DEMANDS_HISTORIES = "demands_histories";
    public static final String MARK_ENVIRONMENT = "environment";
    public static final String MARK_HISTORY_LIST = "listHistory";
    public static final String MARK_ROLES_LIST = "roles_list";
    public static final String MARK_IS_ROLE = "is_role_for_";
    public static final String MARK_DEFAULT_ROLE = "default_role";
    public static final String MARK_USERS_LIST = "users_list";
    public static final String MARK_USER = "user";
    public static final String MARK_REPO_LIST = "repo_list";
    public static final String MARK_LIST_CATEGORY_ACTIONS = "list_category_actions";

    // Property
    public static final String PROPERTY_MAPPING_XPAGE_ROLE = "appcenter.mapping_xpage_role.";

    // XPage
    public static final String XPAGE_APPLICATION = "application";
}