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 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 MBStatsUser service. Represents a row in the "MBStatsUser" 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.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}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see MBStatsUser
037     * @see com.liferay.portlet.messageboards.model.impl.MBStatsUserImpl
038     * @see com.liferay.portlet.messageboards.model.impl.MBStatsUserModelImpl
039     * @generated
040     */
041    public interface MBStatsUserModel extends BaseModel<MBStatsUser> {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * 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.
046             */
047    
048            /**
049             * Returns the primary key of this message boards stats user.
050             *
051             * @return the primary key of this message boards stats user
052             */
053            public long getPrimaryKey();
054    
055            /**
056             * Sets the primary key of this message boards stats user.
057             *
058             * @param primaryKey the primary key of this message boards stats user
059             */
060            public void setPrimaryKey(long primaryKey);
061    
062            /**
063             * Returns the stats user ID of this message boards stats user.
064             *
065             * @return the stats user ID of this message boards stats user
066             */
067            public long getStatsUserId();
068    
069            /**
070             * Sets the stats user ID of this message boards stats user.
071             *
072             * @param statsUserId the stats user ID of this message boards stats user
073             */
074            public void setStatsUserId(long statsUserId);
075    
076            /**
077             * Returns the stats user uuid of this message boards stats user.
078             *
079             * @return the stats user uuid of this message boards 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 message boards stats user.
086             *
087             * @param statsUserUuid the stats user uuid of this message boards stats user
088             */
089            public void setStatsUserUuid(String statsUserUuid);
090    
091            /**
092             * Returns the group ID of this message boards stats user.
093             *
094             * @return the group ID of this message boards stats user
095             */
096            public long getGroupId();
097    
098            /**
099             * Sets the group ID of this message boards stats user.
100             *
101             * @param groupId the group ID of this message boards stats user
102             */
103            public void setGroupId(long groupId);
104    
105            /**
106             * Returns the user ID of this message boards stats user.
107             *
108             * @return the user ID of this message boards stats user
109             */
110            public long getUserId();
111    
112            /**
113             * Sets the user ID of this message boards stats user.
114             *
115             * @param userId the user ID of this message boards stats user
116             */
117            public void setUserId(long userId);
118    
119            /**
120             * Returns the user uuid of this message boards stats user.
121             *
122             * @return the user uuid of this message boards stats user
123             * @throws SystemException if a system exception occurred
124             */
125            public String getUserUuid() throws SystemException;
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            public boolean isNew();
163    
164            public void setNew(boolean n);
165    
166            public boolean isCachedModel();
167    
168            public void setCachedModel(boolean cachedModel);
169    
170            public boolean isEscapedModel();
171    
172            public Serializable getPrimaryKeyObj();
173    
174            public void setPrimaryKeyObj(Serializable primaryKeyObj);
175    
176            public ExpandoBridge getExpandoBridge();
177    
178            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
179    
180            public Object clone();
181    
182            public int compareTo(MBStatsUser mbStatsUser);
183    
184            public int hashCode();
185    
186            public CacheModel<MBStatsUser> toCacheModel();
187    
188            public MBStatsUser toEscapedModel();
189    
190            public MBStatsUser toUnescapedModel();
191    
192            public String toString();
193    
194            public String toXmlString();
195    }