001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.upgrade.v4_3_0.util;
016    
017    import java.sql.Types;
018    
019    /**
020     * @author        Brian Wing Shun Chan
021     * @generated
022     */
023    public class LayoutTable {
024    
025            public static String TABLE_NAME = "Layout";
026    
027            public static Object[][] TABLE_COLUMNS = {
028                    {"plid", new Integer(Types.BIGINT)},
029                    {"groupId", new Integer(Types.BIGINT)},
030                    {"companyId", new Integer(Types.BIGINT)},
031                    {"privateLayout", new Integer(Types.BOOLEAN)},
032                    {"layoutId", new Integer(Types.BIGINT)},
033                    {"parentLayoutId", new Integer(Types.BIGINT)},
034                    {"name", new Integer(Types.VARCHAR)},
035                    {"title", new Integer(Types.VARCHAR)},
036                    {"type_", new Integer(Types.VARCHAR)},
037                    {"typeSettings", new Integer(Types.CLOB)},
038                    {"hidden_", new Integer(Types.BOOLEAN)},
039                    {"friendlyURL", new Integer(Types.VARCHAR)},
040                    {"iconImage", new Integer(Types.BOOLEAN)},
041                    {"iconImageId", new Integer(Types.BIGINT)},
042                    {"themeId", new Integer(Types.VARCHAR)},
043                    {"colorSchemeId", new Integer(Types.VARCHAR)},
044                    {"wapThemeId", new Integer(Types.VARCHAR)},
045                    {"wapColorSchemeId", new Integer(Types.VARCHAR)},
046                    {"css", new Integer(Types.VARCHAR)},
047                    {"priority", new Integer(Types.INTEGER)}
048            };
049    
050            public static String TABLE_SQL_CREATE = "create table Layout (plid LONG not null primary key,groupId LONG,companyId LONG,privateLayout BOOLEAN,layoutId LONG,parentLayoutId LONG,name STRING null,title STRING null,type_ VARCHAR(75) null,typeSettings TEXT null,hidden_ BOOLEAN,friendlyURL VARCHAR(100) null,iconImage BOOLEAN,iconImageId LONG,themeId VARCHAR(75) null,colorSchemeId VARCHAR(75) null,wapThemeId VARCHAR(75) null,wapColorSchemeId VARCHAR(75) null,css STRING null,priority INTEGER)";
051    
052            public static String TABLE_SQL_DROP = "drop table Layout";
053    
054    }