001    /**
002     * Copyright (c) 2000-2010 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 com.liferay.portal.kernel.exception.SystemException;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    import java.util.Date;
026    
027    /**
028     * 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.
029     *
030     * <p>
031     * 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}.
032     * </p>
033     *
034     * <p>
035     * 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.
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see MBStatsUser
040     * @see com.liferay.portlet.messageboards.model.impl.MBStatsUserImpl
041     * @see com.liferay.portlet.messageboards.model.impl.MBStatsUserModelImpl
042     * @generated
043     */
044    public interface MBStatsUserModel extends BaseModel<MBStatsUser> {
045            /**
046             * Gets the primary key of this message boards stats user.
047             *
048             * @return the primary key of this message boards stats user
049             */
050            public long getPrimaryKey();
051    
052            /**
053             * Sets the primary key of this message boards stats user
054             *
055             * @param pk the primary key of this message boards stats user
056             */
057            public void setPrimaryKey(long pk);
058    
059            /**
060             * Gets the stats user id of this message boards stats user.
061             *
062             * @return the stats user id of this message boards stats user
063             */
064            public long getStatsUserId();
065    
066            /**
067             * Sets the stats user id of this message boards stats user.
068             *
069             * @param statsUserId the stats user id of this message boards stats user
070             */
071            public void setStatsUserId(long statsUserId);
072    
073            /**
074             * Gets the stats user uuid of this message boards stats user.
075             *
076             * @return the stats user uuid of this message boards stats user
077             * @throws SystemException if a system exception occurred
078             */
079            public String getStatsUserUuid() throws SystemException;
080    
081            /**
082             * Sets the stats user uuid of this message boards stats user.
083             *
084             * @param statsUserUuid the stats user uuid of this message boards stats user
085             */
086            public void setStatsUserUuid(String statsUserUuid);
087    
088            /**
089             * Gets the group id of this message boards stats user.
090             *
091             * @return the group id of this message boards stats user
092             */
093            public long getGroupId();
094    
095            /**
096             * Sets the group id of this message boards stats user.
097             *
098             * @param groupId the group id of this message boards stats user
099             */
100            public void setGroupId(long groupId);
101    
102            /**
103             * Gets the user id of this message boards stats user.
104             *
105             * @return the user id of this message boards stats user
106             */
107            public long getUserId();
108    
109            /**
110             * Sets the user id of this message boards stats user.
111             *
112             * @param userId the user id of this message boards stats user
113             */
114            public void setUserId(long userId);
115    
116            /**
117             * Gets the user uuid of this message boards stats user.
118             *
119             * @return the user uuid of this message boards stats user
120             * @throws SystemException if a system exception occurred
121             */
122            public String getUserUuid() throws SystemException;
123    
124            /**
125             * Sets the user uuid of this message boards stats user.
126             *
127             * @param userUuid the user uuid of this message boards stats user
128             */
129            public void setUserUuid(String userUuid);
130    
131            /**
132             * Gets the message count of this message boards stats user.
133             *
134             * @return the message count of this message boards stats user
135             */
136            public int getMessageCount();
137    
138            /**
139             * Sets the message count of this message boards stats user.
140             *
141             * @param messageCount the message count of this message boards stats user
142             */
143            public void setMessageCount(int messageCount);
144    
145            /**
146             * Gets the last post date of this message boards stats user.
147             *
148             * @return the last post date of this message boards stats user
149             */
150            public Date getLastPostDate();
151    
152            /**
153             * Sets the last post date of this message boards stats user.
154             *
155             * @param lastPostDate the last post date of this message boards stats user
156             */
157            public void setLastPostDate(Date lastPostDate);
158    
159            /**
160             * Gets a copy of this message boards stats user as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
161             *
162             * @return the escaped model instance
163             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
164             */
165            public MBStatsUser toEscapedModel();
166    
167            public boolean isNew();
168    
169            public void setNew(boolean n);
170    
171            public boolean isCachedModel();
172    
173            public void setCachedModel(boolean cachedModel);
174    
175            public boolean isEscapedModel();
176    
177            public void setEscapedModel(boolean escapedModel);
178    
179            public Serializable getPrimaryKeyObj();
180    
181            public ExpandoBridge getExpandoBridge();
182    
183            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
184    
185            public Object clone();
186    
187            public int compareTo(MBStatsUser mbStatsUser);
188    
189            public int hashCode();
190    
191            public String toString();
192    
193            public String toXmlString();
194    }