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