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