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.blogs.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.model.BaseModel; 020 import com.liferay.portal.model.CacheModel; 021 import com.liferay.portal.service.ServiceContext; 022 023 import com.liferay.portlet.expando.model.ExpandoBridge; 024 025 import java.io.Serializable; 026 027 import java.util.Date; 028 029 /** 030 * The base model interface for the BlogsStatsUser service. Represents a row in the "BlogsStatsUser" database table, with each column mapped to a property of this class. 031 * 032 * <p> 033 * This interface and its corresponding implementation {@link com.liferay.portlet.blogs.model.impl.BlogsStatsUserModelImpl} 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.blogs.model.impl.BlogsStatsUserImpl}. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see BlogsStatsUser 038 * @see com.liferay.portlet.blogs.model.impl.BlogsStatsUserImpl 039 * @see com.liferay.portlet.blogs.model.impl.BlogsStatsUserModelImpl 040 * @generated 041 */ 042 @ProviderType 043 public interface BlogsStatsUserModel extends BaseModel<BlogsStatsUser> { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. All methods that expect a blogs stats user model instance should use the {@link BlogsStatsUser} interface instead. 048 */ 049 050 /** 051 * Returns the primary key of this blogs stats user. 052 * 053 * @return the primary key of this blogs stats user 054 */ 055 public long getPrimaryKey(); 056 057 /** 058 * Sets the primary key of this blogs stats user. 059 * 060 * @param primaryKey the primary key of this blogs stats user 061 */ 062 public void setPrimaryKey(long primaryKey); 063 064 /** 065 * Returns the stats user ID of this blogs stats user. 066 * 067 * @return the stats user ID of this blogs stats user 068 */ 069 public long getStatsUserId(); 070 071 /** 072 * Sets the stats user ID of this blogs stats user. 073 * 074 * @param statsUserId the stats user ID of this blogs stats user 075 */ 076 public void setStatsUserId(long statsUserId); 077 078 /** 079 * Returns the stats user uuid of this blogs stats user. 080 * 081 * @return the stats user uuid of this blogs stats user 082 */ 083 public String getStatsUserUuid(); 084 085 /** 086 * Sets the stats user uuid of this blogs stats user. 087 * 088 * @param statsUserUuid the stats user uuid of this blogs stats user 089 */ 090 public void setStatsUserUuid(String statsUserUuid); 091 092 /** 093 * Returns the group ID of this blogs stats user. 094 * 095 * @return the group ID of this blogs stats user 096 */ 097 public long getGroupId(); 098 099 /** 100 * Sets the group ID of this blogs stats user. 101 * 102 * @param groupId the group ID of this blogs stats user 103 */ 104 public void setGroupId(long groupId); 105 106 /** 107 * Returns the company ID of this blogs stats user. 108 * 109 * @return the company ID of this blogs stats user 110 */ 111 public long getCompanyId(); 112 113 /** 114 * Sets the company ID of this blogs stats user. 115 * 116 * @param companyId the company ID of this blogs stats user 117 */ 118 public void setCompanyId(long companyId); 119 120 /** 121 * Returns the user ID of this blogs stats user. 122 * 123 * @return the user ID of this blogs stats user 124 */ 125 public long getUserId(); 126 127 /** 128 * Sets the user ID of this blogs stats user. 129 * 130 * @param userId the user ID of this blogs stats user 131 */ 132 public void setUserId(long userId); 133 134 /** 135 * Returns the user uuid of this blogs stats user. 136 * 137 * @return the user uuid of this blogs stats user 138 */ 139 public String getUserUuid(); 140 141 /** 142 * Sets the user uuid of this blogs stats user. 143 * 144 * @param userUuid the user uuid of this blogs stats user 145 */ 146 public void setUserUuid(String userUuid); 147 148 /** 149 * Returns the entry count of this blogs stats user. 150 * 151 * @return the entry count of this blogs stats user 152 */ 153 public int getEntryCount(); 154 155 /** 156 * Sets the entry count of this blogs stats user. 157 * 158 * @param entryCount the entry count of this blogs stats user 159 */ 160 public void setEntryCount(int entryCount); 161 162 /** 163 * Returns the last post date of this blogs stats user. 164 * 165 * @return the last post date of this blogs stats user 166 */ 167 public Date getLastPostDate(); 168 169 /** 170 * Sets the last post date of this blogs stats user. 171 * 172 * @param lastPostDate the last post date of this blogs stats user 173 */ 174 public void setLastPostDate(Date lastPostDate); 175 176 /** 177 * Returns the ratings total entries of this blogs stats user. 178 * 179 * @return the ratings total entries of this blogs stats user 180 */ 181 public int getRatingsTotalEntries(); 182 183 /** 184 * Sets the ratings total entries of this blogs stats user. 185 * 186 * @param ratingsTotalEntries the ratings total entries of this blogs stats user 187 */ 188 public void setRatingsTotalEntries(int ratingsTotalEntries); 189 190 /** 191 * Returns the ratings total score of this blogs stats user. 192 * 193 * @return the ratings total score of this blogs stats user 194 */ 195 public double getRatingsTotalScore(); 196 197 /** 198 * Sets the ratings total score of this blogs stats user. 199 * 200 * @param ratingsTotalScore the ratings total score of this blogs stats user 201 */ 202 public void setRatingsTotalScore(double ratingsTotalScore); 203 204 /** 205 * Returns the ratings average score of this blogs stats user. 206 * 207 * @return the ratings average score of this blogs stats user 208 */ 209 public double getRatingsAverageScore(); 210 211 /** 212 * Sets the ratings average score of this blogs stats user. 213 * 214 * @param ratingsAverageScore the ratings average score of this blogs stats user 215 */ 216 public void setRatingsAverageScore(double ratingsAverageScore); 217 218 @Override 219 public boolean isNew(); 220 221 @Override 222 public void setNew(boolean n); 223 224 @Override 225 public boolean isCachedModel(); 226 227 @Override 228 public void setCachedModel(boolean cachedModel); 229 230 @Override 231 public boolean isEscapedModel(); 232 233 @Override 234 public Serializable getPrimaryKeyObj(); 235 236 @Override 237 public void setPrimaryKeyObj(Serializable primaryKeyObj); 238 239 @Override 240 public ExpandoBridge getExpandoBridge(); 241 242 @Override 243 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 244 245 @Override 246 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 247 248 @Override 249 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 250 251 @Override 252 public Object clone(); 253 254 @Override 255 public int compareTo( 256 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser); 257 258 @Override 259 public int hashCode(); 260 261 @Override 262 public CacheModel<com.liferay.portlet.blogs.model.BlogsStatsUser> toCacheModel(); 263 264 @Override 265 public com.liferay.portlet.blogs.model.BlogsStatsUser toEscapedModel(); 266 267 @Override 268 public com.liferay.portlet.blogs.model.BlogsStatsUser toUnescapedModel(); 269 270 @Override 271 public String toString(); 272 273 @Override 274 public String toXmlString(); 275 }