1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.social.model;
16  
17  import com.liferay.portal.kernel.annotation.AutoEscape;
18  import com.liferay.portal.kernel.exception.SystemException;
19  import com.liferay.portal.model.BaseModel;
20  import com.liferay.portal.service.ServiceContext;
21  
22  import com.liferay.portlet.expando.model.ExpandoBridge;
23  
24  import java.io.Serializable;
25  
26  /**
27   * <a href="SocialRequestModel.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This interface is a model that represents the SocialRequest table in the
36   * database.
37   * </p>
38   *
39   * @author    Brian Wing Shun Chan
40   * @see       SocialRequest
41   * @see       com.liferay.portlet.social.model.impl.SocialRequestImpl
42   * @see       com.liferay.portlet.social.model.impl.SocialRequestModelImpl
43   * @generated
44   */
45  public interface SocialRequestModel extends BaseModel<SocialRequest> {
46      public long getPrimaryKey();
47  
48      public void setPrimaryKey(long pk);
49  
50      @AutoEscape
51      public String getUuid();
52  
53      public void setUuid(String uuid);
54  
55      public long getRequestId();
56  
57      public void setRequestId(long requestId);
58  
59      public long getGroupId();
60  
61      public void setGroupId(long groupId);
62  
63      public long getCompanyId();
64  
65      public void setCompanyId(long companyId);
66  
67      public long getUserId();
68  
69      public void setUserId(long userId);
70  
71      public String getUserUuid() throws SystemException;
72  
73      public void setUserUuid(String userUuid);
74  
75      public long getCreateDate();
76  
77      public void setCreateDate(long createDate);
78  
79      public long getModifiedDate();
80  
81      public void setModifiedDate(long modifiedDate);
82  
83      public String getClassName();
84  
85      public long getClassNameId();
86  
87      public void setClassNameId(long classNameId);
88  
89      public long getClassPK();
90  
91      public void setClassPK(long classPK);
92  
93      public int getType();
94  
95      public void setType(int type);
96  
97      @AutoEscape
98      public String getExtraData();
99  
100     public void setExtraData(String extraData);
101 
102     public long getReceiverUserId();
103 
104     public void setReceiverUserId(long receiverUserId);
105 
106     public String getReceiverUserUuid() throws SystemException;
107 
108     public void setReceiverUserUuid(String receiverUserUuid);
109 
110     public int getStatus();
111 
112     public void setStatus(int status);
113 
114     public SocialRequest toEscapedModel();
115 
116     public boolean isNew();
117 
118     public boolean setNew(boolean n);
119 
120     public boolean isCachedModel();
121 
122     public void setCachedModel(boolean cachedModel);
123 
124     public boolean isEscapedModel();
125 
126     public void setEscapedModel(boolean escapedModel);
127 
128     public Serializable getPrimaryKeyObj();
129 
130     public ExpandoBridge getExpandoBridge();
131 
132     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
133 
134     public Object clone();
135 
136     public int compareTo(SocialRequest socialRequest);
137 
138     public int hashCode();
139 
140     public String toString();
141 
142     public String toXmlString();
143 }