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