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.blogs.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 BlogsStatsUser service. Represents a row in the "BlogsStatsUser" 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.blogs.model.impl.BlogsStatsUserModelImpl} 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.blogs.model.impl.BlogsStatsUserImpl}.
032     * </p>
033     *
034     * <p>
035     * Never modify or reference this interface directly. All methods that expect a blogs stats user model instance should use the {@link BlogsStatsUser} interface instead.
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see BlogsStatsUser
040     * @see com.liferay.portlet.blogs.model.impl.BlogsStatsUserImpl
041     * @see com.liferay.portlet.blogs.model.impl.BlogsStatsUserModelImpl
042     * @generated
043     */
044    public interface BlogsStatsUserModel extends BaseModel<BlogsStatsUser> {
045            /**
046             * Gets the primary key of this blogs stats user.
047             *
048             * @return the primary key of this blogs stats user
049             */
050            public long getPrimaryKey();
051    
052            /**
053             * Sets the primary key of this blogs stats user
054             *
055             * @param pk the primary key of this blogs stats user
056             */
057            public void setPrimaryKey(long pk);
058    
059            /**
060             * Gets the stats user id of this blogs stats user.
061             *
062             * @return the stats user id of this blogs stats user
063             */
064            public long getStatsUserId();
065    
066            /**
067             * Sets the stats user id of this blogs stats user.
068             *
069             * @param statsUserId the stats user id of this blogs stats user
070             */
071            public void setStatsUserId(long statsUserId);
072    
073            /**
074             * Gets the stats user uuid of this blogs stats user.
075             *
076             * @return the stats user uuid of this blogs 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 blogs stats user.
083             *
084             * @param statsUserUuid the stats user uuid of this blogs stats user
085             */
086            public void setStatsUserUuid(String statsUserUuid);
087    
088            /**
089             * Gets the group id of this blogs stats user.
090             *
091             * @return the group id of this blogs stats user
092             */
093            public long getGroupId();
094    
095            /**
096             * Sets the group id of this blogs stats user.
097             *
098             * @param groupId the group id of this blogs stats user
099             */
100            public void setGroupId(long groupId);
101    
102            /**
103             * Gets the company id of this blogs stats user.
104             *
105             * @return the company id of this blogs stats user
106             */
107            public long getCompanyId();
108    
109            /**
110             * Sets the company id of this blogs stats user.
111             *
112             * @param companyId the company id of this blogs stats user
113             */
114            public void setCompanyId(long companyId);
115    
116            /**
117             * Gets the user id of this blogs stats user.
118             *
119             * @return the user id of this blogs stats user
120             */
121            public long getUserId();
122    
123            /**
124             * Sets the user id of this blogs stats user.
125             *
126             * @param userId the user id of this blogs stats user
127             */
128            public void setUserId(long userId);
129    
130            /**
131             * Gets the user uuid of this blogs stats user.
132             *
133             * @return the user uuid of this blogs stats user
134             * @throws SystemException if a system exception occurred
135             */
136            public String getUserUuid() throws SystemException;
137    
138            /**
139             * Sets the user uuid of this blogs stats user.
140             *
141             * @param userUuid the user uuid of this blogs stats user
142             */
143            public void setUserUuid(String userUuid);
144    
145            /**
146             * Gets the entry count of this blogs stats user.
147             *
148             * @return the entry count of this blogs stats user
149             */
150            public int getEntryCount();
151    
152            /**
153             * Sets the entry count of this blogs stats user.
154             *
155             * @param entryCount the entry count of this blogs stats user
156             */
157            public void setEntryCount(int entryCount);
158    
159            /**
160             * Gets the last post date of this blogs stats user.
161             *
162             * @return the last post date of this blogs stats user
163             */
164            public Date getLastPostDate();
165    
166            /**
167             * Sets the last post date of this blogs stats user.
168             *
169             * @param lastPostDate the last post date of this blogs stats user
170             */
171            public void setLastPostDate(Date lastPostDate);
172    
173            /**
174             * Gets the ratings total entries of this blogs stats user.
175             *
176             * @return the ratings total entries of this blogs stats user
177             */
178            public int getRatingsTotalEntries();
179    
180            /**
181             * Sets the ratings total entries of this blogs stats user.
182             *
183             * @param ratingsTotalEntries the ratings total entries of this blogs stats user
184             */
185            public void setRatingsTotalEntries(int ratingsTotalEntries);
186    
187            /**
188             * Gets the ratings total score of this blogs stats user.
189             *
190             * @return the ratings total score of this blogs stats user
191             */
192            public double getRatingsTotalScore();
193    
194            /**
195             * Sets the ratings total score of this blogs stats user.
196             *
197             * @param ratingsTotalScore the ratings total score of this blogs stats user
198             */
199            public void setRatingsTotalScore(double ratingsTotalScore);
200    
201            /**
202             * Gets the ratings average score of this blogs stats user.
203             *
204             * @return the ratings average score of this blogs stats user
205             */
206            public double getRatingsAverageScore();
207    
208            /**
209             * Sets the ratings average score of this blogs stats user.
210             *
211             * @param ratingsAverageScore the ratings average score of this blogs stats user
212             */
213            public void setRatingsAverageScore(double ratingsAverageScore);
214    
215            /**
216             * Gets a copy of this blogs stats user as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
217             *
218             * @return the escaped model instance
219             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
220             */
221            public BlogsStatsUser toEscapedModel();
222    
223            public boolean isNew();
224    
225            public void setNew(boolean n);
226    
227            public boolean isCachedModel();
228    
229            public void setCachedModel(boolean cachedModel);
230    
231            public boolean isEscapedModel();
232    
233            public void setEscapedModel(boolean escapedModel);
234    
235            public Serializable getPrimaryKeyObj();
236    
237            public ExpandoBridge getExpandoBridge();
238    
239            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
240    
241            public Object clone();
242    
243            public int compareTo(BlogsStatsUser blogsStatsUser);
244    
245            public int hashCode();
246    
247            public String toString();
248    
249            public String toXmlString();
250    }