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="WebsiteModel.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 Website table in the
33   * database.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       Website
38   * @see       com.liferay.portal.model.impl.WebsiteImpl
39   * @see       com.liferay.portal.model.impl.WebsiteModelImpl
40   * @generated
41   */
42  public interface WebsiteModel extends BaseModel<Website> {
43      public long getPrimaryKey();
44  
45      public void setPrimaryKey(long pk);
46  
47      public long getWebsiteId();
48  
49      public void setWebsiteId(long websiteId);
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 getUrl();
86  
87      public void setUrl(String url);
88  
89      public int getTypeId();
90  
91      public void setTypeId(int typeId);
92  
93      public boolean getPrimary();
94  
95      public boolean isPrimary();
96  
97      public void setPrimary(boolean primary);
98  
99      public Website toEscapedModel();
100 
101     public boolean isNew();
102 
103     public boolean setNew(boolean n);
104 
105     public boolean isCachedModel();
106 
107     public void setCachedModel(boolean cachedModel);
108 
109     public boolean isEscapedModel();
110 
111     public void setEscapedModel(boolean escapedModel);
112 
113     public Serializable getPrimaryKeyObj();
114 
115     public Object clone();
116 
117     public int compareTo(Website website);
118 
119     public int hashCode();
120 
121     public String toString();
122 
123     public String toXmlString();
124 }