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.messageboards.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 MBStatsUser service. Represents a row in the "MBStatsUser" 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.messageboards.model.impl.MBStatsUserModelImpl} 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.messageboards.model.impl.MBStatsUserImpl}. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see MBStatsUser 038 * @see com.liferay.portlet.messageboards.model.impl.MBStatsUserImpl 039 * @see com.liferay.portlet.messageboards.model.impl.MBStatsUserModelImpl 040 * @generated 041 */ 042 @ProviderType 043 public interface MBStatsUserModel extends BaseModel<MBStatsUser> { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. All methods that expect a message boards stats user model instance should use the {@link MBStatsUser} interface instead. 048 */ 049 050 /** 051 * Returns the primary key of this message boards stats user. 052 * 053 * @return the primary key of this message boards stats user 054 */ 055 public long getPrimaryKey(); 056 057 /** 058 * Sets the primary key of this message boards stats user. 059 * 060 * @param primaryKey the primary key of this message boards stats user 061 */ 062 public void setPrimaryKey(long primaryKey); 063 064 /** 065 * Returns the stats user ID of this message boards stats user. 066 * 067 * @return the stats user ID of this message boards stats user 068 */ 069 public long getStatsUserId(); 070 071 /** 072 * Sets the stats user ID of this message boards stats user. 073 * 074 * @param statsUserId the stats user ID of this message boards stats user 075 */ 076 public void setStatsUserId(long statsUserId); 077 078 /** 079 * Returns the stats user uuid of this message boards stats user. 080 * 081 * @return the stats user uuid of this message boards stats user 082 */ 083 public String getStatsUserUuid(); 084 085 /** 086 * Sets the stats user uuid of this message boards stats user. 087 * 088 * @param statsUserUuid the stats user uuid of this message boards stats user 089 */ 090 public void setStatsUserUuid(String statsUserUuid); 091 092 /** 093 * Returns the group ID of this message boards stats user. 094 * 095 * @return the group ID of this message boards stats user 096 */ 097 public long getGroupId(); 098 099 /** 100 * Sets the group ID of this message boards stats user. 101 * 102 * @param groupId the group ID of this message boards stats user 103 */ 104 public void setGroupId(long groupId); 105 106 /** 107 * Returns the user ID of this message boards stats user. 108 * 109 * @return the user ID of this message boards stats user 110 */ 111 public long getUserId(); 112 113 /** 114 * Sets the user ID of this message boards stats user. 115 * 116 * @param userId the user ID of this message boards stats user 117 */ 118 public void setUserId(long userId); 119 120 /** 121 * Returns the user uuid of this message boards stats user. 122 * 123 * @return the user uuid of this message boards stats user 124 */ 125 public String getUserUuid(); 126 127 /** 128 * Sets the user uuid of this message boards stats user. 129 * 130 * @param userUuid the user uuid of this message boards stats user 131 */ 132 public void setUserUuid(String userUuid); 133 134 /** 135 * Returns the message count of this message boards stats user. 136 * 137 * @return the message count of this message boards stats user 138 */ 139 public int getMessageCount(); 140 141 /** 142 * Sets the message count of this message boards stats user. 143 * 144 * @param messageCount the message count of this message boards stats user 145 */ 146 public void setMessageCount(int messageCount); 147 148 /** 149 * Returns the last post date of this message boards stats user. 150 * 151 * @return the last post date of this message boards stats user 152 */ 153 public Date getLastPostDate(); 154 155 /** 156 * Sets the last post date of this message boards stats user. 157 * 158 * @param lastPostDate the last post date of this message boards stats user 159 */ 160 public void setLastPostDate(Date lastPostDate); 161 162 @Override 163 public boolean isNew(); 164 165 @Override 166 public void setNew(boolean n); 167 168 @Override 169 public boolean isCachedModel(); 170 171 @Override 172 public void setCachedModel(boolean cachedModel); 173 174 @Override 175 public boolean isEscapedModel(); 176 177 @Override 178 public Serializable getPrimaryKeyObj(); 179 180 @Override 181 public void setPrimaryKeyObj(Serializable primaryKeyObj); 182 183 @Override 184 public ExpandoBridge getExpandoBridge(); 185 186 @Override 187 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 188 189 @Override 190 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 191 192 @Override 193 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 194 195 @Override 196 public Object clone(); 197 198 @Override 199 public int compareTo( 200 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser); 201 202 @Override 203 public int hashCode(); 204 205 @Override 206 public CacheModel<com.liferay.portlet.messageboards.model.MBStatsUser> toCacheModel(); 207 208 @Override 209 public com.liferay.portlet.messageboards.model.MBStatsUser toEscapedModel(); 210 211 @Override 212 public com.liferay.portlet.messageboards.model.MBStatsUser toUnescapedModel(); 213 214 @Override 215 public String toString(); 216 217 @Override 218 public String toXmlString(); 219 }