001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    import java.util.Date;
026    
027    /**
028     * <p>
029     * This interface is a model that represents the Contact_ table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       Contact
035     * @see       com.liferay.portal.model.impl.ContactImpl
036     * @see       com.liferay.portal.model.impl.ContactModelImpl
037     * @generated
038     */
039    public interface ContactModel extends BaseModel<Contact> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getContactId();
045    
046            public void setContactId(long contactId);
047    
048            public long getCompanyId();
049    
050            public void setCompanyId(long companyId);
051    
052            public long getUserId();
053    
054            public void setUserId(long userId);
055    
056            public String getUserUuid() throws SystemException;
057    
058            public void setUserUuid(String userUuid);
059    
060            @AutoEscape
061            public String getUserName();
062    
063            public void setUserName(String userName);
064    
065            public Date getCreateDate();
066    
067            public void setCreateDate(Date createDate);
068    
069            public Date getModifiedDate();
070    
071            public void setModifiedDate(Date modifiedDate);
072    
073            public long getAccountId();
074    
075            public void setAccountId(long accountId);
076    
077            public long getParentContactId();
078    
079            public void setParentContactId(long parentContactId);
080    
081            @AutoEscape
082            public String getFirstName();
083    
084            public void setFirstName(String firstName);
085    
086            @AutoEscape
087            public String getMiddleName();
088    
089            public void setMiddleName(String middleName);
090    
091            @AutoEscape
092            public String getLastName();
093    
094            public void setLastName(String lastName);
095    
096            public int getPrefixId();
097    
098            public void setPrefixId(int prefixId);
099    
100            public int getSuffixId();
101    
102            public void setSuffixId(int suffixId);
103    
104            public boolean getMale();
105    
106            public boolean isMale();
107    
108            public void setMale(boolean male);
109    
110            public Date getBirthday();
111    
112            public void setBirthday(Date birthday);
113    
114            @AutoEscape
115            public String getSmsSn();
116    
117            public void setSmsSn(String smsSn);
118    
119            @AutoEscape
120            public String getAimSn();
121    
122            public void setAimSn(String aimSn);
123    
124            @AutoEscape
125            public String getFacebookSn();
126    
127            public void setFacebookSn(String facebookSn);
128    
129            @AutoEscape
130            public String getIcqSn();
131    
132            public void setIcqSn(String icqSn);
133    
134            @AutoEscape
135            public String getJabberSn();
136    
137            public void setJabberSn(String jabberSn);
138    
139            @AutoEscape
140            public String getMsnSn();
141    
142            public void setMsnSn(String msnSn);
143    
144            @AutoEscape
145            public String getMySpaceSn();
146    
147            public void setMySpaceSn(String mySpaceSn);
148    
149            @AutoEscape
150            public String getSkypeSn();
151    
152            public void setSkypeSn(String skypeSn);
153    
154            @AutoEscape
155            public String getTwitterSn();
156    
157            public void setTwitterSn(String twitterSn);
158    
159            @AutoEscape
160            public String getYmSn();
161    
162            public void setYmSn(String ymSn);
163    
164            @AutoEscape
165            public String getEmployeeStatusId();
166    
167            public void setEmployeeStatusId(String employeeStatusId);
168    
169            @AutoEscape
170            public String getEmployeeNumber();
171    
172            public void setEmployeeNumber(String employeeNumber);
173    
174            @AutoEscape
175            public String getJobTitle();
176    
177            public void setJobTitle(String jobTitle);
178    
179            @AutoEscape
180            public String getJobClass();
181    
182            public void setJobClass(String jobClass);
183    
184            @AutoEscape
185            public String getHoursOfOperation();
186    
187            public void setHoursOfOperation(String hoursOfOperation);
188    
189            public Contact toEscapedModel();
190    
191            public boolean isNew();
192    
193            public void setNew(boolean n);
194    
195            public boolean isCachedModel();
196    
197            public void setCachedModel(boolean cachedModel);
198    
199            public boolean isEscapedModel();
200    
201            public void setEscapedModel(boolean escapedModel);
202    
203            public Serializable getPrimaryKeyObj();
204    
205            public ExpandoBridge getExpandoBridge();
206    
207            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
208    
209            public Object clone();
210    
211            public int compareTo(Contact contact);
212    
213            public int hashCode();
214    
215            public String toString();
216    
217            public String toXmlString();
218    }