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.portlet.ratings.model;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.annotation.AutoEscape;
19  import com.liferay.portal.model.BaseModel;
20  import com.liferay.portal.service.ServiceContext;
21  
22  import com.liferay.portlet.expando.model.ExpandoBridge;
23  
24  import java.io.Serializable;
25  
26  import java.util.Date;
27  
28  /**
29   * <a href="RatingsEntryModel.java.html"><b><i>View Source</i></b></a>
30   *
31   * <p>
32   * ServiceBuilder generated this class. Modifications in this class will be
33   * overwritten the next time is generated.
34   * </p>
35   *
36   * <p>
37   * This interface is a model that represents the RatingsEntry table in the
38   * database.
39   * </p>
40   *
41   * @author    Brian Wing Shun Chan
42   * @see       RatingsEntry
43   * @see       com.liferay.portlet.ratings.model.impl.RatingsEntryImpl
44   * @see       com.liferay.portlet.ratings.model.impl.RatingsEntryModelImpl
45   * @generated
46   */
47  public interface RatingsEntryModel extends BaseModel<RatingsEntry> {
48      public long getPrimaryKey();
49  
50      public void setPrimaryKey(long pk);
51  
52      public long getEntryId();
53  
54      public void setEntryId(long entryId);
55  
56      public long getCompanyId();
57  
58      public void setCompanyId(long companyId);
59  
60      public long getUserId();
61  
62      public void setUserId(long userId);
63  
64      public String getUserUuid() throws SystemException;
65  
66      public void setUserUuid(String userUuid);
67  
68      @AutoEscape
69      public String getUserName();
70  
71      public void setUserName(String userName);
72  
73      public Date getCreateDate();
74  
75      public void setCreateDate(Date createDate);
76  
77      public Date getModifiedDate();
78  
79      public void setModifiedDate(Date modifiedDate);
80  
81      public String getClassName();
82  
83      public long getClassNameId();
84  
85      public void setClassNameId(long classNameId);
86  
87      public long getClassPK();
88  
89      public void setClassPK(long classPK);
90  
91      public double getScore();
92  
93      public void setScore(double score);
94  
95      public boolean isNew();
96  
97      public boolean setNew(boolean n);
98  
99      public boolean isCachedModel();
100 
101     public void setCachedModel(boolean cachedModel);
102 
103     public boolean isEscapedModel();
104 
105     public void setEscapedModel(boolean escapedModel);
106 
107     public Serializable getPrimaryKeyObj();
108 
109     public ExpandoBridge getExpandoBridge();
110 
111     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
112 
113     public Object clone();
114 
115     public int compareTo(RatingsEntry ratingsEntry);
116 
117     public int hashCode();
118 
119     public RatingsEntry toEscapedModel();
120 
121     public String toString();
122 
123     public String toXmlString();
124 }