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