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