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.portal.model;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.annotation.AutoEscape;
19  import com.liferay.portal.service.ServiceContext;
20  
21  import com.liferay.portlet.expando.model.ExpandoBridge;
22  
23  import java.io.Serializable;
24  
25  import java.util.Date;
26  
27  /**
28   * <a href="ContactModel.java.html"><b><i>View Source</i></b></a>
29   *
30   * <p>
31   * ServiceBuilder generated this class. Modifications in this class will be
32   * overwritten the next time is generated.
33   * </p>
34   *
35   * <p>
36   * This interface is a model that represents the Contact_ table in the
37   * database.
38   * </p>
39   *
40   * @author    Brian Wing Shun Chan
41   * @see       Contact
42   * @see       com.liferay.portal.model.impl.ContactImpl
43   * @see       com.liferay.portal.model.impl.ContactModelImpl
44   * @generated
45   */
46  public interface ContactModel extends BaseModel<Contact> {
47      public long getPrimaryKey();
48  
49      public void setPrimaryKey(long pk);
50  
51      public long getContactId();
52  
53      public void setContactId(long contactId);
54  
55      public long getCompanyId();
56  
57      public void setCompanyId(long companyId);
58  
59      public long getUserId();
60  
61      public void setUserId(long userId);
62  
63      public String getUserUuid() throws SystemException;
64  
65      public void setUserUuid(String userUuid);
66  
67      @AutoEscape
68      public String getUserName();
69  
70      public void setUserName(String userName);
71  
72      public Date getCreateDate();
73  
74      public void setCreateDate(Date createDate);
75  
76      public Date getModifiedDate();
77  
78      public void setModifiedDate(Date modifiedDate);
79  
80      public long getAccountId();
81  
82      public void setAccountId(long accountId);
83  
84      public long getParentContactId();
85  
86      public void setParentContactId(long parentContactId);
87  
88      @AutoEscape
89      public String getFirstName();
90  
91      public void setFirstName(String firstName);
92  
93      @AutoEscape
94      public String getMiddleName();
95  
96      public void setMiddleName(String middleName);
97  
98      @AutoEscape
99      public String getLastName();
100 
101     public void setLastName(String lastName);
102 
103     public int getPrefixId();
104 
105     public void setPrefixId(int prefixId);
106 
107     public int getSuffixId();
108 
109     public void setSuffixId(int suffixId);
110 
111     public boolean getMale();
112 
113     public boolean isMale();
114 
115     public void setMale(boolean male);
116 
117     public Date getBirthday();
118 
119     public void setBirthday(Date birthday);
120 
121     @AutoEscape
122     public String getSmsSn();
123 
124     public void setSmsSn(String smsSn);
125 
126     @AutoEscape
127     public String getAimSn();
128 
129     public void setAimSn(String aimSn);
130 
131     @AutoEscape
132     public String getFacebookSn();
133 
134     public void setFacebookSn(String facebookSn);
135 
136     @AutoEscape
137     public String getIcqSn();
138 
139     public void setIcqSn(String icqSn);
140 
141     @AutoEscape
142     public String getJabberSn();
143 
144     public void setJabberSn(String jabberSn);
145 
146     @AutoEscape
147     public String getMsnSn();
148 
149     public void setMsnSn(String msnSn);
150 
151     @AutoEscape
152     public String getMySpaceSn();
153 
154     public void setMySpaceSn(String mySpaceSn);
155 
156     @AutoEscape
157     public String getSkypeSn();
158 
159     public void setSkypeSn(String skypeSn);
160 
161     @AutoEscape
162     public String getTwitterSn();
163 
164     public void setTwitterSn(String twitterSn);
165 
166     @AutoEscape
167     public String getYmSn();
168 
169     public void setYmSn(String ymSn);
170 
171     @AutoEscape
172     public String getEmployeeStatusId();
173 
174     public void setEmployeeStatusId(String employeeStatusId);
175 
176     @AutoEscape
177     public String getEmployeeNumber();
178 
179     public void setEmployeeNumber(String employeeNumber);
180 
181     @AutoEscape
182     public String getJobTitle();
183 
184     public void setJobTitle(String jobTitle);
185 
186     @AutoEscape
187     public String getJobClass();
188 
189     public void setJobClass(String jobClass);
190 
191     @AutoEscape
192     public String getHoursOfOperation();
193 
194     public void setHoursOfOperation(String hoursOfOperation);
195 
196     public boolean isNew();
197 
198     public boolean setNew(boolean n);
199 
200     public boolean isCachedModel();
201 
202     public void setCachedModel(boolean cachedModel);
203 
204     public boolean isEscapedModel();
205 
206     public void setEscapedModel(boolean escapedModel);
207 
208     public Serializable getPrimaryKeyObj();
209 
210     public ExpandoBridge getExpandoBridge();
211 
212     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
213 
214     public Object clone();
215 
216     public int compareTo(Contact contact);
217 
218     public int hashCode();
219 
220     public Contact toEscapedModel();
221 
222     public String toString();
223 
224     public String toXmlString();
225 }