001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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 UserNotificationEvent service. Represents a row in the "UserNotificationEvent" 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.UserNotificationEventModelImpl} 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.UserNotificationEventImpl}.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see UserNotificationEvent
034     * @see com.liferay.portal.model.impl.UserNotificationEventImpl
035     * @see com.liferay.portal.model.impl.UserNotificationEventModelImpl
036     * @generated
037     */
038    public interface UserNotificationEventModel extends BaseModel<UserNotificationEvent> {
039            /*
040             * NOTE FOR DEVELOPERS:
041             *
042             * Never modify or reference this interface directly. All methods that expect a user notification event model instance should use the {@link UserNotificationEvent} interface instead.
043             */
044    
045            /**
046             * Gets the primary key of this user notification event.
047             *
048             * @return the primary key of this user notification event
049             */
050            public long getPrimaryKey();
051    
052            /**
053             * Sets the primary key of this user notification event
054             *
055             * @param primaryKey the primary key of this user notification event
056             */
057            public void setPrimaryKey(long primaryKey);
058    
059            /**
060             * Gets the uuid of this user notification event.
061             *
062             * @return the uuid of this user notification event
063             */
064            @AutoEscape
065            public String getUuid();
066    
067            /**
068             * Sets the uuid of this user notification event.
069             *
070             * @param uuid the uuid of this user notification event
071             */
072            public void setUuid(String uuid);
073    
074            /**
075             * Gets the user notification event ID of this user notification event.
076             *
077             * @return the user notification event ID of this user notification event
078             */
079            public long getUserNotificationEventId();
080    
081            /**
082             * Sets the user notification event ID of this user notification event.
083             *
084             * @param userNotificationEventId the user notification event ID of this user notification event
085             */
086            public void setUserNotificationEventId(long userNotificationEventId);
087    
088            /**
089             * Gets the company ID of this user notification event.
090             *
091             * @return the company ID of this user notification event
092             */
093            public long getCompanyId();
094    
095            /**
096             * Sets the company ID of this user notification event.
097             *
098             * @param companyId the company ID of this user notification event
099             */
100            public void setCompanyId(long companyId);
101    
102            /**
103             * Gets the user ID of this user notification event.
104             *
105             * @return the user ID of this user notification event
106             */
107            public long getUserId();
108    
109            /**
110             * Sets the user ID of this user notification event.
111             *
112             * @param userId the user ID of this user notification event
113             */
114            public void setUserId(long userId);
115    
116            /**
117             * Gets the user uuid of this user notification event.
118             *
119             * @return the user uuid of this user notification event
120             * @throws SystemException if a system exception occurred
121             */
122            public String getUserUuid() throws SystemException;
123    
124            /**
125             * Sets the user uuid of this user notification event.
126             *
127             * @param userUuid the user uuid of this user notification event
128             */
129            public void setUserUuid(String userUuid);
130    
131            /**
132             * Gets the type of this user notification event.
133             *
134             * @return the type of this user notification event
135             */
136            @AutoEscape
137            public String getType();
138    
139            /**
140             * Sets the type of this user notification event.
141             *
142             * @param type the type of this user notification event
143             */
144            public void setType(String type);
145    
146            /**
147             * Gets the timestamp of this user notification event.
148             *
149             * @return the timestamp of this user notification event
150             */
151            public long getTimestamp();
152    
153            /**
154             * Sets the timestamp of this user notification event.
155             *
156             * @param timestamp the timestamp of this user notification event
157             */
158            public void setTimestamp(long timestamp);
159    
160            /**
161             * Gets the deliver by of this user notification event.
162             *
163             * @return the deliver by of this user notification event
164             */
165            public long getDeliverBy();
166    
167            /**
168             * Sets the deliver by of this user notification event.
169             *
170             * @param deliverBy the deliver by of this user notification event
171             */
172            public void setDeliverBy(long deliverBy);
173    
174            /**
175             * Gets the payload of this user notification event.
176             *
177             * @return the payload of this user notification event
178             */
179            @AutoEscape
180            public String getPayload();
181    
182            /**
183             * Sets the payload of this user notification event.
184             *
185             * @param payload the payload of this user notification event
186             */
187            public void setPayload(String payload);
188    
189            public boolean isNew();
190    
191            public void setNew(boolean n);
192    
193            public boolean isCachedModel();
194    
195            public void setCachedModel(boolean cachedModel);
196    
197            public boolean isEscapedModel();
198    
199            public void setEscapedModel(boolean escapedModel);
200    
201            public Serializable getPrimaryKeyObj();
202    
203            public void setPrimaryKeyObj(Serializable primaryKeyObj);
204    
205            public ExpandoBridge getExpandoBridge();
206    
207            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
208    
209            public Object clone();
210    
211            public int compareTo(UserNotificationEvent userNotificationEvent);
212    
213            public int hashCode();
214    
215            public CacheModel<UserNotificationEvent> toCacheModel();
216    
217            public UserNotificationEvent toEscapedModel();
218    
219            public String toString();
220    
221            public String toXmlString();
222    }