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 IGFolder}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       IGFolder
024     * @generated
025     */
026    public class IGFolderWrapper implements IGFolder {
027            public IGFolderWrapper(IGFolder igFolder) {
028                    _igFolder = igFolder;
029            }
030    
031            public Class<?> getModelClass() {
032                    return IGFolder.class;
033            }
034    
035            public String getModelClassName() {
036                    return IGFolder.class.getName();
037            }
038    
039            /**
040            * Gets the primary key of this i g folder.
041            *
042            * @return the primary key of this i g folder
043            */
044            public long getPrimaryKey() {
045                    return _igFolder.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this i g folder
050            *
051            * @param primaryKey the primary key of this i g folder
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _igFolder.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Gets the uuid of this i g folder.
059            *
060            * @return the uuid of this i g folder
061            */
062            public java.lang.String getUuid() {
063                    return _igFolder.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this i g folder.
068            *
069            * @param uuid the uuid of this i g folder
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _igFolder.setUuid(uuid);
073            }
074    
075            /**
076            * Gets the folder ID of this i g folder.
077            *
078            * @return the folder ID of this i g folder
079            */
080            public long getFolderId() {
081                    return _igFolder.getFolderId();
082            }
083    
084            /**
085            * Sets the folder ID of this i g folder.
086            *
087            * @param folderId the folder ID of this i g folder
088            */
089            public void setFolderId(long folderId) {
090                    _igFolder.setFolderId(folderId);
091            }
092    
093            /**
094            * Gets the group ID of this i g folder.
095            *
096            * @return the group ID of this i g folder
097            */
098            public long getGroupId() {
099                    return _igFolder.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this i g folder.
104            *
105            * @param groupId the group ID of this i g folder
106            */
107            public void setGroupId(long groupId) {
108                    _igFolder.setGroupId(groupId);
109            }
110    
111            /**
112            * Gets the company ID of this i g folder.
113            *
114            * @return the company ID of this i g folder
115            */
116            public long getCompanyId() {
117                    return _igFolder.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this i g folder.
122            *
123            * @param companyId the company ID of this i g folder
124            */
125            public void setCompanyId(long companyId) {
126                    _igFolder.setCompanyId(companyId);
127            }
128    
129            /**
130            * Gets the user ID of this i g folder.
131            *
132            * @return the user ID of this i g folder
133            */
134            public long getUserId() {
135                    return _igFolder.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this i g folder.
140            *
141            * @param userId the user ID of this i g folder
142            */
143            public void setUserId(long userId) {
144                    _igFolder.setUserId(userId);
145            }
146    
147            /**
148            * Gets the user uuid of this i g folder.
149            *
150            * @return the user uuid of this i g folder
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 _igFolder.getUserUuid();
156            }
157    
158            /**
159            * Sets the user uuid of this i g folder.
160            *
161            * @param userUuid the user uuid of this i g folder
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _igFolder.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Gets the user name of this i g folder.
169            *
170            * @return the user name of this i g folder
171            */
172            public java.lang.String getUserName() {
173                    return _igFolder.getUserName();
174            }
175    
176            /**
177            * Sets the user name of this i g folder.
178            *
179            * @param userName the user name of this i g folder
180            */
181            public void setUserName(java.lang.String userName) {
182                    _igFolder.setUserName(userName);
183            }
184    
185            /**
186            * Gets the create date of this i g folder.
187            *
188            * @return the create date of this i g folder
189            */
190            public java.util.Date getCreateDate() {
191                    return _igFolder.getCreateDate();
192            }
193    
194            /**
195            * Sets the create date of this i g folder.
196            *
197            * @param createDate the create date of this i g folder
198            */
199            public void setCreateDate(java.util.Date createDate) {
200                    _igFolder.setCreateDate(createDate);
201            }
202    
203            /**
204            * Gets the modified date of this i g folder.
205            *
206            * @return the modified date of this i g folder
207            */
208            public java.util.Date getModifiedDate() {
209                    return _igFolder.getModifiedDate();
210            }
211    
212            /**
213            * Sets the modified date of this i g folder.
214            *
215            * @param modifiedDate the modified date of this i g folder
216            */
217            public void setModifiedDate(java.util.Date modifiedDate) {
218                    _igFolder.setModifiedDate(modifiedDate);
219            }
220    
221            /**
222            * Gets the parent folder ID of this i g folder.
223            *
224            * @return the parent folder ID of this i g folder
225            */
226            public long getParentFolderId() {
227                    return _igFolder.getParentFolderId();
228            }
229    
230            /**
231            * Sets the parent folder ID of this i g folder.
232            *
233            * @param parentFolderId the parent folder ID of this i g folder
234            */
235            public void setParentFolderId(long parentFolderId) {
236                    _igFolder.setParentFolderId(parentFolderId);
237            }
238    
239            /**
240            * Gets the name of this i g folder.
241            *
242            * @return the name of this i g folder
243            */
244            public java.lang.String getName() {
245                    return _igFolder.getName();
246            }
247    
248            /**
249            * Sets the name of this i g folder.
250            *
251            * @param name the name of this i g folder
252            */
253            public void setName(java.lang.String name) {
254                    _igFolder.setName(name);
255            }
256    
257            /**
258            * Gets the description of this i g folder.
259            *
260            * @return the description of this i g folder
261            */
262            public java.lang.String getDescription() {
263                    return _igFolder.getDescription();
264            }
265    
266            /**
267            * Sets the description of this i g folder.
268            *
269            * @param description the description of this i g folder
270            */
271            public void setDescription(java.lang.String description) {
272                    _igFolder.setDescription(description);
273            }
274    
275            public boolean isNew() {
276                    return _igFolder.isNew();
277            }
278    
279            public void setNew(boolean n) {
280                    _igFolder.setNew(n);
281            }
282    
283            public boolean isCachedModel() {
284                    return _igFolder.isCachedModel();
285            }
286    
287            public void setCachedModel(boolean cachedModel) {
288                    _igFolder.setCachedModel(cachedModel);
289            }
290    
291            public boolean isEscapedModel() {
292                    return _igFolder.isEscapedModel();
293            }
294    
295            public void setEscapedModel(boolean escapedModel) {
296                    _igFolder.setEscapedModel(escapedModel);
297            }
298    
299            public java.io.Serializable getPrimaryKeyObj() {
300                    return _igFolder.getPrimaryKeyObj();
301            }
302    
303            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
304                    _igFolder.setPrimaryKeyObj(primaryKeyObj);
305            }
306    
307            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
308                    return _igFolder.getExpandoBridge();
309            }
310    
311            public void setExpandoBridgeAttributes(
312                    com.liferay.portal.service.ServiceContext serviceContext) {
313                    _igFolder.setExpandoBridgeAttributes(serviceContext);
314            }
315    
316            @Override
317            public java.lang.Object clone() {
318                    return new IGFolderWrapper((IGFolder)_igFolder.clone());
319            }
320    
321            public int compareTo(
322                    com.liferay.portlet.imagegallery.model.IGFolder igFolder) {
323                    return _igFolder.compareTo(igFolder);
324            }
325    
326            @Override
327            public int hashCode() {
328                    return _igFolder.hashCode();
329            }
330    
331            public com.liferay.portal.model.CacheModel<com.liferay.portlet.imagegallery.model.IGFolder> toCacheModel() {
332                    return _igFolder.toCacheModel();
333            }
334    
335            public com.liferay.portlet.imagegallery.model.IGFolder toEscapedModel() {
336                    return new IGFolderWrapper(_igFolder.toEscapedModel());
337            }
338    
339            @Override
340            public java.lang.String toString() {
341                    return _igFolder.toString();
342            }
343    
344            public java.lang.String toXmlString() {
345                    return _igFolder.toXmlString();
346            }
347    
348            public void persist()
349                    throws com.liferay.portal.kernel.exception.SystemException {
350                    _igFolder.persist();
351            }
352    
353            public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getAncestors()
354                    throws com.liferay.portal.kernel.exception.PortalException,
355                            com.liferay.portal.kernel.exception.SystemException {
356                    return _igFolder.getAncestors();
357            }
358    
359            public com.liferay.portlet.imagegallery.model.IGFolder getParentFolder()
360                    throws com.liferay.portal.kernel.exception.PortalException,
361                            com.liferay.portal.kernel.exception.SystemException {
362                    return _igFolder.getParentFolder();
363            }
364    
365            public boolean isRoot() {
366                    return _igFolder.isRoot();
367            }
368    
369            public IGFolder getWrappedIGFolder() {
370                    return _igFolder;
371            }
372    
373            public void resetOriginalValues() {
374                    _igFolder.resetOriginalValues();
375            }
376    
377            private IGFolder _igFolder;
378    }