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.annotation.AutoEscape;
18  import com.liferay.portal.kernel.exception.SystemException;
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 AnnouncementsDelivery 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 ExpandoBridge getExpandoBridge();
106 
107     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
108 
109     public Object clone();
110 
111     public int compareTo(AnnouncementsDelivery announcementsDelivery);
112 
113     public int hashCode();
114 
115     public String toString();
116 
117     public String toXmlString();
118 }