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.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 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>, ShardedModel {
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             */
084            public String getStatsUserUuid();
085    
086            /**
087             * Sets the stats user uuid of this message boards stats user.
088             *
089             * @param statsUserUuid the stats user uuid of this message boards stats user
090             */
091            public void setStatsUserUuid(String statsUserUuid);
092    
093            /**
094             * Returns the group ID of this message boards stats user.
095             *
096             * @return the group ID of this message boards stats user
097             */
098            public long getGroupId();
099    
100            /**
101             * Sets the group ID of this message boards stats user.
102             *
103             * @param groupId the group ID of this message boards stats user
104             */
105            public void setGroupId(long groupId);
106    
107            /**
108             * Returns the company ID of this message boards stats user.
109             *
110             * @return the company ID of this message boards stats user
111             */
112            @Override
113            public long getCompanyId();
114    
115            /**
116             * Sets the company ID of this message boards stats user.
117             *
118             * @param companyId the company ID of this message boards stats user
119             */
120            @Override
121            public void setCompanyId(long companyId);
122    
123            /**
124             * Returns the user ID of this message boards stats user.
125             *
126             * @return the user ID of this message boards stats user
127             */
128            public long getUserId();
129    
130            /**
131             * Sets the user ID of this message boards stats user.
132             *
133             * @param userId the user ID of this message boards stats user
134             */
135            public void setUserId(long userId);
136    
137            /**
138             * Returns the user uuid of this message boards stats user.
139             *
140             * @return the user uuid of this message boards stats user
141             */
142            public String getUserUuid();
143    
144            /**
145             * Sets the user uuid of this message boards stats user.
146             *
147             * @param userUuid the user uuid of this message boards stats user
148             */
149            public void setUserUuid(String userUuid);
150    
151            /**
152             * Returns the message count of this message boards stats user.
153             *
154             * @return the message count of this message boards stats user
155             */
156            public int getMessageCount();
157    
158            /**
159             * Sets the message count of this message boards stats user.
160             *
161             * @param messageCount the message count of this message boards stats user
162             */
163            public void setMessageCount(int messageCount);
164    
165            /**
166             * Returns the last post date of this message boards stats user.
167             *
168             * @return the last post date of this message boards stats user
169             */
170            public Date getLastPostDate();
171    
172            /**
173             * Sets the last post date of this message boards stats user.
174             *
175             * @param lastPostDate the last post date of this message boards stats user
176             */
177            public void setLastPostDate(Date lastPostDate);
178    
179            @Override
180            public boolean isNew();
181    
182            @Override
183            public void setNew(boolean n);
184    
185            @Override
186            public boolean isCachedModel();
187    
188            @Override
189            public void setCachedModel(boolean cachedModel);
190    
191            @Override
192            public boolean isEscapedModel();
193    
194            @Override
195            public Serializable getPrimaryKeyObj();
196    
197            @Override
198            public void setPrimaryKeyObj(Serializable primaryKeyObj);
199    
200            @Override
201            public ExpandoBridge getExpandoBridge();
202    
203            @Override
204            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
205    
206            @Override
207            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
208    
209            @Override
210            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
211    
212            @Override
213            public Object clone();
214    
215            @Override
216            public int compareTo(
217                    com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser);
218    
219            @Override
220            public int hashCode();
221    
222            @Override
223            public CacheModel<com.liferay.portlet.messageboards.model.MBStatsUser> toCacheModel();
224    
225            @Override
226            public com.liferay.portlet.messageboards.model.MBStatsUser toEscapedModel();
227    
228            @Override
229            public com.liferay.portlet.messageboards.model.MBStatsUser toUnescapedModel();
230    
231            @Override
232            public String toString();
233    
234            @Override
235            public String toXmlString();
236    }