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