001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.announcements.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.model.BaseModel;
021    import com.liferay.portal.model.CacheModel;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.expando.model.ExpandoBridge;
025    
026    import java.io.Serializable;
027    
028    /**
029     * The base model interface for the AnnouncementsDelivery service. Represents a row in the "AnnouncementsDelivery" database table, with each column mapped to a property of this class.
030     *
031     * <p>
032     * This interface and its corresponding implementation {@link com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryImpl}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see AnnouncementsDelivery
037     * @see com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryImpl
038     * @see com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface AnnouncementsDeliveryModel extends BaseModel<AnnouncementsDelivery> {
043            /*
044             * NOTE FOR DEVELOPERS:
045             *
046             * Never modify or reference this interface directly. All methods that expect a announcements delivery model instance should use the {@link AnnouncementsDelivery} interface instead.
047             */
048    
049            /**
050             * Returns the primary key of this announcements delivery.
051             *
052             * @return the primary key of this announcements delivery
053             */
054            public long getPrimaryKey();
055    
056            /**
057             * Sets the primary key of this announcements delivery.
058             *
059             * @param primaryKey the primary key of this announcements delivery
060             */
061            public void setPrimaryKey(long primaryKey);
062    
063            /**
064             * Returns the delivery ID of this announcements delivery.
065             *
066             * @return the delivery ID of this announcements delivery
067             */
068            public long getDeliveryId();
069    
070            /**
071             * Sets the delivery ID of this announcements delivery.
072             *
073             * @param deliveryId the delivery ID of this announcements delivery
074             */
075            public void setDeliveryId(long deliveryId);
076    
077            /**
078             * Returns the company ID of this announcements delivery.
079             *
080             * @return the company ID of this announcements delivery
081             */
082            public long getCompanyId();
083    
084            /**
085             * Sets the company ID of this announcements delivery.
086             *
087             * @param companyId the company ID of this announcements delivery
088             */
089            public void setCompanyId(long companyId);
090    
091            /**
092             * Returns the user ID of this announcements delivery.
093             *
094             * @return the user ID of this announcements delivery
095             */
096            public long getUserId();
097    
098            /**
099             * Sets the user ID of this announcements delivery.
100             *
101             * @param userId the user ID of this announcements delivery
102             */
103            public void setUserId(long userId);
104    
105            /**
106             * Returns the user uuid of this announcements delivery.
107             *
108             * @return the user uuid of this announcements delivery
109             */
110            public String getUserUuid();
111    
112            /**
113             * Sets the user uuid of this announcements delivery.
114             *
115             * @param userUuid the user uuid of this announcements delivery
116             */
117            public void setUserUuid(String userUuid);
118    
119            /**
120             * Returns the type of this announcements delivery.
121             *
122             * @return the type of this announcements delivery
123             */
124            @AutoEscape
125            public String getType();
126    
127            /**
128             * Sets the type of this announcements delivery.
129             *
130             * @param type the type of this announcements delivery
131             */
132            public void setType(String type);
133    
134            /**
135             * Returns the email of this announcements delivery.
136             *
137             * @return the email of this announcements delivery
138             */
139            public boolean getEmail();
140    
141            /**
142             * Returns <code>true</code> if this announcements delivery is email.
143             *
144             * @return <code>true</code> if this announcements delivery is email; <code>false</code> otherwise
145             */
146            public boolean isEmail();
147    
148            /**
149             * Sets whether this announcements delivery is email.
150             *
151             * @param email the email of this announcements delivery
152             */
153            public void setEmail(boolean email);
154    
155            /**
156             * Returns the sms of this announcements delivery.
157             *
158             * @return the sms of this announcements delivery
159             */
160            public boolean getSms();
161    
162            /**
163             * Returns <code>true</code> if this announcements delivery is sms.
164             *
165             * @return <code>true</code> if this announcements delivery is sms; <code>false</code> otherwise
166             */
167            public boolean isSms();
168    
169            /**
170             * Sets whether this announcements delivery is sms.
171             *
172             * @param sms the sms of this announcements delivery
173             */
174            public void setSms(boolean sms);
175    
176            /**
177             * Returns the website of this announcements delivery.
178             *
179             * @return the website of this announcements delivery
180             */
181            public boolean getWebsite();
182    
183            /**
184             * Returns <code>true</code> if this announcements delivery is website.
185             *
186             * @return <code>true</code> if this announcements delivery is website; <code>false</code> otherwise
187             */
188            public boolean isWebsite();
189    
190            /**
191             * Sets whether this announcements delivery is website.
192             *
193             * @param website the website of this announcements delivery
194             */
195            public void setWebsite(boolean website);
196    
197            @Override
198            public boolean isNew();
199    
200            @Override
201            public void setNew(boolean n);
202    
203            @Override
204            public boolean isCachedModel();
205    
206            @Override
207            public void setCachedModel(boolean cachedModel);
208    
209            @Override
210            public boolean isEscapedModel();
211    
212            @Override
213            public Serializable getPrimaryKeyObj();
214    
215            @Override
216            public void setPrimaryKeyObj(Serializable primaryKeyObj);
217    
218            @Override
219            public ExpandoBridge getExpandoBridge();
220    
221            @Override
222            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
223    
224            @Override
225            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
226    
227            @Override
228            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
229    
230            @Override
231            public Object clone();
232    
233            @Override
234            public int compareTo(
235                    com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery);
236    
237            @Override
238            public int hashCode();
239    
240            @Override
241            public CacheModel<com.liferay.portlet.announcements.model.AnnouncementsDelivery> toCacheModel();
242    
243            @Override
244            public com.liferay.portlet.announcements.model.AnnouncementsDelivery toEscapedModel();
245    
246            @Override
247            public com.liferay.portlet.announcements.model.AnnouncementsDelivery toUnescapedModel();
248    
249            @Override
250            public String toString();
251    
252            @Override
253            public String toXmlString();
254    }