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