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