001    /**
002     * Copyright (c) 2000-2010 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.portlet.announcements.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link AnnouncementsEntry}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AnnouncementsEntry
024     * @generated
025     */
026    public class AnnouncementsEntryWrapper implements AnnouncementsEntry {
027            public AnnouncementsEntryWrapper(AnnouncementsEntry announcementsEntry) {
028                    _announcementsEntry = announcementsEntry;
029            }
030    
031            /**
032            * Gets the primary key of this announcements entry.
033            *
034            * @return the primary key of this announcements entry
035            */
036            public long getPrimaryKey() {
037                    return _announcementsEntry.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this announcements entry
042            *
043            * @param pk the primary key of this announcements entry
044            */
045            public void setPrimaryKey(long pk) {
046                    _announcementsEntry.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this announcements entry.
051            *
052            * @return the uuid of this announcements entry
053            */
054            public java.lang.String getUuid() {
055                    return _announcementsEntry.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this announcements entry.
060            *
061            * @param uuid the uuid of this announcements entry
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _announcementsEntry.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the entry id of this announcements entry.
069            *
070            * @return the entry id of this announcements entry
071            */
072            public long getEntryId() {
073                    return _announcementsEntry.getEntryId();
074            }
075    
076            /**
077            * Sets the entry id of this announcements entry.
078            *
079            * @param entryId the entry id of this announcements entry
080            */
081            public void setEntryId(long entryId) {
082                    _announcementsEntry.setEntryId(entryId);
083            }
084    
085            /**
086            * Gets the company id of this announcements entry.
087            *
088            * @return the company id of this announcements entry
089            */
090            public long getCompanyId() {
091                    return _announcementsEntry.getCompanyId();
092            }
093    
094            /**
095            * Sets the company id of this announcements entry.
096            *
097            * @param companyId the company id of this announcements entry
098            */
099            public void setCompanyId(long companyId) {
100                    _announcementsEntry.setCompanyId(companyId);
101            }
102    
103            /**
104            * Gets the user id of this announcements entry.
105            *
106            * @return the user id of this announcements entry
107            */
108            public long getUserId() {
109                    return _announcementsEntry.getUserId();
110            }
111    
112            /**
113            * Sets the user id of this announcements entry.
114            *
115            * @param userId the user id of this announcements entry
116            */
117            public void setUserId(long userId) {
118                    _announcementsEntry.setUserId(userId);
119            }
120    
121            /**
122            * Gets the user uuid of this announcements entry.
123            *
124            * @return the user uuid of this announcements entry
125            * @throws SystemException if a system exception occurred
126            */
127            public java.lang.String getUserUuid()
128                    throws com.liferay.portal.kernel.exception.SystemException {
129                    return _announcementsEntry.getUserUuid();
130            }
131    
132            /**
133            * Sets the user uuid of this announcements entry.
134            *
135            * @param userUuid the user uuid of this announcements entry
136            */
137            public void setUserUuid(java.lang.String userUuid) {
138                    _announcementsEntry.setUserUuid(userUuid);
139            }
140    
141            /**
142            * Gets the user name of this announcements entry.
143            *
144            * @return the user name of this announcements entry
145            */
146            public java.lang.String getUserName() {
147                    return _announcementsEntry.getUserName();
148            }
149    
150            /**
151            * Sets the user name of this announcements entry.
152            *
153            * @param userName the user name of this announcements entry
154            */
155            public void setUserName(java.lang.String userName) {
156                    _announcementsEntry.setUserName(userName);
157            }
158    
159            /**
160            * Gets the create date of this announcements entry.
161            *
162            * @return the create date of this announcements entry
163            */
164            public java.util.Date getCreateDate() {
165                    return _announcementsEntry.getCreateDate();
166            }
167    
168            /**
169            * Sets the create date of this announcements entry.
170            *
171            * @param createDate the create date of this announcements entry
172            */
173            public void setCreateDate(java.util.Date createDate) {
174                    _announcementsEntry.setCreateDate(createDate);
175            }
176    
177            /**
178            * Gets the modified date of this announcements entry.
179            *
180            * @return the modified date of this announcements entry
181            */
182            public java.util.Date getModifiedDate() {
183                    return _announcementsEntry.getModifiedDate();
184            }
185    
186            /**
187            * Sets the modified date of this announcements entry.
188            *
189            * @param modifiedDate the modified date of this announcements entry
190            */
191            public void setModifiedDate(java.util.Date modifiedDate) {
192                    _announcementsEntry.setModifiedDate(modifiedDate);
193            }
194    
195            /**
196            * Gets the class name of the model instance this announcements entry is polymorphically associated with.
197            *
198            * @return the class name of the model instance this announcements entry is polymorphically associated with
199            */
200            public java.lang.String getClassName() {
201                    return _announcementsEntry.getClassName();
202            }
203    
204            /**
205            * Gets the class name id of this announcements entry.
206            *
207            * @return the class name id of this announcements entry
208            */
209            public long getClassNameId() {
210                    return _announcementsEntry.getClassNameId();
211            }
212    
213            /**
214            * Sets the class name id of this announcements entry.
215            *
216            * @param classNameId the class name id of this announcements entry
217            */
218            public void setClassNameId(long classNameId) {
219                    _announcementsEntry.setClassNameId(classNameId);
220            }
221    
222            /**
223            * Gets the class p k of this announcements entry.
224            *
225            * @return the class p k of this announcements entry
226            */
227            public long getClassPK() {
228                    return _announcementsEntry.getClassPK();
229            }
230    
231            /**
232            * Sets the class p k of this announcements entry.
233            *
234            * @param classPK the class p k of this announcements entry
235            */
236            public void setClassPK(long classPK) {
237                    _announcementsEntry.setClassPK(classPK);
238            }
239    
240            /**
241            * Gets the title of this announcements entry.
242            *
243            * @return the title of this announcements entry
244            */
245            public java.lang.String getTitle() {
246                    return _announcementsEntry.getTitle();
247            }
248    
249            /**
250            * Sets the title of this announcements entry.
251            *
252            * @param title the title of this announcements entry
253            */
254            public void setTitle(java.lang.String title) {
255                    _announcementsEntry.setTitle(title);
256            }
257    
258            /**
259            * Gets the content of this announcements entry.
260            *
261            * @return the content of this announcements entry
262            */
263            public java.lang.String getContent() {
264                    return _announcementsEntry.getContent();
265            }
266    
267            /**
268            * Sets the content of this announcements entry.
269            *
270            * @param content the content of this announcements entry
271            */
272            public void setContent(java.lang.String content) {
273                    _announcementsEntry.setContent(content);
274            }
275    
276            /**
277            * Gets the url of this announcements entry.
278            *
279            * @return the url of this announcements entry
280            */
281            public java.lang.String getUrl() {
282                    return _announcementsEntry.getUrl();
283            }
284    
285            /**
286            * Sets the url of this announcements entry.
287            *
288            * @param url the url of this announcements entry
289            */
290            public void setUrl(java.lang.String url) {
291                    _announcementsEntry.setUrl(url);
292            }
293    
294            /**
295            * Gets the type of this announcements entry.
296            *
297            * @return the type of this announcements entry
298            */
299            public java.lang.String getType() {
300                    return _announcementsEntry.getType();
301            }
302    
303            /**
304            * Sets the type of this announcements entry.
305            *
306            * @param type the type of this announcements entry
307            */
308            public void setType(java.lang.String type) {
309                    _announcementsEntry.setType(type);
310            }
311    
312            /**
313            * Gets the display date of this announcements entry.
314            *
315            * @return the display date of this announcements entry
316            */
317            public java.util.Date getDisplayDate() {
318                    return _announcementsEntry.getDisplayDate();
319            }
320    
321            /**
322            * Sets the display date of this announcements entry.
323            *
324            * @param displayDate the display date of this announcements entry
325            */
326            public void setDisplayDate(java.util.Date displayDate) {
327                    _announcementsEntry.setDisplayDate(displayDate);
328            }
329    
330            /**
331            * Gets the expiration date of this announcements entry.
332            *
333            * @return the expiration date of this announcements entry
334            */
335            public java.util.Date getExpirationDate() {
336                    return _announcementsEntry.getExpirationDate();
337            }
338    
339            /**
340            * Sets the expiration date of this announcements entry.
341            *
342            * @param expirationDate the expiration date of this announcements entry
343            */
344            public void setExpirationDate(java.util.Date expirationDate) {
345                    _announcementsEntry.setExpirationDate(expirationDate);
346            }
347    
348            /**
349            * Gets the priority of this announcements entry.
350            *
351            * @return the priority of this announcements entry
352            */
353            public int getPriority() {
354                    return _announcementsEntry.getPriority();
355            }
356    
357            /**
358            * Sets the priority of this announcements entry.
359            *
360            * @param priority the priority of this announcements entry
361            */
362            public void setPriority(int priority) {
363                    _announcementsEntry.setPriority(priority);
364            }
365    
366            /**
367            * Gets the alert of this announcements entry.
368            *
369            * @return the alert of this announcements entry
370            */
371            public boolean getAlert() {
372                    return _announcementsEntry.getAlert();
373            }
374    
375            /**
376            * Determines whether this announcements entry is alert.
377            *
378            * @return whether this announcements entry is alert
379            */
380            public boolean isAlert() {
381                    return _announcementsEntry.isAlert();
382            }
383    
384            /**
385            * Sets whether this {$entity.humanName} is alert.
386            *
387            * @param alert the alert of this announcements entry
388            */
389            public void setAlert(boolean alert) {
390                    _announcementsEntry.setAlert(alert);
391            }
392    
393            public boolean isNew() {
394                    return _announcementsEntry.isNew();
395            }
396    
397            public void setNew(boolean n) {
398                    _announcementsEntry.setNew(n);
399            }
400    
401            public boolean isCachedModel() {
402                    return _announcementsEntry.isCachedModel();
403            }
404    
405            public void setCachedModel(boolean cachedModel) {
406                    _announcementsEntry.setCachedModel(cachedModel);
407            }
408    
409            public boolean isEscapedModel() {
410                    return _announcementsEntry.isEscapedModel();
411            }
412    
413            public void setEscapedModel(boolean escapedModel) {
414                    _announcementsEntry.setEscapedModel(escapedModel);
415            }
416    
417            public java.io.Serializable getPrimaryKeyObj() {
418                    return _announcementsEntry.getPrimaryKeyObj();
419            }
420    
421            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
422                    return _announcementsEntry.getExpandoBridge();
423            }
424    
425            public void setExpandoBridgeAttributes(
426                    com.liferay.portal.service.ServiceContext serviceContext) {
427                    _announcementsEntry.setExpandoBridgeAttributes(serviceContext);
428            }
429    
430            public java.lang.Object clone() {
431                    return _announcementsEntry.clone();
432            }
433    
434            public int compareTo(
435                    com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry) {
436                    return _announcementsEntry.compareTo(announcementsEntry);
437            }
438    
439            public int hashCode() {
440                    return _announcementsEntry.hashCode();
441            }
442    
443            public com.liferay.portlet.announcements.model.AnnouncementsEntry toEscapedModel() {
444                    return _announcementsEntry.toEscapedModel();
445            }
446    
447            public java.lang.String toString() {
448                    return _announcementsEntry.toString();
449            }
450    
451            public java.lang.String toXmlString() {
452                    return _announcementsEntry.toXmlString();
453            }
454    
455            public long getGroupId()
456                    throws com.liferay.portal.kernel.exception.PortalException,
457                            com.liferay.portal.kernel.exception.SystemException {
458                    return _announcementsEntry.getGroupId();
459            }
460    
461            public AnnouncementsEntry getWrappedAnnouncementsEntry() {
462                    return _announcementsEntry;
463            }
464    
465            private AnnouncementsEntry _announcementsEntry;
466    }