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.ShardedModel; 024 import com.liferay.portal.model.StagedAuditedModel; 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, BaseModel<RatingsEntry>, 048 ShardedModel, StagedAuditedModel { 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 uuid of this ratings entry. 071 * 072 * @return the uuid of this ratings entry 073 */ 074 @AutoEscape 075 @Override 076 public String getUuid(); 077 078 /** 079 * Sets the uuid of this ratings entry. 080 * 081 * @param uuid the uuid of this ratings entry 082 */ 083 @Override 084 public void setUuid(String uuid); 085 086 /** 087 * Returns the entry ID of this ratings entry. 088 * 089 * @return the entry ID of this ratings entry 090 */ 091 public long getEntryId(); 092 093 /** 094 * Sets the entry ID of this ratings entry. 095 * 096 * @param entryId the entry ID of this ratings entry 097 */ 098 public void setEntryId(long entryId); 099 100 /** 101 * Returns the company ID of this ratings entry. 102 * 103 * @return the company ID of this ratings entry 104 */ 105 @Override 106 public long getCompanyId(); 107 108 /** 109 * Sets the company ID of this ratings entry. 110 * 111 * @param companyId the company ID of this ratings entry 112 */ 113 @Override 114 public void setCompanyId(long companyId); 115 116 /** 117 * Returns the user ID of this ratings entry. 118 * 119 * @return the user ID of this ratings entry 120 */ 121 @Override 122 public long getUserId(); 123 124 /** 125 * Sets the user ID of this ratings entry. 126 * 127 * @param userId the user ID of this ratings entry 128 */ 129 @Override 130 public void setUserId(long userId); 131 132 /** 133 * Returns the user uuid of this ratings entry. 134 * 135 * @return the user uuid of this ratings entry 136 */ 137 @Override 138 public String getUserUuid(); 139 140 /** 141 * Sets the user uuid of this ratings entry. 142 * 143 * @param userUuid the user uuid of this ratings entry 144 */ 145 @Override 146 public void setUserUuid(String userUuid); 147 148 /** 149 * Returns the user name of this ratings entry. 150 * 151 * @return the user name of this ratings entry 152 */ 153 @AutoEscape 154 @Override 155 public String getUserName(); 156 157 /** 158 * Sets the user name of this ratings entry. 159 * 160 * @param userName the user name of this ratings entry 161 */ 162 @Override 163 public void setUserName(String userName); 164 165 /** 166 * Returns the create date of this ratings entry. 167 * 168 * @return the create date of this ratings entry 169 */ 170 @Override 171 public Date getCreateDate(); 172 173 /** 174 * Sets the create date of this ratings entry. 175 * 176 * @param createDate the create date of this ratings entry 177 */ 178 @Override 179 public void setCreateDate(Date createDate); 180 181 /** 182 * Returns the modified date of this ratings entry. 183 * 184 * @return the modified date of this ratings entry 185 */ 186 @Override 187 public Date getModifiedDate(); 188 189 /** 190 * Sets the modified date of this ratings entry. 191 * 192 * @param modifiedDate the modified date of this ratings entry 193 */ 194 @Override 195 public void setModifiedDate(Date modifiedDate); 196 197 /** 198 * Returns the fully qualified class name of this ratings entry. 199 * 200 * @return the fully qualified class name of this ratings entry 201 */ 202 @Override 203 public String getClassName(); 204 205 public void setClassName(String className); 206 207 /** 208 * Returns the class name ID of this ratings entry. 209 * 210 * @return the class name ID of this ratings entry 211 */ 212 @Override 213 public long getClassNameId(); 214 215 /** 216 * Sets the class name ID of this ratings entry. 217 * 218 * @param classNameId the class name ID of this ratings entry 219 */ 220 @Override 221 public void setClassNameId(long classNameId); 222 223 /** 224 * Returns the class p k of this ratings entry. 225 * 226 * @return the class p k of this ratings entry 227 */ 228 @Override 229 public long getClassPK(); 230 231 /** 232 * Sets the class p k of this ratings entry. 233 * 234 * @param classPK the class p k of this ratings entry 235 */ 236 @Override 237 public void setClassPK(long classPK); 238 239 /** 240 * Returns the score of this ratings entry. 241 * 242 * @return the score of this ratings entry 243 */ 244 public double getScore(); 245 246 /** 247 * Sets the score of this ratings entry. 248 * 249 * @param score the score of this ratings entry 250 */ 251 public void setScore(double score); 252 253 @Override 254 public boolean isNew(); 255 256 @Override 257 public void setNew(boolean n); 258 259 @Override 260 public boolean isCachedModel(); 261 262 @Override 263 public void setCachedModel(boolean cachedModel); 264 265 @Override 266 public boolean isEscapedModel(); 267 268 @Override 269 public Serializable getPrimaryKeyObj(); 270 271 @Override 272 public void setPrimaryKeyObj(Serializable primaryKeyObj); 273 274 @Override 275 public ExpandoBridge getExpandoBridge(); 276 277 @Override 278 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 279 280 @Override 281 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 282 283 @Override 284 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 285 286 @Override 287 public Object clone(); 288 289 @Override 290 public int compareTo( 291 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry); 292 293 @Override 294 public int hashCode(); 295 296 @Override 297 public CacheModel<com.liferay.portlet.ratings.model.RatingsEntry> toCacheModel(); 298 299 @Override 300 public com.liferay.portlet.ratings.model.RatingsEntry toEscapedModel(); 301 302 @Override 303 public com.liferay.portlet.ratings.model.RatingsEntry toUnescapedModel(); 304 305 @Override 306 public String toString(); 307 308 @Override 309 public String toXmlString(); 310 }