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