1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.social.model;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.annotation.AutoEscape;
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 boolean isNew();
115 
116     public boolean setNew(boolean n);
117 
118     public boolean isCachedModel();
119 
120     public void setCachedModel(boolean cachedModel);
121 
122     public boolean isEscapedModel();
123 
124     public void setEscapedModel(boolean escapedModel);
125 
126     public Serializable getPrimaryKeyObj();
127 
128     public ExpandoBridge getExpandoBridge();
129 
130     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
131 
132     public Object clone();
133 
134     public int compareTo(SocialRequest socialRequest);
135 
136     public int hashCode();
137 
138     public SocialRequest toEscapedModel();
139 
140     public String toString();
141 
142     public String toXmlString();
143 }