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.blogs.model; 016 017 import com.liferay.portal.kernel.exception.SystemException; 018 import com.liferay.portal.model.BaseModel; 019 import com.liferay.portal.model.CacheModel; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 import java.util.Date; 027 028 /** 029 * 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. 030 * 031 * <p> 032 * 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}. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see BlogsStatsUser 037 * @see com.liferay.portlet.blogs.model.impl.BlogsStatsUserImpl 038 * @see com.liferay.portlet.blogs.model.impl.BlogsStatsUserModelImpl 039 * @generated 040 */ 041 public interface BlogsStatsUserModel extends BaseModel<BlogsStatsUser> { 042 /* 043 * NOTE FOR DEVELOPERS: 044 * 045 * Never modify or reference this interface directly. All methods that expect a blogs stats user model instance should use the {@link BlogsStatsUser} interface instead. 046 */ 047 048 /** 049 * Returns the primary key of this blogs stats user. 050 * 051 * @return the primary key of this blogs stats user 052 */ 053 public long getPrimaryKey(); 054 055 /** 056 * Sets the primary key of this blogs stats user. 057 * 058 * @param primaryKey the primary key of this blogs stats user 059 */ 060 public void setPrimaryKey(long primaryKey); 061 062 /** 063 * Returns the stats user ID of this blogs stats user. 064 * 065 * @return the stats user ID of this blogs stats user 066 */ 067 public long getStatsUserId(); 068 069 /** 070 * Sets the stats user ID of this blogs stats user. 071 * 072 * @param statsUserId the stats user ID of this blogs stats user 073 */ 074 public void setStatsUserId(long statsUserId); 075 076 /** 077 * Returns the stats user uuid of this blogs stats user. 078 * 079 * @return the stats user uuid of this blogs stats user 080 * @throws SystemException if a system exception occurred 081 */ 082 public String getStatsUserUuid() throws SystemException; 083 084 /** 085 * Sets the stats user uuid of this blogs stats user. 086 * 087 * @param statsUserUuid the stats user uuid of this blogs stats user 088 */ 089 public void setStatsUserUuid(String statsUserUuid); 090 091 /** 092 * Returns the group ID of this blogs stats user. 093 * 094 * @return the group ID of this blogs stats user 095 */ 096 public long getGroupId(); 097 098 /** 099 * Sets the group ID of this blogs stats user. 100 * 101 * @param groupId the group ID of this blogs stats user 102 */ 103 public void setGroupId(long groupId); 104 105 /** 106 * Returns the company ID of this blogs stats user. 107 * 108 * @return the company ID of this blogs stats user 109 */ 110 public long getCompanyId(); 111 112 /** 113 * Sets the company ID of this blogs stats user. 114 * 115 * @param companyId the company ID of this blogs stats user 116 */ 117 public void setCompanyId(long companyId); 118 119 /** 120 * Returns the user ID of this blogs stats user. 121 * 122 * @return the user ID of this blogs stats user 123 */ 124 public long getUserId(); 125 126 /** 127 * Sets the user ID of this blogs stats user. 128 * 129 * @param userId the user ID of this blogs stats user 130 */ 131 public void setUserId(long userId); 132 133 /** 134 * Returns the user uuid of this blogs stats user. 135 * 136 * @return the user uuid of this blogs stats user 137 * @throws SystemException if a system exception occurred 138 */ 139 public String getUserUuid() throws SystemException; 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 public boolean isNew(); 219 220 public void setNew(boolean n); 221 222 public boolean isCachedModel(); 223 224 public void setCachedModel(boolean cachedModel); 225 226 public boolean isEscapedModel(); 227 228 public Serializable getPrimaryKeyObj(); 229 230 public void setPrimaryKeyObj(Serializable primaryKeyObj); 231 232 public ExpandoBridge getExpandoBridge(); 233 234 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 235 236 public Object clone(); 237 238 public int compareTo(BlogsStatsUser blogsStatsUser); 239 240 public int hashCode(); 241 242 public CacheModel<BlogsStatsUser> toCacheModel(); 243 244 public BlogsStatsUser toEscapedModel(); 245 246 public BlogsStatsUser toUnescapedModel(); 247 248 public String toString(); 249 250 public String toXmlString(); 251 }