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     * <p>
030     * This interface is a model that represents the AssetEntry table in the
031     * database.
032     * </p>
033     *
034     * @author    Brian Wing Shun Chan
035     * @see       AssetEntry
036     * @see       com.liferay.portlet.asset.model.impl.AssetEntryImpl
037     * @see       com.liferay.portlet.asset.model.impl.AssetEntryModelImpl
038     * @generated
039     */
040    public interface AssetEntryModel extends BaseModel<AssetEntry> {
041            public long getPrimaryKey();
042    
043            public void setPrimaryKey(long pk);
044    
045            public long getEntryId();
046    
047            public void setEntryId(long entryId);
048    
049            public long getGroupId();
050    
051            public void setGroupId(long groupId);
052    
053            public long getCompanyId();
054    
055            public void setCompanyId(long companyId);
056    
057            public long getUserId();
058    
059            public void setUserId(long userId);
060    
061            public String getUserUuid() throws SystemException;
062    
063            public void setUserUuid(String userUuid);
064    
065            @AutoEscape
066            public String getUserName();
067    
068            public void setUserName(String userName);
069    
070            public Date getCreateDate();
071    
072            public void setCreateDate(Date createDate);
073    
074            public Date getModifiedDate();
075    
076            public void setModifiedDate(Date modifiedDate);
077    
078            public String getClassName();
079    
080            public long getClassNameId();
081    
082            public void setClassNameId(long classNameId);
083    
084            public long getClassPK();
085    
086            public void setClassPK(long classPK);
087    
088            @AutoEscape
089            public String getClassUuid();
090    
091            public void setClassUuid(String classUuid);
092    
093            public boolean getVisible();
094    
095            public boolean isVisible();
096    
097            public void setVisible(boolean visible);
098    
099            public Date getStartDate();
100    
101            public void setStartDate(Date startDate);
102    
103            public Date getEndDate();
104    
105            public void setEndDate(Date endDate);
106    
107            public Date getPublishDate();
108    
109            public void setPublishDate(Date publishDate);
110    
111            public Date getExpirationDate();
112    
113            public void setExpirationDate(Date expirationDate);
114    
115            @AutoEscape
116            public String getMimeType();
117    
118            public void setMimeType(String mimeType);
119    
120            @AutoEscape
121            public String getTitle();
122    
123            public void setTitle(String title);
124    
125            @AutoEscape
126            public String getDescription();
127    
128            public void setDescription(String description);
129    
130            @AutoEscape
131            public String getSummary();
132    
133            public void setSummary(String summary);
134    
135            @AutoEscape
136            public String getUrl();
137    
138            public void setUrl(String url);
139    
140            public int getHeight();
141    
142            public void setHeight(int height);
143    
144            public int getWidth();
145    
146            public void setWidth(int width);
147    
148            public double getPriority();
149    
150            public void setPriority(double priority);
151    
152            public int getViewCount();
153    
154            public void setViewCount(int viewCount);
155    
156            public AssetEntry toEscapedModel();
157    
158            public boolean isNew();
159    
160            public void setNew(boolean n);
161    
162            public boolean isCachedModel();
163    
164            public void setCachedModel(boolean cachedModel);
165    
166            public boolean isEscapedModel();
167    
168            public void setEscapedModel(boolean escapedModel);
169    
170            public Serializable getPrimaryKeyObj();
171    
172            public ExpandoBridge getExpandoBridge();
173    
174            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
175    
176            public Object clone();
177    
178            public int compareTo(AssetEntry assetEntry);
179    
180            public int hashCode();
181    
182            public String toString();
183    
184            public String toXmlString();
185    }