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            public String getClassName();
140    
141            public void setClassName(String className);
142    
143            /**
144             * Returns the class name ID of this social activity limit.
145             *
146             * @return the class name ID of this social activity limit
147             */
148            public long getClassNameId();
149    
150            /**
151             * Sets the class name ID of this social activity limit.
152             *
153             * @param classNameId the class name ID of this social activity limit
154             */
155            public void setClassNameId(long classNameId);
156    
157            /**
158             * Returns the class p k of this social activity limit.
159             *
160             * @return the class p k of this social activity limit
161             */
162            public long getClassPK();
163    
164            /**
165             * Sets the class p k of this social activity limit.
166             *
167             * @param classPK the class p k of this social activity limit
168             */
169            public void setClassPK(long classPK);
170    
171            /**
172             * Returns the activity type of this social activity limit.
173             *
174             * @return the activity type of this social activity limit
175             */
176            public int getActivityType();
177    
178            /**
179             * Sets the activity type of this social activity limit.
180             *
181             * @param activityType the activity type of this social activity limit
182             */
183            public void setActivityType(int activityType);
184    
185            /**
186             * Returns the activity counter name of this social activity limit.
187             *
188             * @return the activity counter name of this social activity limit
189             */
190            @AutoEscape
191            public String getActivityCounterName();
192    
193            /**
194             * Sets the activity counter name of this social activity limit.
195             *
196             * @param activityCounterName the activity counter name of this social activity limit
197             */
198            public void setActivityCounterName(String activityCounterName);
199    
200            /**
201             * Returns the value of this social activity limit.
202             *
203             * @return the value of this social activity limit
204             */
205            @AutoEscape
206            public String getValue();
207    
208            /**
209             * Sets the value of this social activity limit.
210             *
211             * @param value the value of this social activity limit
212             */
213            public void setValue(String value);
214    
215            public boolean isNew();
216    
217            public void setNew(boolean n);
218    
219            public boolean isCachedModel();
220    
221            public void setCachedModel(boolean cachedModel);
222    
223            public boolean isEscapedModel();
224    
225            public Serializable getPrimaryKeyObj();
226    
227            public void setPrimaryKeyObj(Serializable primaryKeyObj);
228    
229            public ExpandoBridge getExpandoBridge();
230    
231            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
232    
233            public Object clone();
234    
235            public int compareTo(SocialActivityLimit socialActivityLimit);
236    
237            public int hashCode();
238    
239            public CacheModel<SocialActivityLimit> toCacheModel();
240    
241            public SocialActivityLimit toEscapedModel();
242    
243            public SocialActivityLimit toUnescapedModel();
244    
245            public String toString();
246    
247            public String toXmlString();
248    }