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.AttachedModel;
021    import com.liferay.portal.model.BaseModel;
022    import com.liferay.portal.model.CacheModel;
023    import com.liferay.portal.model.StagedAuditedModel;
024    import com.liferay.portal.service.ServiceContext;
025    
026    import com.liferay.portlet.expando.model.ExpandoBridge;
027    
028    import java.io.Serializable;
029    
030    import java.util.Date;
031    
032    /**
033     * The base model interface for the AnnouncementsEntry service. Represents a row in the "AnnouncementsEntry" database table, with each column mapped to a property of this class.
034     *
035     * <p>
036     * This interface and its corresponding implementation {@link com.liferay.portlet.announcements.model.impl.AnnouncementsEntryModelImpl} 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.AnnouncementsEntryImpl}.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see AnnouncementsEntry
041     * @see com.liferay.portlet.announcements.model.impl.AnnouncementsEntryImpl
042     * @see com.liferay.portlet.announcements.model.impl.AnnouncementsEntryModelImpl
043     * @generated
044     */
045    @ProviderType
046    public interface AnnouncementsEntryModel extends AttachedModel,
047            BaseModel<AnnouncementsEntry>, StagedAuditedModel {
048            /*
049             * NOTE FOR DEVELOPERS:
050             *
051             * Never modify or reference this interface directly. All methods that expect a announcements entry model instance should use the {@link AnnouncementsEntry} interface instead.
052             */
053    
054            /**
055             * Returns the primary key of this announcements entry.
056             *
057             * @return the primary key of this announcements entry
058             */
059            public long getPrimaryKey();
060    
061            /**
062             * Sets the primary key of this announcements entry.
063             *
064             * @param primaryKey the primary key of this announcements entry
065             */
066            public void setPrimaryKey(long primaryKey);
067    
068            /**
069             * Returns the uuid of this announcements entry.
070             *
071             * @return the uuid of this announcements entry
072             */
073            @AutoEscape
074            @Override
075            public String getUuid();
076    
077            /**
078             * Sets the uuid of this announcements entry.
079             *
080             * @param uuid the uuid of this announcements entry
081             */
082            @Override
083            public void setUuid(String uuid);
084    
085            /**
086             * Returns the entry ID of this announcements entry.
087             *
088             * @return the entry ID of this announcements entry
089             */
090            public long getEntryId();
091    
092            /**
093             * Sets the entry ID of this announcements entry.
094             *
095             * @param entryId the entry ID of this announcements entry
096             */
097            public void setEntryId(long entryId);
098    
099            /**
100             * Returns the company ID of this announcements entry.
101             *
102             * @return the company ID of this announcements entry
103             */
104            @Override
105            public long getCompanyId();
106    
107            /**
108             * Sets the company ID of this announcements entry.
109             *
110             * @param companyId the company ID of this announcements entry
111             */
112            @Override
113            public void setCompanyId(long companyId);
114    
115            /**
116             * Returns the user ID of this announcements entry.
117             *
118             * @return the user ID of this announcements entry
119             */
120            @Override
121            public long getUserId();
122    
123            /**
124             * Sets the user ID of this announcements entry.
125             *
126             * @param userId the user ID of this announcements entry
127             */
128            @Override
129            public void setUserId(long userId);
130    
131            /**
132             * Returns the user uuid of this announcements entry.
133             *
134             * @return the user uuid of this announcements entry
135             */
136            @Override
137            public String getUserUuid();
138    
139            /**
140             * Sets the user uuid of this announcements entry.
141             *
142             * @param userUuid the user uuid of this announcements entry
143             */
144            @Override
145            public void setUserUuid(String userUuid);
146    
147            /**
148             * Returns the user name of this announcements entry.
149             *
150             * @return the user name of this announcements entry
151             */
152            @AutoEscape
153            @Override
154            public String getUserName();
155    
156            /**
157             * Sets the user name of this announcements entry.
158             *
159             * @param userName the user name of this announcements entry
160             */
161            @Override
162            public void setUserName(String userName);
163    
164            /**
165             * Returns the create date of this announcements entry.
166             *
167             * @return the create date of this announcements entry
168             */
169            @Override
170            public Date getCreateDate();
171    
172            /**
173             * Sets the create date of this announcements entry.
174             *
175             * @param createDate the create date of this announcements entry
176             */
177            @Override
178            public void setCreateDate(Date createDate);
179    
180            /**
181             * Returns the modified date of this announcements entry.
182             *
183             * @return the modified date of this announcements entry
184             */
185            @Override
186            public Date getModifiedDate();
187    
188            /**
189             * Sets the modified date of this announcements entry.
190             *
191             * @param modifiedDate the modified date of this announcements entry
192             */
193            @Override
194            public void setModifiedDate(Date modifiedDate);
195    
196            /**
197             * Returns the fully qualified class name of this announcements entry.
198             *
199             * @return the fully qualified class name of this announcements entry
200             */
201            @Override
202            public String getClassName();
203    
204            public void setClassName(String className);
205    
206            /**
207             * Returns the class name ID of this announcements entry.
208             *
209             * @return the class name ID of this announcements entry
210             */
211            @Override
212            public long getClassNameId();
213    
214            /**
215             * Sets the class name ID of this announcements entry.
216             *
217             * @param classNameId the class name ID of this announcements entry
218             */
219            @Override
220            public void setClassNameId(long classNameId);
221    
222            /**
223             * Returns the class p k of this announcements entry.
224             *
225             * @return the class p k of this announcements entry
226             */
227            @Override
228            public long getClassPK();
229    
230            /**
231             * Sets the class p k of this announcements entry.
232             *
233             * @param classPK the class p k of this announcements entry
234             */
235            @Override
236            public void setClassPK(long classPK);
237    
238            /**
239             * Returns the title of this announcements entry.
240             *
241             * @return the title of this announcements entry
242             */
243            @AutoEscape
244            public String getTitle();
245    
246            /**
247             * Sets the title of this announcements entry.
248             *
249             * @param title the title of this announcements entry
250             */
251            public void setTitle(String title);
252    
253            /**
254             * Returns the content of this announcements entry.
255             *
256             * @return the content of this announcements entry
257             */
258            @AutoEscape
259            public String getContent();
260    
261            /**
262             * Sets the content of this announcements entry.
263             *
264             * @param content the content of this announcements entry
265             */
266            public void setContent(String content);
267    
268            /**
269             * Returns the url of this announcements entry.
270             *
271             * @return the url of this announcements entry
272             */
273            @AutoEscape
274            public String getUrl();
275    
276            /**
277             * Sets the url of this announcements entry.
278             *
279             * @param url the url of this announcements entry
280             */
281            public void setUrl(String url);
282    
283            /**
284             * Returns the type of this announcements entry.
285             *
286             * @return the type of this announcements entry
287             */
288            @AutoEscape
289            public String getType();
290    
291            /**
292             * Sets the type of this announcements entry.
293             *
294             * @param type the type of this announcements entry
295             */
296            public void setType(String type);
297    
298            /**
299             * Returns the display date of this announcements entry.
300             *
301             * @return the display date of this announcements entry
302             */
303            public Date getDisplayDate();
304    
305            /**
306             * Sets the display date of this announcements entry.
307             *
308             * @param displayDate the display date of this announcements entry
309             */
310            public void setDisplayDate(Date displayDate);
311    
312            /**
313             * Returns the expiration date of this announcements entry.
314             *
315             * @return the expiration date of this announcements entry
316             */
317            public Date getExpirationDate();
318    
319            /**
320             * Sets the expiration date of this announcements entry.
321             *
322             * @param expirationDate the expiration date of this announcements entry
323             */
324            public void setExpirationDate(Date expirationDate);
325    
326            /**
327             * Returns the priority of this announcements entry.
328             *
329             * @return the priority of this announcements entry
330             */
331            public int getPriority();
332    
333            /**
334             * Sets the priority of this announcements entry.
335             *
336             * @param priority the priority of this announcements entry
337             */
338            public void setPriority(int priority);
339    
340            /**
341             * Returns the alert of this announcements entry.
342             *
343             * @return the alert of this announcements entry
344             */
345            public boolean getAlert();
346    
347            /**
348             * Returns <code>true</code> if this announcements entry is alert.
349             *
350             * @return <code>true</code> if this announcements entry is alert; <code>false</code> otherwise
351             */
352            public boolean isAlert();
353    
354            /**
355             * Sets whether this announcements entry is alert.
356             *
357             * @param alert the alert of this announcements entry
358             */
359            public void setAlert(boolean alert);
360    
361            @Override
362            public boolean isNew();
363    
364            @Override
365            public void setNew(boolean n);
366    
367            @Override
368            public boolean isCachedModel();
369    
370            @Override
371            public void setCachedModel(boolean cachedModel);
372    
373            @Override
374            public boolean isEscapedModel();
375    
376            @Override
377            public Serializable getPrimaryKeyObj();
378    
379            @Override
380            public void setPrimaryKeyObj(Serializable primaryKeyObj);
381    
382            @Override
383            public ExpandoBridge getExpandoBridge();
384    
385            @Override
386            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
387    
388            @Override
389            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
390    
391            @Override
392            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
393    
394            @Override
395            public Object clone();
396    
397            @Override
398            public int compareTo(
399                    com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry);
400    
401            @Override
402            public int hashCode();
403    
404            @Override
405            public CacheModel<com.liferay.portlet.announcements.model.AnnouncementsEntry> toCacheModel();
406    
407            @Override
408            public com.liferay.portlet.announcements.model.AnnouncementsEntry toEscapedModel();
409    
410            @Override
411            public com.liferay.portlet.announcements.model.AnnouncementsEntry toUnescapedModel();
412    
413            @Override
414            public String toString();
415    
416            @Override
417            public String toXmlString();
418    }