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