001    /**
002     * Copyright (c) 2000-2012 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            /**
185             * Returns the class name ID of this social request.
186             *
187             * @return the class name ID of this social request
188             */
189            public long getClassNameId();
190    
191            /**
192             * Sets the class name ID of this social request.
193             *
194             * @param classNameId the class name ID of this social request
195             */
196            public void setClassNameId(long classNameId);
197    
198            /**
199             * Returns the class p k of this social request.
200             *
201             * @return the class p k of this social request
202             */
203            public long getClassPK();
204    
205            /**
206             * Sets the class p k of this social request.
207             *
208             * @param classPK the class p k of this social request
209             */
210            public void setClassPK(long classPK);
211    
212            /**
213             * Returns the type of this social request.
214             *
215             * @return the type of this social request
216             */
217            public int getType();
218    
219            /**
220             * Sets the type of this social request.
221             *
222             * @param type the type of this social request
223             */
224            public void setType(int type);
225    
226            /**
227             * Returns the extra data of this social request.
228             *
229             * @return the extra data of this social request
230             */
231            @AutoEscape
232            public String getExtraData();
233    
234            /**
235             * Sets the extra data of this social request.
236             *
237             * @param extraData the extra data of this social request
238             */
239            public void setExtraData(String extraData);
240    
241            /**
242             * Returns the receiver user ID of this social request.
243             *
244             * @return the receiver user ID of this social request
245             */
246            public long getReceiverUserId();
247    
248            /**
249             * Sets the receiver user ID of this social request.
250             *
251             * @param receiverUserId the receiver user ID of this social request
252             */
253            public void setReceiverUserId(long receiverUserId);
254    
255            /**
256             * Returns the receiver user uuid of this social request.
257             *
258             * @return the receiver user uuid of this social request
259             * @throws SystemException if a system exception occurred
260             */
261            public String getReceiverUserUuid() throws SystemException;
262    
263            /**
264             * Sets the receiver user uuid of this social request.
265             *
266             * @param receiverUserUuid the receiver user uuid of this social request
267             */
268            public void setReceiverUserUuid(String receiverUserUuid);
269    
270            /**
271             * Returns the status of this social request.
272             *
273             * @return the status of this social request
274             */
275            public int getStatus();
276    
277            /**
278             * Sets the status of this social request.
279             *
280             * @param status the status of this social request
281             */
282            public void setStatus(int status);
283    
284            public boolean isNew();
285    
286            public void setNew(boolean n);
287    
288            public boolean isCachedModel();
289    
290            public void setCachedModel(boolean cachedModel);
291    
292            public boolean isEscapedModel();
293    
294            public Serializable getPrimaryKeyObj();
295    
296            public void setPrimaryKeyObj(Serializable primaryKeyObj);
297    
298            public ExpandoBridge getExpandoBridge();
299    
300            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
301    
302            public Object clone();
303    
304            public int compareTo(SocialRequest socialRequest);
305    
306            public int hashCode();
307    
308            public CacheModel<SocialRequest> toCacheModel();
309    
310            public SocialRequest toEscapedModel();
311    
312            public String toString();
313    
314            public String toXmlString();
315    }