com.liferay.portal.kernel.model.LayoutConstants.java Source code

Java tutorial

Introduction

Here is the source code for com.liferay.portal.kernel.model.LayoutConstants.java

Source

/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portal.kernel.model;

/**
 * @author Brian Wing Shun Chan
 */
public class LayoutConstants {

    public static final String CUSTOMIZABLE_LAYOUT = "CUSTOMIZABLE_LAYOUT";

    public static final long DEFAULT_PARENT_LAYOUT_ID = 0;

    public static final long DEFAULT_PLID = 0;

    public static final int FIRST_PRIORITY = 0;

    public static final int FRIENDLY_URL_MAX_LENGTH = 255;

    public static final String NAME_CONTROL_PANEL_DEFAULT = "Control Panel";

    public static final String TYPE_ASSET_DISPLAY = "asset_display";

    public static final String TYPE_CONTENT = "content";

    public static final String TYPE_CONTROL_PANEL = "control_panel";

    public static final String TYPE_EMBEDDED = "embedded";

    public static final String TYPE_FULL_PAGE_APPLICATION = "full_page_application";

    public static final String TYPE_LINK_TO_LAYOUT = "link_to_layout";

    public static final String TYPE_PANEL = "panel";

    public static final String TYPE_PORTLET = "portlet";

    public static final String TYPE_URL = "url";

}