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="SubscriptionModel.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 Subscription table in the
33   * database.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       Subscription
38   * @see       com.liferay.portal.model.impl.SubscriptionImpl
39   * @see       com.liferay.portal.model.impl.SubscriptionModelImpl
40   * @generated
41   */
42  public interface SubscriptionModel extends BaseModel<Subscription> {
43      public long getPrimaryKey();
44  
45      public void setPrimaryKey(long pk);
46  
47      public long getSubscriptionId();
48  
49      public void setSubscriptionId(long subscriptionId);
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 getFrequency();
86  
87      public void setFrequency(String frequency);
88  
89      public Subscription toEscapedModel();
90  
91      public boolean isNew();
92  
93      public boolean setNew(boolean n);
94  
95      public boolean isCachedModel();
96  
97      public void setCachedModel(boolean cachedModel);
98  
99      public boolean isEscapedModel();
100 
101     public void setEscapedModel(boolean escapedModel);
102 
103     public Serializable getPrimaryKeyObj();
104 
105     public Object clone();
106 
107     public int compareTo(Subscription subscription);
108 
109     public int hashCode();
110 
111     public String toString();
112 
113     public String toXmlString();
114 }