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