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="PhoneModel.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 Phone table in the
33   * database.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       Phone
38   * @see       com.liferay.portal.model.impl.PhoneImpl
39   * @see       com.liferay.portal.model.impl.PhoneModelImpl
40   * @generated
41   */
42  public interface PhoneModel extends BaseModel<Phone> {
43      public long getPrimaryKey();
44  
45      public void setPrimaryKey(long pk);
46  
47      public long getPhoneId();
48  
49      public void setPhoneId(long phoneId);
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 String getClassName();
76  
77      public long getClassNameId();
78  
79      public void setClassNameId(long classNameId);
80  
81      public long getClassPK();
82  
83      public void setClassPK(long classPK);
84  
85      public String getNumber();
86  
87      public void setNumber(String number);
88  
89      public String getExtension();
90  
91      public void setExtension(String extension);
92  
93      public int getTypeId();
94  
95      public void setTypeId(int typeId);
96  
97      public boolean getPrimary();
98  
99      public boolean isPrimary();
100 
101     public void setPrimary(boolean primary);
102 
103     public Phone toEscapedModel();
104 
105     public boolean isNew();
106 
107     public boolean setNew(boolean n);
108 
109     public boolean isCachedModel();
110 
111     public void setCachedModel(boolean cachedModel);
112 
113     public boolean isEscapedModel();
114 
115     public void setEscapedModel(boolean escapedModel);
116 
117     public Serializable getPrimaryKeyObj();
118 
119     public Object clone();
120 
121     public int compareTo(Phone phone);
122 
123     public int hashCode();
124 
125     public String toString();
126 
127     public String toXmlString();
128 }