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