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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.exception.SystemException;
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.service.ServiceContext;
024    
025    import com.liferay.portlet.expando.model.ExpandoBridge;
026    
027    import java.io.Serializable;
028    
029    /**
030     * The base model interface for the SocialActivity service. Represents a row in the "SocialActivity" database table, with each column mapped to a property of this class.
031     *
032     * <p>
033     * This interface and its corresponding implementation {@link com.liferay.portlet.social.model.impl.SocialActivityModelImpl} 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.SocialActivityImpl}.
034     * </p>
035     *
036     * @author Brian Wing Shun Chan
037     * @see SocialActivity
038     * @see com.liferay.portlet.social.model.impl.SocialActivityImpl
039     * @see com.liferay.portlet.social.model.impl.SocialActivityModelImpl
040     * @generated
041     */
042    @ProviderType
043    public interface SocialActivityModel extends AttachedModel,
044            BaseModel<SocialActivity> {
045            /*
046             * NOTE FOR DEVELOPERS:
047             *
048             * Never modify or reference this interface directly. All methods that expect a social activity model instance should use the {@link SocialActivity} interface instead.
049             */
050    
051            /**
052             * Returns the primary key of this social activity.
053             *
054             * @return the primary key of this social activity
055             */
056            public long getPrimaryKey();
057    
058            /**
059             * Sets the primary key of this social activity.
060             *
061             * @param primaryKey the primary key of this social activity
062             */
063            public void setPrimaryKey(long primaryKey);
064    
065            /**
066             * Returns the activity ID of this social activity.
067             *
068             * @return the activity ID of this social activity
069             */
070            public long getActivityId();
071    
072            /**
073             * Sets the activity ID of this social activity.
074             *
075             * @param activityId the activity ID of this social activity
076             */
077            public void setActivityId(long activityId);
078    
079            /**
080             * Returns the group ID of this social activity.
081             *
082             * @return the group ID of this social activity
083             */
084            public long getGroupId();
085    
086            /**
087             * Sets the group ID of this social activity.
088             *
089             * @param groupId the group ID of this social activity
090             */
091            public void setGroupId(long groupId);
092    
093            /**
094             * Returns the company ID of this social activity.
095             *
096             * @return the company ID of this social activity
097             */
098            public long getCompanyId();
099    
100            /**
101             * Sets the company ID of this social activity.
102             *
103             * @param companyId the company ID of this social activity
104             */
105            public void setCompanyId(long companyId);
106    
107            /**
108             * Returns the user ID of this social activity.
109             *
110             * @return the user ID of this social activity
111             */
112            public long getUserId();
113    
114            /**
115             * Sets the user ID of this social activity.
116             *
117             * @param userId the user ID of this social activity
118             */
119            public void setUserId(long userId);
120    
121            /**
122             * Returns the user uuid of this social activity.
123             *
124             * @return the user uuid of this social activity
125             * @throws SystemException if a system exception occurred
126             */
127            public String getUserUuid() throws SystemException;
128    
129            /**
130             * Sets the user uuid of this social activity.
131             *
132             * @param userUuid the user uuid of this social activity
133             */
134            public void setUserUuid(String userUuid);
135    
136            /**
137             * Returns the create date of this social activity.
138             *
139             * @return the create date of this social activity
140             */
141            public long getCreateDate();
142    
143            /**
144             * Sets the create date of this social activity.
145             *
146             * @param createDate the create date of this social activity
147             */
148            public void setCreateDate(long createDate);
149    
150            /**
151             * Returns the activity set ID of this social activity.
152             *
153             * @return the activity set ID of this social activity
154             */
155            public long getActivitySetId();
156    
157            /**
158             * Sets the activity set ID of this social activity.
159             *
160             * @param activitySetId the activity set ID of this social activity
161             */
162            public void setActivitySetId(long activitySetId);
163    
164            /**
165             * Returns the mirror activity ID of this social activity.
166             *
167             * @return the mirror activity ID of this social activity
168             */
169            public long getMirrorActivityId();
170    
171            /**
172             * Sets the mirror activity ID of this social activity.
173             *
174             * @param mirrorActivityId the mirror activity ID of this social activity
175             */
176            public void setMirrorActivityId(long mirrorActivityId);
177    
178            /**
179             * Returns the fully qualified class name of this social activity.
180             *
181             * @return the fully qualified class name of this social activity
182             */
183            @Override
184            public String getClassName();
185    
186            public void setClassName(String className);
187    
188            /**
189             * Returns the class name ID of this social activity.
190             *
191             * @return the class name ID of this social activity
192             */
193            @Override
194            public long getClassNameId();
195    
196            /**
197             * Sets the class name ID of this social activity.
198             *
199             * @param classNameId the class name ID of this social activity
200             */
201            @Override
202            public void setClassNameId(long classNameId);
203    
204            /**
205             * Returns the class p k of this social activity.
206             *
207             * @return the class p k of this social activity
208             */
209            @Override
210            public long getClassPK();
211    
212            /**
213             * Sets the class p k of this social activity.
214             *
215             * @param classPK the class p k of this social activity
216             */
217            @Override
218            public void setClassPK(long classPK);
219    
220            /**
221             * Returns the parent class name ID of this social activity.
222             *
223             * @return the parent class name ID of this social activity
224             */
225            public long getParentClassNameId();
226    
227            /**
228             * Sets the parent class name ID of this social activity.
229             *
230             * @param parentClassNameId the parent class name ID of this social activity
231             */
232            public void setParentClassNameId(long parentClassNameId);
233    
234            /**
235             * Returns the parent class p k of this social activity.
236             *
237             * @return the parent class p k of this social activity
238             */
239            public long getParentClassPK();
240    
241            /**
242             * Sets the parent class p k of this social activity.
243             *
244             * @param parentClassPK the parent class p k of this social activity
245             */
246            public void setParentClassPK(long parentClassPK);
247    
248            /**
249             * Returns the type of this social activity.
250             *
251             * @return the type of this social activity
252             */
253            public int getType();
254    
255            /**
256             * Sets the type of this social activity.
257             *
258             * @param type the type of this social activity
259             */
260            public void setType(int type);
261    
262            /**
263             * Returns the extra data of this social activity.
264             *
265             * @return the extra data of this social activity
266             */
267            public String getExtraData();
268    
269            /**
270             * Sets the extra data of this social activity.
271             *
272             * @param extraData the extra data of this social activity
273             */
274            public void setExtraData(String extraData);
275    
276            /**
277             * Returns the receiver user ID of this social activity.
278             *
279             * @return the receiver user ID of this social activity
280             */
281            public long getReceiverUserId();
282    
283            /**
284             * Sets the receiver user ID of this social activity.
285             *
286             * @param receiverUserId the receiver user ID of this social activity
287             */
288            public void setReceiverUserId(long receiverUserId);
289    
290            /**
291             * Returns the receiver user uuid of this social activity.
292             *
293             * @return the receiver user uuid of this social activity
294             * @throws SystemException if a system exception occurred
295             */
296            public String getReceiverUserUuid() throws SystemException;
297    
298            /**
299             * Sets the receiver user uuid of this social activity.
300             *
301             * @param receiverUserUuid the receiver user uuid of this social activity
302             */
303            public void setReceiverUserUuid(String receiverUserUuid);
304    
305            @Override
306            public boolean isNew();
307    
308            @Override
309            public void setNew(boolean n);
310    
311            @Override
312            public boolean isCachedModel();
313    
314            @Override
315            public void setCachedModel(boolean cachedModel);
316    
317            @Override
318            public boolean isEscapedModel();
319    
320            @Override
321            public Serializable getPrimaryKeyObj();
322    
323            @Override
324            public void setPrimaryKeyObj(Serializable primaryKeyObj);
325    
326            @Override
327            public ExpandoBridge getExpandoBridge();
328    
329            @Override
330            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
331    
332            @Override
333            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
334    
335            @Override
336            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
337    
338            @Override
339            public Object clone();
340    
341            @Override
342            public int compareTo(SocialActivity socialActivity);
343    
344            @Override
345            public int hashCode();
346    
347            @Override
348            public CacheModel<SocialActivity> toCacheModel();
349    
350            @Override
351            public SocialActivity toEscapedModel();
352    
353            @Override
354            public SocialActivity toUnescapedModel();
355    
356            @Override
357            public String toString();
358    
359            @Override
360            public String toXmlString();
361    }