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 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    public interface SocialActivityModel extends AttachedModel,
042            BaseModel<SocialActivity> {
043            /*
044             * NOTE FOR DEVELOPERS:
045             *
046             * Never modify or reference this interface directly. All methods that expect a social activity model instance should use the {@link SocialActivity} interface instead.
047             */
048    
049            /**
050             * Returns the primary key of this social activity.
051             *
052             * @return the primary key of this social activity
053             */
054            public long getPrimaryKey();
055    
056            /**
057             * Sets the primary key of this social activity.
058             *
059             * @param primaryKey the primary key of this social activity
060             */
061            public void setPrimaryKey(long primaryKey);
062    
063            /**
064             * Returns the activity ID of this social activity.
065             *
066             * @return the activity ID of this social activity
067             */
068            public long getActivityId();
069    
070            /**
071             * Sets the activity ID of this social activity.
072             *
073             * @param activityId the activity ID of this social activity
074             */
075            public void setActivityId(long activityId);
076    
077            /**
078             * Returns the group ID of this social activity.
079             *
080             * @return the group ID of this social activity
081             */
082            public long getGroupId();
083    
084            /**
085             * Sets the group ID of this social activity.
086             *
087             * @param groupId the group ID of this social activity
088             */
089            public void setGroupId(long groupId);
090    
091            /**
092             * Returns the company ID of this social activity.
093             *
094             * @return the company ID of this social activity
095             */
096            public long getCompanyId();
097    
098            /**
099             * Sets the company ID of this social activity.
100             *
101             * @param companyId the company ID of this social activity
102             */
103            public void setCompanyId(long companyId);
104    
105            /**
106             * Returns the user ID of this social activity.
107             *
108             * @return the user ID of this social activity
109             */
110            public long getUserId();
111    
112            /**
113             * Sets the user ID of this social activity.
114             *
115             * @param userId the user ID of this social activity
116             */
117            public void setUserId(long userId);
118    
119            /**
120             * Returns the user uuid of this social activity.
121             *
122             * @return the user uuid of this social activity
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.
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 mirror activity ID of this social activity.
150             *
151             * @return the mirror activity ID of this social activity
152             */
153            public long getMirrorActivityId();
154    
155            /**
156             * Sets the mirror activity ID of this social activity.
157             *
158             * @param mirrorActivityId the mirror activity ID of this social activity
159             */
160            public void setMirrorActivityId(long mirrorActivityId);
161    
162            /**
163             * Returns the fully qualified class name of this social activity.
164             *
165             * @return the fully qualified class name of this social activity
166             */
167            public String getClassName();
168    
169            public void setClassName(String className);
170    
171            /**
172             * Returns the class name ID of this social activity.
173             *
174             * @return the class name ID of this social activity
175             */
176            public long getClassNameId();
177    
178            /**
179             * Sets the class name ID of this social activity.
180             *
181             * @param classNameId the class name ID of this social activity
182             */
183            public void setClassNameId(long classNameId);
184    
185            /**
186             * Returns the class p k of this social activity.
187             *
188             * @return the class p k of this social activity
189             */
190            public long getClassPK();
191    
192            /**
193             * Sets the class p k of this social activity.
194             *
195             * @param classPK the class p k of this social activity
196             */
197            public void setClassPK(long classPK);
198    
199            /**
200             * Returns the type of this social activity.
201             *
202             * @return the type of this social activity
203             */
204            public int getType();
205    
206            /**
207             * Sets the type of this social activity.
208             *
209             * @param type the type of this social activity
210             */
211            public void setType(int type);
212    
213            /**
214             * Returns the extra data of this social activity.
215             *
216             * @return the extra data of this social activity
217             */
218            @AutoEscape
219            public String getExtraData();
220    
221            /**
222             * Sets the extra data of this social activity.
223             *
224             * @param extraData the extra data of this social activity
225             */
226            public void setExtraData(String extraData);
227    
228            /**
229             * Returns the receiver user ID of this social activity.
230             *
231             * @return the receiver user ID of this social activity
232             */
233            public long getReceiverUserId();
234    
235            /**
236             * Sets the receiver user ID of this social activity.
237             *
238             * @param receiverUserId the receiver user ID of this social activity
239             */
240            public void setReceiverUserId(long receiverUserId);
241    
242            /**
243             * Returns the receiver user uuid of this social activity.
244             *
245             * @return the receiver user uuid of this social activity
246             * @throws SystemException if a system exception occurred
247             */
248            public String getReceiverUserUuid() throws SystemException;
249    
250            /**
251             * Sets the receiver user uuid of this social activity.
252             *
253             * @param receiverUserUuid the receiver user uuid of this social activity
254             */
255            public void setReceiverUserUuid(String receiverUserUuid);
256    
257            public boolean isNew();
258    
259            public void setNew(boolean n);
260    
261            public boolean isCachedModel();
262    
263            public void setCachedModel(boolean cachedModel);
264    
265            public boolean isEscapedModel();
266    
267            public Serializable getPrimaryKeyObj();
268    
269            public void setPrimaryKeyObj(Serializable primaryKeyObj);
270    
271            public ExpandoBridge getExpandoBridge();
272    
273            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
274    
275            public Object clone();
276    
277            public int compareTo(SocialActivity socialActivity);
278    
279            public int hashCode();
280    
281            public CacheModel<SocialActivity> toCacheModel();
282    
283            public SocialActivity toEscapedModel();
284    
285            public SocialActivity toUnescapedModel();
286    
287            public String toString();
288    
289            public String toXmlString();
290    }