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