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