001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.service.ServiceContext;
019    
020    import com.liferay.portlet.expando.model.ExpandoBridge;
021    
022    import java.io.Serializable;
023    
024    /**
025     * <p>
026     * This interface is a model that represents the Layout table in the
027     * database.
028     * </p>
029     *
030     * @author    Brian Wing Shun Chan
031     * @see       Layout
032     * @see       com.liferay.portal.model.impl.LayoutImpl
033     * @see       com.liferay.portal.model.impl.LayoutModelImpl
034     * @generated
035     */
036    public interface LayoutModel extends BaseModel<Layout> {
037            public long getPrimaryKey();
038    
039            public void setPrimaryKey(long pk);
040    
041            @AutoEscape
042            public String getUuid();
043    
044            public void setUuid(String uuid);
045    
046            public long getPlid();
047    
048            public void setPlid(long plid);
049    
050            public long getGroupId();
051    
052            public void setGroupId(long groupId);
053    
054            public long getCompanyId();
055    
056            public void setCompanyId(long companyId);
057    
058            public boolean getPrivateLayout();
059    
060            public boolean isPrivateLayout();
061    
062            public void setPrivateLayout(boolean privateLayout);
063    
064            public long getLayoutId();
065    
066            public void setLayoutId(long layoutId);
067    
068            public long getParentLayoutId();
069    
070            public void setParentLayoutId(long parentLayoutId);
071    
072            @AutoEscape
073            public String getName();
074    
075            public void setName(String name);
076    
077            @AutoEscape
078            public String getTitle();
079    
080            public void setTitle(String title);
081    
082            @AutoEscape
083            public String getDescription();
084    
085            public void setDescription(String description);
086    
087            @AutoEscape
088            public String getType();
089    
090            public void setType(String type);
091    
092            @AutoEscape
093            public String getTypeSettings();
094    
095            public void setTypeSettings(String typeSettings);
096    
097            public boolean getHidden();
098    
099            public boolean isHidden();
100    
101            public void setHidden(boolean hidden);
102    
103            @AutoEscape
104            public String getFriendlyURL();
105    
106            public void setFriendlyURL(String friendlyURL);
107    
108            public boolean getIconImage();
109    
110            public boolean isIconImage();
111    
112            public void setIconImage(boolean iconImage);
113    
114            public long getIconImageId();
115    
116            public void setIconImageId(long iconImageId);
117    
118            @AutoEscape
119            public String getThemeId();
120    
121            public void setThemeId(String themeId);
122    
123            @AutoEscape
124            public String getColorSchemeId();
125    
126            public void setColorSchemeId(String colorSchemeId);
127    
128            @AutoEscape
129            public String getWapThemeId();
130    
131            public void setWapThemeId(String wapThemeId);
132    
133            @AutoEscape
134            public String getWapColorSchemeId();
135    
136            public void setWapColorSchemeId(String wapColorSchemeId);
137    
138            @AutoEscape
139            public String getCss();
140    
141            public void setCss(String css);
142    
143            public int getPriority();
144    
145            public void setPriority(int priority);
146    
147            public long getLayoutPrototypeId();
148    
149            public void setLayoutPrototypeId(long layoutPrototypeId);
150    
151            public long getDlFolderId();
152    
153            public void setDlFolderId(long dlFolderId);
154    
155            public Layout toEscapedModel();
156    
157            public boolean isNew();
158    
159            public void setNew(boolean n);
160    
161            public boolean isCachedModel();
162    
163            public void setCachedModel(boolean cachedModel);
164    
165            public boolean isEscapedModel();
166    
167            public void setEscapedModel(boolean escapedModel);
168    
169            public Serializable getPrimaryKeyObj();
170    
171            public ExpandoBridge getExpandoBridge();
172    
173            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
174    
175            public Object clone();
176    
177            public int compareTo(Layout layout);
178    
179            public int hashCode();
180    
181            public String toString();
182    
183            public String toXmlString();
184    }