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.portlet.ratings.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.model.AttachedModel;
021    import com.liferay.portal.model.BaseModel;
022    import com.liferay.portal.model.CacheModel;
023    import com.liferay.portal.model.StagedAuditedModel;
024    import com.liferay.portal.service.ServiceContext;
025    
026    import com.liferay.portlet.expando.model.ExpandoBridge;
027    
028    import java.io.Serializable;
029    
030    import java.util.Date;
031    
032    /**
033     * The base model interface for the RatingsEntry service. Represents a row in the "RatingsEntry" database table, with each column mapped to a property of this class.
034     *
035     * <p>
036     * This interface and its corresponding implementation {@link com.liferay.portlet.ratings.model.impl.RatingsEntryModelImpl} 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.ratings.model.impl.RatingsEntryImpl}.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see RatingsEntry
041     * @see com.liferay.portlet.ratings.model.impl.RatingsEntryImpl
042     * @see com.liferay.portlet.ratings.model.impl.RatingsEntryModelImpl
043     * @generated
044     */
045    @ProviderType
046    public interface RatingsEntryModel extends AttachedModel, BaseModel<RatingsEntry>,
047            StagedAuditedModel {
048            /*
049             * NOTE FOR DEVELOPERS:
050             *
051             * Never modify or reference this interface directly. All methods that expect a ratings entry model instance should use the {@link RatingsEntry} interface instead.
052             */
053    
054            /**
055             * Returns the primary key of this ratings entry.
056             *
057             * @return the primary key of this ratings entry
058             */
059            public long getPrimaryKey();
060    
061            /**
062             * Sets the primary key of this ratings entry.
063             *
064             * @param primaryKey the primary key of this ratings entry
065             */
066            public void setPrimaryKey(long primaryKey);
067    
068            /**
069             * Returns the uuid of this ratings entry.
070             *
071             * @return the uuid of this ratings entry
072             */
073            @AutoEscape
074            @Override
075            public String getUuid();
076    
077            /**
078             * Sets the uuid of this ratings entry.
079             *
080             * @param uuid the uuid of this ratings entry
081             */
082            @Override
083            public void setUuid(String uuid);
084    
085            /**
086             * Returns the entry ID of this ratings entry.
087             *
088             * @return the entry ID of this ratings entry
089             */
090            public long getEntryId();
091    
092            /**
093             * Sets the entry ID of this ratings entry.
094             *
095             * @param entryId the entry ID of this ratings entry
096             */
097            public void setEntryId(long entryId);
098    
099            /**
100             * Returns the company ID of this ratings entry.
101             *
102             * @return the company ID of this ratings entry
103             */
104            @Override
105            public long getCompanyId();
106    
107            /**
108             * Sets the company ID of this ratings entry.
109             *
110             * @param companyId the company ID of this ratings entry
111             */
112            @Override
113            public void setCompanyId(long companyId);
114    
115            /**
116             * Returns the user ID of this ratings entry.
117             *
118             * @return the user ID of this ratings entry
119             */
120            @Override
121            public long getUserId();
122    
123            /**
124             * Sets the user ID of this ratings entry.
125             *
126             * @param userId the user ID of this ratings entry
127             */
128            @Override
129            public void setUserId(long userId);
130    
131            /**
132             * Returns the user uuid of this ratings entry.
133             *
134             * @return the user uuid of this ratings entry
135             */
136            @Override
137            public String getUserUuid();
138    
139            /**
140             * Sets the user uuid of this ratings entry.
141             *
142             * @param userUuid the user uuid of this ratings entry
143             */
144            @Override
145            public void setUserUuid(String userUuid);
146    
147            /**
148             * Returns the user name of this ratings entry.
149             *
150             * @return the user name of this ratings entry
151             */
152            @AutoEscape
153            @Override
154            public String getUserName();
155    
156            /**
157             * Sets the user name of this ratings entry.
158             *
159             * @param userName the user name of this ratings entry
160             */
161            @Override
162            public void setUserName(String userName);
163    
164            /**
165             * Returns the create date of this ratings entry.
166             *
167             * @return the create date of this ratings entry
168             */
169            @Override
170            public Date getCreateDate();
171    
172            /**
173             * Sets the create date of this ratings entry.
174             *
175             * @param createDate the create date of this ratings entry
176             */
177            @Override
178            public void setCreateDate(Date createDate);
179    
180            /**
181             * Returns the modified date of this ratings entry.
182             *
183             * @return the modified date of this ratings entry
184             */
185            @Override
186            public Date getModifiedDate();
187    
188            /**
189             * Sets the modified date of this ratings entry.
190             *
191             * @param modifiedDate the modified date of this ratings entry
192             */
193            @Override
194            public void setModifiedDate(Date modifiedDate);
195    
196            /**
197             * Returns the fully qualified class name of this ratings entry.
198             *
199             * @return the fully qualified class name of this ratings entry
200             */
201            @Override
202            public String getClassName();
203    
204            public void setClassName(String className);
205    
206            /**
207             * Returns the class name ID of this ratings entry.
208             *
209             * @return the class name ID of this ratings entry
210             */
211            @Override
212            public long getClassNameId();
213    
214            /**
215             * Sets the class name ID of this ratings entry.
216             *
217             * @param classNameId the class name ID of this ratings entry
218             */
219            @Override
220            public void setClassNameId(long classNameId);
221    
222            /**
223             * Returns the class p k of this ratings entry.
224             *
225             * @return the class p k of this ratings entry
226             */
227            @Override
228            public long getClassPK();
229    
230            /**
231             * Sets the class p k of this ratings entry.
232             *
233             * @param classPK the class p k of this ratings entry
234             */
235            @Override
236            public void setClassPK(long classPK);
237    
238            /**
239             * Returns the score of this ratings entry.
240             *
241             * @return the score of this ratings entry
242             */
243            public double getScore();
244    
245            /**
246             * Sets the score of this ratings entry.
247             *
248             * @param score the score of this ratings entry
249             */
250            public void setScore(double score);
251    
252            @Override
253            public boolean isNew();
254    
255            @Override
256            public void setNew(boolean n);
257    
258            @Override
259            public boolean isCachedModel();
260    
261            @Override
262            public void setCachedModel(boolean cachedModel);
263    
264            @Override
265            public boolean isEscapedModel();
266    
267            @Override
268            public Serializable getPrimaryKeyObj();
269    
270            @Override
271            public void setPrimaryKeyObj(Serializable primaryKeyObj);
272    
273            @Override
274            public ExpandoBridge getExpandoBridge();
275    
276            @Override
277            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
278    
279            @Override
280            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
281    
282            @Override
283            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
284    
285            @Override
286            public Object clone();
287    
288            @Override
289            public int compareTo(
290                    com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry);
291    
292            @Override
293            public int hashCode();
294    
295            @Override
296            public CacheModel<com.liferay.portlet.ratings.model.RatingsEntry> toCacheModel();
297    
298            @Override
299            public com.liferay.portlet.ratings.model.RatingsEntry toEscapedModel();
300    
301            @Override
302            public com.liferay.portlet.ratings.model.RatingsEntry toUnescapedModel();
303    
304            @Override
305            public String toString();
306    
307            @Override
308            public String toXmlString();
309    }