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.social.model;
016    
017    import com.liferay.portal.kernel.bean.AutoEscape;
018    import com.liferay.portal.model.AttachedModel;
019    import com.liferay.portal.model.BaseModel;
020    import com.liferay.portal.model.CacheModel;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.expando.model.ExpandoBridge;
024    
025    import java.io.Serializable;
026    
027    /**
028     * The base model interface for the SocialActivityCounter service. Represents a row in the "SocialActivityCounter" 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.social.model.impl.SocialActivityCounterModelImpl} 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.social.model.impl.SocialActivityCounterImpl}.
032     * </p>
033     *
034     * @author Brian Wing Shun Chan
035     * @see SocialActivityCounter
036     * @see com.liferay.portlet.social.model.impl.SocialActivityCounterImpl
037     * @see com.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl
038     * @generated
039     */
040    public interface SocialActivityCounterModel extends AttachedModel,
041            BaseModel<SocialActivityCounter> {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. All methods that expect a social activity counter model instance should use the {@link SocialActivityCounter} interface instead.
046             */
047    
048            /**
049             * Returns the primary key of this social activity counter.
050             *
051             * @return the primary key of this social activity counter
052             */
053            public long getPrimaryKey();
054    
055            /**
056             * Sets the primary key of this social activity counter.
057             *
058             * @param primaryKey the primary key of this social activity counter
059             */
060            public void setPrimaryKey(long primaryKey);
061    
062            /**
063             * Returns the activity counter ID of this social activity counter.
064             *
065             * @return the activity counter ID of this social activity counter
066             */
067            public long getActivityCounterId();
068    
069            /**
070             * Sets the activity counter ID of this social activity counter.
071             *
072             * @param activityCounterId the activity counter ID of this social activity counter
073             */
074            public void setActivityCounterId(long activityCounterId);
075    
076            /**
077             * Returns the group ID of this social activity counter.
078             *
079             * @return the group ID of this social activity counter
080             */
081            public long getGroupId();
082    
083            /**
084             * Sets the group ID of this social activity counter.
085             *
086             * @param groupId the group ID of this social activity counter
087             */
088            public void setGroupId(long groupId);
089    
090            /**
091             * Returns the company ID of this social activity counter.
092             *
093             * @return the company ID of this social activity counter
094             */
095            public long getCompanyId();
096    
097            /**
098             * Sets the company ID of this social activity counter.
099             *
100             * @param companyId the company ID of this social activity counter
101             */
102            public void setCompanyId(long companyId);
103    
104            /**
105             * Returns the fully qualified class name of this social activity counter.
106             *
107             * @return the fully qualified class name of this social activity counter
108             */
109            public String getClassName();
110    
111            public void setClassName(String className);
112    
113            /**
114             * Returns the class name ID of this social activity counter.
115             *
116             * @return the class name ID of this social activity counter
117             */
118            public long getClassNameId();
119    
120            /**
121             * Sets the class name ID of this social activity counter.
122             *
123             * @param classNameId the class name ID of this social activity counter
124             */
125            public void setClassNameId(long classNameId);
126    
127            /**
128             * Returns the class p k of this social activity counter.
129             *
130             * @return the class p k of this social activity counter
131             */
132            public long getClassPK();
133    
134            /**
135             * Sets the class p k of this social activity counter.
136             *
137             * @param classPK the class p k of this social activity counter
138             */
139            public void setClassPK(long classPK);
140    
141            /**
142             * Returns the name of this social activity counter.
143             *
144             * @return the name of this social activity counter
145             */
146            @AutoEscape
147            public String getName();
148    
149            /**
150             * Sets the name of this social activity counter.
151             *
152             * @param name the name of this social activity counter
153             */
154            public void setName(String name);
155    
156            /**
157             * Returns the owner type of this social activity counter.
158             *
159             * @return the owner type of this social activity counter
160             */
161            public int getOwnerType();
162    
163            /**
164             * Sets the owner type of this social activity counter.
165             *
166             * @param ownerType the owner type of this social activity counter
167             */
168            public void setOwnerType(int ownerType);
169    
170            /**
171             * Returns the current value of this social activity counter.
172             *
173             * @return the current value of this social activity counter
174             */
175            public int getCurrentValue();
176    
177            /**
178             * Sets the current value of this social activity counter.
179             *
180             * @param currentValue the current value of this social activity counter
181             */
182            public void setCurrentValue(int currentValue);
183    
184            /**
185             * Returns the total value of this social activity counter.
186             *
187             * @return the total value of this social activity counter
188             */
189            public int getTotalValue();
190    
191            /**
192             * Sets the total value of this social activity counter.
193             *
194             * @param totalValue the total value of this social activity counter
195             */
196            public void setTotalValue(int totalValue);
197    
198            /**
199             * Returns the grace value of this social activity counter.
200             *
201             * @return the grace value of this social activity counter
202             */
203            public int getGraceValue();
204    
205            /**
206             * Sets the grace value of this social activity counter.
207             *
208             * @param graceValue the grace value of this social activity counter
209             */
210            public void setGraceValue(int graceValue);
211    
212            /**
213             * Returns the start period of this social activity counter.
214             *
215             * @return the start period of this social activity counter
216             */
217            public int getStartPeriod();
218    
219            /**
220             * Sets the start period of this social activity counter.
221             *
222             * @param startPeriod the start period of this social activity counter
223             */
224            public void setStartPeriod(int startPeriod);
225    
226            /**
227             * Returns the end period of this social activity counter.
228             *
229             * @return the end period of this social activity counter
230             */
231            public int getEndPeriod();
232    
233            /**
234             * Sets the end period of this social activity counter.
235             *
236             * @param endPeriod the end period of this social activity counter
237             */
238            public void setEndPeriod(int endPeriod);
239    
240            public boolean isNew();
241    
242            public void setNew(boolean n);
243    
244            public boolean isCachedModel();
245    
246            public void setCachedModel(boolean cachedModel);
247    
248            public boolean isEscapedModel();
249    
250            public Serializable getPrimaryKeyObj();
251    
252            public void setPrimaryKeyObj(Serializable primaryKeyObj);
253    
254            public ExpandoBridge getExpandoBridge();
255    
256            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
257    
258            public Object clone();
259    
260            public int compareTo(SocialActivityCounter socialActivityCounter);
261    
262            public int hashCode();
263    
264            public CacheModel<SocialActivityCounter> toCacheModel();
265    
266            public SocialActivityCounter toEscapedModel();
267    
268            public SocialActivityCounter toUnescapedModel();
269    
270            public String toString();
271    
272            public String toXmlString();
273    }