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.model.ShardedModel;
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>, ShardedModel {
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            @Override
099            public long getCompanyId();
100    
101            /**
102             * Sets the company ID of this social activity.
103             *
104             * @param companyId the company ID of this social activity
105             */
106            @Override
107            public void setCompanyId(long companyId);
108    
109            /**
110             * Returns the user ID of this social activity.
111             *
112             * @return the user ID of this social activity
113             */
114            public long getUserId();
115    
116            /**
117             * Sets the user ID of this social activity.
118             *
119             * @param userId the user ID of this social activity
120             */
121            public void setUserId(long userId);
122    
123            /**
124             * Returns the user uuid of this social activity.
125             *
126             * @return the user uuid of this social activity
127             */
128            public String getUserUuid();
129    
130            /**
131             * Sets the user uuid of this social activity.
132             *
133             * @param userUuid the user uuid of this social activity
134             */
135            public void setUserUuid(String userUuid);
136    
137            /**
138             * Returns the create date of this social activity.
139             *
140             * @return the create date of this social activity
141             */
142            public long getCreateDate();
143    
144            /**
145             * Sets the create date of this social activity.
146             *
147             * @param createDate the create date of this social activity
148             */
149            public void setCreateDate(long createDate);
150    
151            /**
152             * Returns the activity set ID of this social activity.
153             *
154             * @return the activity set ID of this social activity
155             */
156            public long getActivitySetId();
157    
158            /**
159             * Sets the activity set ID of this social activity.
160             *
161             * @param activitySetId the activity set ID of this social activity
162             */
163            public void setActivitySetId(long activitySetId);
164    
165            /**
166             * Returns the mirror activity ID of this social activity.
167             *
168             * @return the mirror activity ID of this social activity
169             */
170            public long getMirrorActivityId();
171    
172            /**
173             * Sets the mirror activity ID of this social activity.
174             *
175             * @param mirrorActivityId the mirror activity ID of this social activity
176             */
177            public void setMirrorActivityId(long mirrorActivityId);
178    
179            /**
180             * Returns the fully qualified class name of this social activity.
181             *
182             * @return the fully qualified class name of this social activity
183             */
184            @Override
185            public String getClassName();
186    
187            public void setClassName(String className);
188    
189            /**
190             * Returns the class name ID of this social activity.
191             *
192             * @return the class name ID of this social activity
193             */
194            @Override
195            public long getClassNameId();
196    
197            /**
198             * Sets the class name ID of this social activity.
199             *
200             * @param classNameId the class name ID of this social activity
201             */
202            @Override
203            public void setClassNameId(long classNameId);
204    
205            /**
206             * Returns the class p k of this social activity.
207             *
208             * @return the class p k of this social activity
209             */
210            @Override
211            public long getClassPK();
212    
213            /**
214             * Sets the class p k of this social activity.
215             *
216             * @param classPK the class p k of this social activity
217             */
218            @Override
219            public void setClassPK(long classPK);
220    
221            /**
222             * Returns the parent class name ID of this social activity.
223             *
224             * @return the parent class name ID of this social activity
225             */
226            public long getParentClassNameId();
227    
228            /**
229             * Sets the parent class name ID of this social activity.
230             *
231             * @param parentClassNameId the parent class name ID of this social activity
232             */
233            public void setParentClassNameId(long parentClassNameId);
234    
235            /**
236             * Returns the parent class p k of this social activity.
237             *
238             * @return the parent class p k of this social activity
239             */
240            public long getParentClassPK();
241    
242            /**
243             * Sets the parent class p k of this social activity.
244             *
245             * @param parentClassPK the parent class p k of this social activity
246             */
247            public void setParentClassPK(long parentClassPK);
248    
249            /**
250             * Returns the type of this social activity.
251             *
252             * @return the type of this social activity
253             */
254            public int getType();
255    
256            /**
257             * Sets the type of this social activity.
258             *
259             * @param type the type of this social activity
260             */
261            public void setType(int type);
262    
263            /**
264             * Returns the extra data of this social activity.
265             *
266             * @return the extra data of this social activity
267             */
268            public String getExtraData();
269    
270            /**
271             * Sets the extra data of this social activity.
272             *
273             * @param extraData the extra data of this social activity
274             */
275            public void setExtraData(String extraData);
276    
277            /**
278             * Returns the receiver user ID of this social activity.
279             *
280             * @return the receiver user ID of this social activity
281             */
282            public long getReceiverUserId();
283    
284            /**
285             * Sets the receiver user ID of this social activity.
286             *
287             * @param receiverUserId the receiver user ID of this social activity
288             */
289            public void setReceiverUserId(long receiverUserId);
290    
291            /**
292             * Returns the receiver user uuid of this social activity.
293             *
294             * @return the receiver user uuid of this social activity
295             */
296            public String getReceiverUserUuid();
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(
343                    com.liferay.portlet.social.model.SocialActivity socialActivity);
344    
345            @Override
346            public int hashCode();
347    
348            @Override
349            public CacheModel<com.liferay.portlet.social.model.SocialActivity> toCacheModel();
350    
351            @Override
352            public com.liferay.portlet.social.model.SocialActivity toEscapedModel();
353    
354            @Override
355            public com.liferay.portlet.social.model.SocialActivity toUnescapedModel();
356    
357            @Override
358            public String toString();
359    
360            @Override
361            public String toXmlString();
362    }