001    /**
002     * Copyright (c) 2000-2013 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.bean.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    import java.util.Date;
025    
026    /**
027     * The base model interface for the LayoutSet service. Represents a row in the "LayoutSet" database table, with each column mapped to a property of this class.
028     *
029     * <p>
030     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.LayoutSetModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.LayoutSetImpl}.
031     * </p>
032     *
033     * @author Brian Wing Shun Chan
034     * @see LayoutSet
035     * @see com.liferay.portal.model.impl.LayoutSetImpl
036     * @see com.liferay.portal.model.impl.LayoutSetModelImpl
037     * @generated
038     */
039    public interface LayoutSetModel extends BaseModel<LayoutSet> {
040            /*
041             * NOTE FOR DEVELOPERS:
042             *
043             * Never modify or reference this interface directly. All methods that expect a layout set model instance should use the {@link LayoutSet} interface instead.
044             */
045    
046            /**
047             * Returns the primary key of this layout set.
048             *
049             * @return the primary key of this layout set
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this layout set.
055             *
056             * @param primaryKey the primary key of this layout set
057             */
058            public void setPrimaryKey(long primaryKey);
059    
060            /**
061             * Returns the layout set ID of this layout set.
062             *
063             * @return the layout set ID of this layout set
064             */
065            public long getLayoutSetId();
066    
067            /**
068             * Sets the layout set ID of this layout set.
069             *
070             * @param layoutSetId the layout set ID of this layout set
071             */
072            public void setLayoutSetId(long layoutSetId);
073    
074            /**
075             * Returns the group ID of this layout set.
076             *
077             * @return the group ID of this layout set
078             */
079            public long getGroupId();
080    
081            /**
082             * Sets the group ID of this layout set.
083             *
084             * @param groupId the group ID of this layout set
085             */
086            public void setGroupId(long groupId);
087    
088            /**
089             * Returns the company ID of this layout set.
090             *
091             * @return the company ID of this layout set
092             */
093            public long getCompanyId();
094    
095            /**
096             * Sets the company ID of this layout set.
097             *
098             * @param companyId the company ID of this layout set
099             */
100            public void setCompanyId(long companyId);
101    
102            /**
103             * Returns the create date of this layout set.
104             *
105             * @return the create date of this layout set
106             */
107            public Date getCreateDate();
108    
109            /**
110             * Sets the create date of this layout set.
111             *
112             * @param createDate the create date of this layout set
113             */
114            public void setCreateDate(Date createDate);
115    
116            /**
117             * Returns the modified date of this layout set.
118             *
119             * @return the modified date of this layout set
120             */
121            public Date getModifiedDate();
122    
123            /**
124             * Sets the modified date of this layout set.
125             *
126             * @param modifiedDate the modified date of this layout set
127             */
128            public void setModifiedDate(Date modifiedDate);
129    
130            /**
131             * Returns the private layout of this layout set.
132             *
133             * @return the private layout of this layout set
134             */
135            public boolean getPrivateLayout();
136    
137            /**
138             * Returns <code>true</code> if this layout set is private layout.
139             *
140             * @return <code>true</code> if this layout set is private layout; <code>false</code> otherwise
141             */
142            public boolean isPrivateLayout();
143    
144            /**
145             * Sets whether this layout set is private layout.
146             *
147             * @param privateLayout the private layout of this layout set
148             */
149            public void setPrivateLayout(boolean privateLayout);
150    
151            /**
152             * Returns the logo of this layout set.
153             *
154             * @return the logo of this layout set
155             */
156            public boolean getLogo();
157    
158            /**
159             * Returns <code>true</code> if this layout set is logo.
160             *
161             * @return <code>true</code> if this layout set is logo; <code>false</code> otherwise
162             */
163            public boolean isLogo();
164    
165            /**
166             * Sets whether this layout set is logo.
167             *
168             * @param logo the logo of this layout set
169             */
170            public void setLogo(boolean logo);
171    
172            /**
173             * Returns the logo ID of this layout set.
174             *
175             * @return the logo ID of this layout set
176             */
177            public long getLogoId();
178    
179            /**
180             * Sets the logo ID of this layout set.
181             *
182             * @param logoId the logo ID of this layout set
183             */
184            public void setLogoId(long logoId);
185    
186            /**
187             * Returns the theme ID of this layout set.
188             *
189             * @return the theme ID of this layout set
190             */
191            @AutoEscape
192            public String getThemeId();
193    
194            /**
195             * Sets the theme ID of this layout set.
196             *
197             * @param themeId the theme ID of this layout set
198             */
199            public void setThemeId(String themeId);
200    
201            /**
202             * Returns the color scheme ID of this layout set.
203             *
204             * @return the color scheme ID of this layout set
205             */
206            @AutoEscape
207            public String getColorSchemeId();
208    
209            /**
210             * Sets the color scheme ID of this layout set.
211             *
212             * @param colorSchemeId the color scheme ID of this layout set
213             */
214            public void setColorSchemeId(String colorSchemeId);
215    
216            /**
217             * Returns the wap theme ID of this layout set.
218             *
219             * @return the wap theme ID of this layout set
220             */
221            @AutoEscape
222            public String getWapThemeId();
223    
224            /**
225             * Sets the wap theme ID of this layout set.
226             *
227             * @param wapThemeId the wap theme ID of this layout set
228             */
229            public void setWapThemeId(String wapThemeId);
230    
231            /**
232             * Returns the wap color scheme ID of this layout set.
233             *
234             * @return the wap color scheme ID of this layout set
235             */
236            @AutoEscape
237            public String getWapColorSchemeId();
238    
239            /**
240             * Sets the wap color scheme ID of this layout set.
241             *
242             * @param wapColorSchemeId the wap color scheme ID of this layout set
243             */
244            public void setWapColorSchemeId(String wapColorSchemeId);
245    
246            /**
247             * Returns the css of this layout set.
248             *
249             * @return the css of this layout set
250             */
251            @AutoEscape
252            public String getCss();
253    
254            /**
255             * Sets the css of this layout set.
256             *
257             * @param css the css of this layout set
258             */
259            public void setCss(String css);
260    
261            /**
262             * Returns the page count of this layout set.
263             *
264             * @return the page count of this layout set
265             */
266            public int getPageCount();
267    
268            /**
269             * Sets the page count of this layout set.
270             *
271             * @param pageCount the page count of this layout set
272             */
273            public void setPageCount(int pageCount);
274    
275            /**
276             * Returns the settings of this layout set.
277             *
278             * @return the settings of this layout set
279             */
280            @AutoEscape
281            public String getSettings();
282    
283            /**
284             * Sets the settings of this layout set.
285             *
286             * @param settings the settings of this layout set
287             */
288            public void setSettings(String settings);
289    
290            /**
291             * Returns the layout set prototype uuid of this layout set.
292             *
293             * @return the layout set prototype uuid of this layout set
294             */
295            @AutoEscape
296            public String getLayoutSetPrototypeUuid();
297    
298            /**
299             * Sets the layout set prototype uuid of this layout set.
300             *
301             * @param layoutSetPrototypeUuid the layout set prototype uuid of this layout set
302             */
303            public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid);
304    
305            /**
306             * Returns the layout set prototype link enabled of this layout set.
307             *
308             * @return the layout set prototype link enabled of this layout set
309             */
310            public boolean getLayoutSetPrototypeLinkEnabled();
311    
312            /**
313             * Returns <code>true</code> if this layout set is layout set prototype link enabled.
314             *
315             * @return <code>true</code> if this layout set is layout set prototype link enabled; <code>false</code> otherwise
316             */
317            public boolean isLayoutSetPrototypeLinkEnabled();
318    
319            /**
320             * Sets whether this layout set is layout set prototype link enabled.
321             *
322             * @param layoutSetPrototypeLinkEnabled the layout set prototype link enabled of this layout set
323             */
324            public void setLayoutSetPrototypeLinkEnabled(
325                    boolean layoutSetPrototypeLinkEnabled);
326    
327            public boolean isNew();
328    
329            public void setNew(boolean n);
330    
331            public boolean isCachedModel();
332    
333            public void setCachedModel(boolean cachedModel);
334    
335            public boolean isEscapedModel();
336    
337            public Serializable getPrimaryKeyObj();
338    
339            public void setPrimaryKeyObj(Serializable primaryKeyObj);
340    
341            public ExpandoBridge getExpandoBridge();
342    
343            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
344    
345            public Object clone();
346    
347            public int compareTo(LayoutSet layoutSet);
348    
349            public int hashCode();
350    
351            public CacheModel<LayoutSet> toCacheModel();
352    
353            public LayoutSet toEscapedModel();
354    
355            public LayoutSet toUnescapedModel();
356    
357            public String toString();
358    
359            public String toXmlString();
360    }