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