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