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