001    /**
002     * Copyright (c) 2000-2010 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.portlet.asset.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.BaseModel;
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 AssetEntry service. Represents a row in the "AssetEntry" 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.portlet.asset.model.impl.AssetEntryModelImpl} 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.portlet.asset.model.impl.AssetEntryImpl}.
033     * </p>
034     *
035     * <p>
036     * Never modify or reference this interface directly. All methods that expect a asset entry model instance should use the {@link AssetEntry} interface instead.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see AssetEntry
041     * @see com.liferay.portlet.asset.model.impl.AssetEntryImpl
042     * @see com.liferay.portlet.asset.model.impl.AssetEntryModelImpl
043     * @generated
044     */
045    public interface AssetEntryModel extends BaseModel<AssetEntry> {
046            /**
047             * Gets the primary key of this asset entry.
048             *
049             * @return the primary key of this asset entry
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this asset entry
055             *
056             * @param pk the primary key of this asset entry
057             */
058            public void setPrimaryKey(long pk);
059    
060            /**
061             * Gets the entry id of this asset entry.
062             *
063             * @return the entry id of this asset entry
064             */
065            public long getEntryId();
066    
067            /**
068             * Sets the entry id of this asset entry.
069             *
070             * @param entryId the entry id of this asset entry
071             */
072            public void setEntryId(long entryId);
073    
074            /**
075             * Gets the group id of this asset entry.
076             *
077             * @return the group id of this asset entry
078             */
079            public long getGroupId();
080    
081            /**
082             * Sets the group id of this asset entry.
083             *
084             * @param groupId the group id of this asset entry
085             */
086            public void setGroupId(long groupId);
087    
088            /**
089             * Gets the company id of this asset entry.
090             *
091             * @return the company id of this asset entry
092             */
093            public long getCompanyId();
094    
095            /**
096             * Sets the company id of this asset entry.
097             *
098             * @param companyId the company id of this asset entry
099             */
100            public void setCompanyId(long companyId);
101    
102            /**
103             * Gets the user id of this asset entry.
104             *
105             * @return the user id of this asset entry
106             */
107            public long getUserId();
108    
109            /**
110             * Sets the user id of this asset entry.
111             *
112             * @param userId the user id of this asset entry
113             */
114            public void setUserId(long userId);
115    
116            /**
117             * Gets the user uuid of this asset entry.
118             *
119             * @return the user uuid of this asset entry
120             * @throws SystemException if a system exception occurred
121             */
122            public String getUserUuid() throws SystemException;
123    
124            /**
125             * Sets the user uuid of this asset entry.
126             *
127             * @param userUuid the user uuid of this asset entry
128             */
129            public void setUserUuid(String userUuid);
130    
131            /**
132             * Gets the user name of this asset entry.
133             *
134             * @return the user name of this asset entry
135             */
136            @AutoEscape
137            public String getUserName();
138    
139            /**
140             * Sets the user name of this asset entry.
141             *
142             * @param userName the user name of this asset entry
143             */
144            public void setUserName(String userName);
145    
146            /**
147             * Gets the create date of this asset entry.
148             *
149             * @return the create date of this asset entry
150             */
151            public Date getCreateDate();
152    
153            /**
154             * Sets the create date of this asset entry.
155             *
156             * @param createDate the create date of this asset entry
157             */
158            public void setCreateDate(Date createDate);
159    
160            /**
161             * Gets the modified date of this asset entry.
162             *
163             * @return the modified date of this asset entry
164             */
165            public Date getModifiedDate();
166    
167            /**
168             * Sets the modified date of this asset entry.
169             *
170             * @param modifiedDate the modified date of this asset entry
171             */
172            public void setModifiedDate(Date modifiedDate);
173    
174            /**
175             * Gets the class name of the model instance this asset entry is polymorphically associated with.
176             *
177             * @return the class name of the model instance this asset entry is polymorphically associated with
178             */
179            public String getClassName();
180    
181            /**
182             * Gets the class name id of this asset entry.
183             *
184             * @return the class name id of this asset entry
185             */
186            public long getClassNameId();
187    
188            /**
189             * Sets the class name id of this asset entry.
190             *
191             * @param classNameId the class name id of this asset entry
192             */
193            public void setClassNameId(long classNameId);
194    
195            /**
196             * Gets the class p k of this asset entry.
197             *
198             * @return the class p k of this asset entry
199             */
200            public long getClassPK();
201    
202            /**
203             * Sets the class p k of this asset entry.
204             *
205             * @param classPK the class p k of this asset entry
206             */
207            public void setClassPK(long classPK);
208    
209            /**
210             * Gets the class uuid of this asset entry.
211             *
212             * @return the class uuid of this asset entry
213             */
214            @AutoEscape
215            public String getClassUuid();
216    
217            /**
218             * Sets the class uuid of this asset entry.
219             *
220             * @param classUuid the class uuid of this asset entry
221             */
222            public void setClassUuid(String classUuid);
223    
224            /**
225             * Gets the visible of this asset entry.
226             *
227             * @return the visible of this asset entry
228             */
229            public boolean getVisible();
230    
231            /**
232             * Determines whether this asset entry is visible.
233             *
234             * @return whether this asset entry is visible
235             */
236            public boolean isVisible();
237    
238            /**
239             * Sets whether this {$entity.humanName} is visible.
240             *
241             * @param visible the visible of this asset entry
242             */
243            public void setVisible(boolean visible);
244    
245            /**
246             * Gets the start date of this asset entry.
247             *
248             * @return the start date of this asset entry
249             */
250            public Date getStartDate();
251    
252            /**
253             * Sets the start date of this asset entry.
254             *
255             * @param startDate the start date of this asset entry
256             */
257            public void setStartDate(Date startDate);
258    
259            /**
260             * Gets the end date of this asset entry.
261             *
262             * @return the end date of this asset entry
263             */
264            public Date getEndDate();
265    
266            /**
267             * Sets the end date of this asset entry.
268             *
269             * @param endDate the end date of this asset entry
270             */
271            public void setEndDate(Date endDate);
272    
273            /**
274             * Gets the publish date of this asset entry.
275             *
276             * @return the publish date of this asset entry
277             */
278            public Date getPublishDate();
279    
280            /**
281             * Sets the publish date of this asset entry.
282             *
283             * @param publishDate the publish date of this asset entry
284             */
285            public void setPublishDate(Date publishDate);
286    
287            /**
288             * Gets the expiration date of this asset entry.
289             *
290             * @return the expiration date of this asset entry
291             */
292            public Date getExpirationDate();
293    
294            /**
295             * Sets the expiration date of this asset entry.
296             *
297             * @param expirationDate the expiration date of this asset entry
298             */
299            public void setExpirationDate(Date expirationDate);
300    
301            /**
302             * Gets the mime type of this asset entry.
303             *
304             * @return the mime type of this asset entry
305             */
306            @AutoEscape
307            public String getMimeType();
308    
309            /**
310             * Sets the mime type of this asset entry.
311             *
312             * @param mimeType the mime type of this asset entry
313             */
314            public void setMimeType(String mimeType);
315    
316            /**
317             * Gets the title of this asset entry.
318             *
319             * @return the title of this asset entry
320             */
321            @AutoEscape
322            public String getTitle();
323    
324            /**
325             * Sets the title of this asset entry.
326             *
327             * @param title the title of this asset entry
328             */
329            public void setTitle(String title);
330    
331            /**
332             * Gets the description of this asset entry.
333             *
334             * @return the description of this asset entry
335             */
336            @AutoEscape
337            public String getDescription();
338    
339            /**
340             * Sets the description of this asset entry.
341             *
342             * @param description the description of this asset entry
343             */
344            public void setDescription(String description);
345    
346            /**
347             * Gets the summary of this asset entry.
348             *
349             * @return the summary of this asset entry
350             */
351            @AutoEscape
352            public String getSummary();
353    
354            /**
355             * Sets the summary of this asset entry.
356             *
357             * @param summary the summary of this asset entry
358             */
359            public void setSummary(String summary);
360    
361            /**
362             * Gets the url of this asset entry.
363             *
364             * @return the url of this asset entry
365             */
366            @AutoEscape
367            public String getUrl();
368    
369            /**
370             * Sets the url of this asset entry.
371             *
372             * @param url the url of this asset entry
373             */
374            public void setUrl(String url);
375    
376            /**
377             * Gets the height of this asset entry.
378             *
379             * @return the height of this asset entry
380             */
381            public int getHeight();
382    
383            /**
384             * Sets the height of this asset entry.
385             *
386             * @param height the height of this asset entry
387             */
388            public void setHeight(int height);
389    
390            /**
391             * Gets the width of this asset entry.
392             *
393             * @return the width of this asset entry
394             */
395            public int getWidth();
396    
397            /**
398             * Sets the width of this asset entry.
399             *
400             * @param width the width of this asset entry
401             */
402            public void setWidth(int width);
403    
404            /**
405             * Gets the priority of this asset entry.
406             *
407             * @return the priority of this asset entry
408             */
409            public double getPriority();
410    
411            /**
412             * Sets the priority of this asset entry.
413             *
414             * @param priority the priority of this asset entry
415             */
416            public void setPriority(double priority);
417    
418            /**
419             * Gets the view count of this asset entry.
420             *
421             * @return the view count of this asset entry
422             */
423            public int getViewCount();
424    
425            /**
426             * Sets the view count of this asset entry.
427             *
428             * @param viewCount the view count of this asset entry
429             */
430            public void setViewCount(int viewCount);
431    
432            /**
433             * Gets a copy of this asset entry as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
434             *
435             * @return the escaped model instance
436             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
437             */
438            public AssetEntry toEscapedModel();
439    
440            public boolean isNew();
441    
442            public void setNew(boolean n);
443    
444            public boolean isCachedModel();
445    
446            public void setCachedModel(boolean cachedModel);
447    
448            public boolean isEscapedModel();
449    
450            public void setEscapedModel(boolean escapedModel);
451    
452            public Serializable getPrimaryKeyObj();
453    
454            public ExpandoBridge getExpandoBridge();
455    
456            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
457    
458            public Object clone();
459    
460            public int compareTo(AssetEntry assetEntry);
461    
462            public int hashCode();
463    
464            public String toString();
465    
466            public String toXmlString();
467    }