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