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