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.announcements.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  /**
27   * <a href="AnnouncementsDeliveryModel.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This interface is a model that represents the AnnouncementsDelivery table in the
36   * database.
37   * </p>
38   *
39   * @author    Brian Wing Shun Chan
40   * @see       AnnouncementsDelivery
41   * @see       com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryImpl
42   * @see       com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
43   * @generated
44   */
45  public interface AnnouncementsDeliveryModel extends BaseModel<AnnouncementsDelivery> {
46      public long getPrimaryKey();
47  
48      public void setPrimaryKey(long pk);
49  
50      public long getDeliveryId();
51  
52      public void setDeliveryId(long deliveryId);
53  
54      public long getCompanyId();
55  
56      public void setCompanyId(long companyId);
57  
58      public long getUserId();
59  
60      public void setUserId(long userId);
61  
62      public String getUserUuid() throws SystemException;
63  
64      public void setUserUuid(String userUuid);
65  
66      @AutoEscape
67      public String getType();
68  
69      public void setType(String type);
70  
71      public boolean getEmail();
72  
73      public boolean isEmail();
74  
75      public void setEmail(boolean email);
76  
77      public boolean getSms();
78  
79      public boolean isSms();
80  
81      public void setSms(boolean sms);
82  
83      public boolean getWebsite();
84  
85      public boolean isWebsite();
86  
87      public void setWebsite(boolean website);
88  
89      public boolean isNew();
90  
91      public boolean setNew(boolean n);
92  
93      public boolean isCachedModel();
94  
95      public void setCachedModel(boolean cachedModel);
96  
97      public boolean isEscapedModel();
98  
99      public void setEscapedModel(boolean escapedModel);
100 
101     public Serializable getPrimaryKeyObj();
102 
103     public ExpandoBridge getExpandoBridge();
104 
105     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
106 
107     public Object clone();
108 
109     public int compareTo(AnnouncementsDelivery announcementsDelivery);
110 
111     public int hashCode();
112 
113     public AnnouncementsDelivery toEscapedModel();
114 
115     public String toString();
116 
117     public String toXmlString();
118 }