1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.announcements.model;
16  
17  import com.liferay.portal.kernel.exception.SystemException;
18  import com.liferay.portal.model.BaseModel;
19  import com.liferay.portal.service.ServiceContext;
20  
21  import com.liferay.portlet.expando.model.ExpandoBridge;
22  
23  import java.io.Serializable;
24  
25  /**
26   * <a href="AnnouncementsDeliveryModel.java.html"><b><i>View Source</i></b></a>
27   *
28   * <p>
29   * ServiceBuilder generated this class. Modifications in this class will be
30   * overwritten the next time is generated.
31   * </p>
32   *
33   * <p>
34   * This interface is a model that represents the AnnouncementsDelivery table in the
35   * database.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       AnnouncementsDelivery
40   * @see       com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryImpl
41   * @see       com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
42   * @generated
43   */
44  public interface AnnouncementsDeliveryModel extends BaseModel<AnnouncementsDelivery> {
45      public long getPrimaryKey();
46  
47      public void setPrimaryKey(long pk);
48  
49      public long getDeliveryId();
50  
51      public void setDeliveryId(long deliveryId);
52  
53      public long getCompanyId();
54  
55      public void setCompanyId(long companyId);
56  
57      public long getUserId();
58  
59      public void setUserId(long userId);
60  
61      public String getUserUuid() throws SystemException;
62  
63      public void setUserUuid(String userUuid);
64  
65      public String getType();
66  
67      public void setType(String type);
68  
69      public boolean getEmail();
70  
71      public boolean isEmail();
72  
73      public void setEmail(boolean email);
74  
75      public boolean getSms();
76  
77      public boolean isSms();
78  
79      public void setSms(boolean sms);
80  
81      public boolean getWebsite();
82  
83      public boolean isWebsite();
84  
85      public void setWebsite(boolean website);
86  
87      public AnnouncementsDelivery toEscapedModel();
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 String toString();
114 
115     public String toXmlString();
116 }