001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.model.AttachedModel;
021    import com.liferay.portal.model.BaseModel;
022    import com.liferay.portal.model.CacheModel;
023    import com.liferay.portal.service.ServiceContext;
024    
025    import com.liferay.portlet.expando.model.ExpandoBridge;
026    
027    import java.io.Serializable;
028    
029    /**
030     * 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.
031     *
032     * <p>
033     * 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}.
034     * </p>
035     *
036     * @author Brian Wing Shun Chan
037     * @see SocialRequest
038     * @see com.liferay.portlet.social.model.impl.SocialRequestImpl
039     * @see com.liferay.portlet.social.model.impl.SocialRequestModelImpl
040     * @generated
041     */
042    @ProviderType
043    public interface SocialRequestModel extends AttachedModel,
044            BaseModel<SocialRequest> {
045            /*
046             * NOTE FOR DEVELOPERS:
047             *
048             * Never modify or reference this interface directly. All methods that expect a social request model instance should use the {@link SocialRequest} interface instead.
049             */
050    
051            /**
052             * Returns the primary key of this social request.
053             *
054             * @return the primary key of this social request
055             */
056            public long getPrimaryKey();
057    
058            /**
059             * Sets the primary key of this social request.
060             *
061             * @param primaryKey the primary key of this social request
062             */
063            public void setPrimaryKey(long primaryKey);
064    
065            /**
066             * Returns the uuid of this social request.
067             *
068             * @return the uuid of this social request
069             */
070            @AutoEscape
071            public String getUuid();
072    
073            /**
074             * Sets the uuid of this social request.
075             *
076             * @param uuid the uuid of this social request
077             */
078            public void setUuid(String uuid);
079    
080            /**
081             * Returns the request ID of this social request.
082             *
083             * @return the request ID of this social request
084             */
085            public long getRequestId();
086    
087            /**
088             * Sets the request ID of this social request.
089             *
090             * @param requestId the request ID of this social request
091             */
092            public void setRequestId(long requestId);
093    
094            /**
095             * Returns the group ID of this social request.
096             *
097             * @return the group ID of this social request
098             */
099            public long getGroupId();
100    
101            /**
102             * Sets the group ID of this social request.
103             *
104             * @param groupId the group ID of this social request
105             */
106            public void setGroupId(long groupId);
107    
108            /**
109             * Returns the company ID of this social request.
110             *
111             * @return the company ID of this social request
112             */
113            public long getCompanyId();
114    
115            /**
116             * Sets the company ID of this social request.
117             *
118             * @param companyId the company ID of this social request
119             */
120            public void setCompanyId(long companyId);
121    
122            /**
123             * Returns the user ID of this social request.
124             *
125             * @return the user ID of this social request
126             */
127            public long getUserId();
128    
129            /**
130             * Sets the user ID of this social request.
131             *
132             * @param userId the user ID of this social request
133             */
134            public void setUserId(long userId);
135    
136            /**
137             * Returns the user uuid of this social request.
138             *
139             * @return the user uuid of this social request
140             */
141            public String getUserUuid();
142    
143            /**
144             * Sets the user uuid of this social request.
145             *
146             * @param userUuid the user uuid of this social request
147             */
148            public void setUserUuid(String userUuid);
149    
150            /**
151             * Returns the create date of this social request.
152             *
153             * @return the create date of this social request
154             */
155            public long getCreateDate();
156    
157            /**
158             * Sets the create date of this social request.
159             *
160             * @param createDate the create date of this social request
161             */
162            public void setCreateDate(long createDate);
163    
164            /**
165             * Returns the modified date of this social request.
166             *
167             * @return the modified date of this social request
168             */
169            public long getModifiedDate();
170    
171            /**
172             * Sets the modified date of this social request.
173             *
174             * @param modifiedDate the modified date of this social request
175             */
176            public void setModifiedDate(long modifiedDate);
177    
178            /**
179             * Returns the fully qualified class name of this social request.
180             *
181             * @return the fully qualified class name of this social request
182             */
183            @Override
184            public String getClassName();
185    
186            public void setClassName(String className);
187    
188            /**
189             * Returns the class name ID of this social request.
190             *
191             * @return the class name ID of this social request
192             */
193            @Override
194            public long getClassNameId();
195    
196            /**
197             * Sets the class name ID of this social request.
198             *
199             * @param classNameId the class name ID of this social request
200             */
201            @Override
202            public void setClassNameId(long classNameId);
203    
204            /**
205             * Returns the class p k of this social request.
206             *
207             * @return the class p k of this social request
208             */
209            @Override
210            public long getClassPK();
211    
212            /**
213             * Sets the class p k of this social request.
214             *
215             * @param classPK the class p k of this social request
216             */
217            @Override
218            public void setClassPK(long classPK);
219    
220            /**
221             * Returns the type of this social request.
222             *
223             * @return the type of this social request
224             */
225            public int getType();
226    
227            /**
228             * Sets the type of this social request.
229             *
230             * @param type the type of this social request
231             */
232            public void setType(int type);
233    
234            /**
235             * Returns the extra data of this social request.
236             *
237             * @return the extra data of this social request
238             */
239            @AutoEscape
240            public String getExtraData();
241    
242            /**
243             * Sets the extra data of this social request.
244             *
245             * @param extraData the extra data of this social request
246             */
247            public void setExtraData(String extraData);
248    
249            /**
250             * Returns the receiver user ID of this social request.
251             *
252             * @return the receiver user ID of this social request
253             */
254            public long getReceiverUserId();
255    
256            /**
257             * Sets the receiver user ID of this social request.
258             *
259             * @param receiverUserId the receiver user ID of this social request
260             */
261            public void setReceiverUserId(long receiverUserId);
262    
263            /**
264             * Returns the receiver user uuid of this social request.
265             *
266             * @return the receiver user uuid of this social request
267             */
268            public String getReceiverUserUuid();
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(
329                    com.liferay.portlet.social.model.SocialRequest socialRequest);
330    
331            @Override
332            public int hashCode();
333    
334            @Override
335            public CacheModel<com.liferay.portlet.social.model.SocialRequest> toCacheModel();
336    
337            @Override
338            public com.liferay.portlet.social.model.SocialRequest toEscapedModel();
339    
340            @Override
341            public com.liferay.portlet.social.model.SocialRequest toUnescapedModel();
342    
343            @Override
344            public String toString();
345    
346            @Override
347            public String toXmlString();
348    }