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