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.portal.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    /**
027     * The base model interface for the UserNotificationDelivery service. Represents a row in the "UserNotificationDelivery" database table, with each column mapped to a property of this class.
028     *
029     * <p>
030     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.UserNotificationDeliveryModelImpl} 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.portal.model.impl.UserNotificationDeliveryImpl}.
031     * </p>
032     *
033     * @author Brian Wing Shun Chan
034     * @see UserNotificationDelivery
035     * @see com.liferay.portal.model.impl.UserNotificationDeliveryImpl
036     * @see com.liferay.portal.model.impl.UserNotificationDeliveryModelImpl
037     * @generated
038     */
039    @ProviderType
040    public interface UserNotificationDeliveryModel extends BaseModel<UserNotificationDelivery>,
041            MVCCModel, TypedModel {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. All methods that expect a user notification delivery model instance should use the {@link UserNotificationDelivery} interface instead.
046             */
047    
048            /**
049             * Returns the primary key of this user notification delivery.
050             *
051             * @return the primary key of this user notification delivery
052             */
053            public long getPrimaryKey();
054    
055            /**
056             * Sets the primary key of this user notification delivery.
057             *
058             * @param primaryKey the primary key of this user notification delivery
059             */
060            public void setPrimaryKey(long primaryKey);
061    
062            /**
063             * Returns the mvcc version of this user notification delivery.
064             *
065             * @return the mvcc version of this user notification delivery
066             */
067            @Override
068            public long getMvccVersion();
069    
070            /**
071             * Sets the mvcc version of this user notification delivery.
072             *
073             * @param mvccVersion the mvcc version of this user notification delivery
074             */
075            @Override
076            public void setMvccVersion(long mvccVersion);
077    
078            /**
079             * Returns the user notification delivery ID of this user notification delivery.
080             *
081             * @return the user notification delivery ID of this user notification delivery
082             */
083            public long getUserNotificationDeliveryId();
084    
085            /**
086             * Sets the user notification delivery ID of this user notification delivery.
087             *
088             * @param userNotificationDeliveryId the user notification delivery ID of this user notification delivery
089             */
090            public void setUserNotificationDeliveryId(long userNotificationDeliveryId);
091    
092            /**
093             * Returns the company ID of this user notification delivery.
094             *
095             * @return the company ID of this user notification delivery
096             */
097            public long getCompanyId();
098    
099            /**
100             * Sets the company ID of this user notification delivery.
101             *
102             * @param companyId the company ID of this user notification delivery
103             */
104            public void setCompanyId(long companyId);
105    
106            /**
107             * Returns the user ID of this user notification delivery.
108             *
109             * @return the user ID of this user notification delivery
110             */
111            public long getUserId();
112    
113            /**
114             * Sets the user ID of this user notification delivery.
115             *
116             * @param userId the user ID of this user notification delivery
117             */
118            public void setUserId(long userId);
119    
120            /**
121             * Returns the user uuid of this user notification delivery.
122             *
123             * @return the user uuid of this user notification delivery
124             */
125            public String getUserUuid();
126    
127            /**
128             * Sets the user uuid of this user notification delivery.
129             *
130             * @param userUuid the user uuid of this user notification delivery
131             */
132            public void setUserUuid(String userUuid);
133    
134            /**
135             * Returns the portlet ID of this user notification delivery.
136             *
137             * @return the portlet ID of this user notification delivery
138             */
139            @AutoEscape
140            public String getPortletId();
141    
142            /**
143             * Sets the portlet ID of this user notification delivery.
144             *
145             * @param portletId the portlet ID of this user notification delivery
146             */
147            public void setPortletId(String portletId);
148    
149            /**
150             * Returns the fully qualified class name of this user notification delivery.
151             *
152             * @return the fully qualified class name of this user notification delivery
153             */
154            @Override
155            public String getClassName();
156    
157            public void setClassName(String className);
158    
159            /**
160             * Returns the class name ID of this user notification delivery.
161             *
162             * @return the class name ID of this user notification delivery
163             */
164            @Override
165            public long getClassNameId();
166    
167            /**
168             * Sets the class name ID of this user notification delivery.
169             *
170             * @param classNameId the class name ID of this user notification delivery
171             */
172            @Override
173            public void setClassNameId(long classNameId);
174    
175            /**
176             * Returns the notification type of this user notification delivery.
177             *
178             * @return the notification type of this user notification delivery
179             */
180            public int getNotificationType();
181    
182            /**
183             * Sets the notification type of this user notification delivery.
184             *
185             * @param notificationType the notification type of this user notification delivery
186             */
187            public void setNotificationType(int notificationType);
188    
189            /**
190             * Returns the delivery type of this user notification delivery.
191             *
192             * @return the delivery type of this user notification delivery
193             */
194            public int getDeliveryType();
195    
196            /**
197             * Sets the delivery type of this user notification delivery.
198             *
199             * @param deliveryType the delivery type of this user notification delivery
200             */
201            public void setDeliveryType(int deliveryType);
202    
203            /**
204             * Returns the deliver of this user notification delivery.
205             *
206             * @return the deliver of this user notification delivery
207             */
208            public boolean getDeliver();
209    
210            /**
211             * Returns <code>true</code> if this user notification delivery is deliver.
212             *
213             * @return <code>true</code> if this user notification delivery is deliver; <code>false</code> otherwise
214             */
215            public boolean isDeliver();
216    
217            /**
218             * Sets whether this user notification delivery is deliver.
219             *
220             * @param deliver the deliver of this user notification delivery
221             */
222            public void setDeliver(boolean deliver);
223    
224            @Override
225            public boolean isNew();
226    
227            @Override
228            public void setNew(boolean n);
229    
230            @Override
231            public boolean isCachedModel();
232    
233            @Override
234            public void setCachedModel(boolean cachedModel);
235    
236            @Override
237            public boolean isEscapedModel();
238    
239            @Override
240            public Serializable getPrimaryKeyObj();
241    
242            @Override
243            public void setPrimaryKeyObj(Serializable primaryKeyObj);
244    
245            @Override
246            public ExpandoBridge getExpandoBridge();
247    
248            @Override
249            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
250    
251            @Override
252            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
253    
254            @Override
255            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
256    
257            @Override
258            public Object clone();
259    
260            @Override
261            public int compareTo(
262                    com.liferay.portal.model.UserNotificationDelivery userNotificationDelivery);
263    
264            @Override
265            public int hashCode();
266    
267            @Override
268            public CacheModel<com.liferay.portal.model.UserNotificationDelivery> toCacheModel();
269    
270            @Override
271            public com.liferay.portal.model.UserNotificationDelivery toEscapedModel();
272    
273            @Override
274            public com.liferay.portal.model.UserNotificationDelivery toUnescapedModel();
275    
276            @Override
277            public String toString();
278    
279            @Override
280            public String toXmlString();
281    }