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