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