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.documentlibrary.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link DLFileEntryType}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       DLFileEntryType
024     * @generated
025     */
026    public class DLFileEntryTypeWrapper implements DLFileEntryType {
027            public DLFileEntryTypeWrapper(DLFileEntryType dlFileEntryType) {
028                    _dlFileEntryType = dlFileEntryType;
029            }
030    
031            public Class<?> getModelClass() {
032                    return DLFileEntryType.class;
033            }
034    
035            public String getModelClassName() {
036                    return DLFileEntryType.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this document library file entry type.
041            *
042            * @return the primary key of this document library file entry type
043            */
044            public long getPrimaryKey() {
045                    return _dlFileEntryType.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this document library file entry type.
050            *
051            * @param primaryKey the primary key of this document library file entry type
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _dlFileEntryType.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the file entry type ID of this document library file entry type.
059            *
060            * @return the file entry type ID of this document library file entry type
061            */
062            public long getFileEntryTypeId() {
063                    return _dlFileEntryType.getFileEntryTypeId();
064            }
065    
066            /**
067            * Sets the file entry type ID of this document library file entry type.
068            *
069            * @param fileEntryTypeId the file entry type ID of this document library file entry type
070            */
071            public void setFileEntryTypeId(long fileEntryTypeId) {
072                    _dlFileEntryType.setFileEntryTypeId(fileEntryTypeId);
073            }
074    
075            /**
076            * Returns the group ID of this document library file entry type.
077            *
078            * @return the group ID of this document library file entry type
079            */
080            public long getGroupId() {
081                    return _dlFileEntryType.getGroupId();
082            }
083    
084            /**
085            * Sets the group ID of this document library file entry type.
086            *
087            * @param groupId the group ID of this document library file entry type
088            */
089            public void setGroupId(long groupId) {
090                    _dlFileEntryType.setGroupId(groupId);
091            }
092    
093            /**
094            * Returns the company ID of this document library file entry type.
095            *
096            * @return the company ID of this document library file entry type
097            */
098            public long getCompanyId() {
099                    return _dlFileEntryType.getCompanyId();
100            }
101    
102            /**
103            * Sets the company ID of this document library file entry type.
104            *
105            * @param companyId the company ID of this document library file entry type
106            */
107            public void setCompanyId(long companyId) {
108                    _dlFileEntryType.setCompanyId(companyId);
109            }
110    
111            /**
112            * Returns the user ID of this document library file entry type.
113            *
114            * @return the user ID of this document library file entry type
115            */
116            public long getUserId() {
117                    return _dlFileEntryType.getUserId();
118            }
119    
120            /**
121            * Sets the user ID of this document library file entry type.
122            *
123            * @param userId the user ID of this document library file entry type
124            */
125            public void setUserId(long userId) {
126                    _dlFileEntryType.setUserId(userId);
127            }
128    
129            /**
130            * Returns the user uuid of this document library file entry type.
131            *
132            * @return the user uuid of this document library file entry type
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 _dlFileEntryType.getUserUuid();
138            }
139    
140            /**
141            * Sets the user uuid of this document library file entry type.
142            *
143            * @param userUuid the user uuid of this document library file entry type
144            */
145            public void setUserUuid(java.lang.String userUuid) {
146                    _dlFileEntryType.setUserUuid(userUuid);
147            }
148    
149            /**
150            * Returns the user name of this document library file entry type.
151            *
152            * @return the user name of this document library file entry type
153            */
154            public java.lang.String getUserName() {
155                    return _dlFileEntryType.getUserName();
156            }
157    
158            /**
159            * Sets the user name of this document library file entry type.
160            *
161            * @param userName the user name of this document library file entry type
162            */
163            public void setUserName(java.lang.String userName) {
164                    _dlFileEntryType.setUserName(userName);
165            }
166    
167            /**
168            * Returns the create date of this document library file entry type.
169            *
170            * @return the create date of this document library file entry type
171            */
172            public java.util.Date getCreateDate() {
173                    return _dlFileEntryType.getCreateDate();
174            }
175    
176            /**
177            * Sets the create date of this document library file entry type.
178            *
179            * @param createDate the create date of this document library file entry type
180            */
181            public void setCreateDate(java.util.Date createDate) {
182                    _dlFileEntryType.setCreateDate(createDate);
183            }
184    
185            /**
186            * Returns the modified date of this document library file entry type.
187            *
188            * @return the modified date of this document library file entry type
189            */
190            public java.util.Date getModifiedDate() {
191                    return _dlFileEntryType.getModifiedDate();
192            }
193    
194            /**
195            * Sets the modified date of this document library file entry type.
196            *
197            * @param modifiedDate the modified date of this document library file entry type
198            */
199            public void setModifiedDate(java.util.Date modifiedDate) {
200                    _dlFileEntryType.setModifiedDate(modifiedDate);
201            }
202    
203            /**
204            * Returns the name of this document library file entry type.
205            *
206            * @return the name of this document library file entry type
207            */
208            public java.lang.String getName() {
209                    return _dlFileEntryType.getName();
210            }
211    
212            /**
213            * Sets the name of this document library file entry type.
214            *
215            * @param name the name of this document library file entry type
216            */
217            public void setName(java.lang.String name) {
218                    _dlFileEntryType.setName(name);
219            }
220    
221            /**
222            * Returns the description of this document library file entry type.
223            *
224            * @return the description of this document library file entry type
225            */
226            public java.lang.String getDescription() {
227                    return _dlFileEntryType.getDescription();
228            }
229    
230            /**
231            * Sets the description of this document library file entry type.
232            *
233            * @param description the description of this document library file entry type
234            */
235            public void setDescription(java.lang.String description) {
236                    _dlFileEntryType.setDescription(description);
237            }
238    
239            public boolean isNew() {
240                    return _dlFileEntryType.isNew();
241            }
242    
243            public void setNew(boolean n) {
244                    _dlFileEntryType.setNew(n);
245            }
246    
247            public boolean isCachedModel() {
248                    return _dlFileEntryType.isCachedModel();
249            }
250    
251            public void setCachedModel(boolean cachedModel) {
252                    _dlFileEntryType.setCachedModel(cachedModel);
253            }
254    
255            public boolean isEscapedModel() {
256                    return _dlFileEntryType.isEscapedModel();
257            }
258    
259            public java.io.Serializable getPrimaryKeyObj() {
260                    return _dlFileEntryType.getPrimaryKeyObj();
261            }
262    
263            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
264                    _dlFileEntryType.setPrimaryKeyObj(primaryKeyObj);
265            }
266    
267            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
268                    return _dlFileEntryType.getExpandoBridge();
269            }
270    
271            public void setExpandoBridgeAttributes(
272                    com.liferay.portal.service.ServiceContext serviceContext) {
273                    _dlFileEntryType.setExpandoBridgeAttributes(serviceContext);
274            }
275    
276            @Override
277            public java.lang.Object clone() {
278                    return new DLFileEntryTypeWrapper((DLFileEntryType)_dlFileEntryType.clone());
279            }
280    
281            public int compareTo(
282                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) {
283                    return _dlFileEntryType.compareTo(dlFileEntryType);
284            }
285    
286            @Override
287            public int hashCode() {
288                    return _dlFileEntryType.hashCode();
289            }
290    
291            public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileEntryType> toCacheModel() {
292                    return _dlFileEntryType.toCacheModel();
293            }
294    
295            public com.liferay.portlet.documentlibrary.model.DLFileEntryType toEscapedModel() {
296                    return new DLFileEntryTypeWrapper(_dlFileEntryType.toEscapedModel());
297            }
298    
299            @Override
300            public java.lang.String toString() {
301                    return _dlFileEntryType.toString();
302            }
303    
304            public java.lang.String toXmlString() {
305                    return _dlFileEntryType.toXmlString();
306            }
307    
308            public void persist()
309                    throws com.liferay.portal.kernel.exception.SystemException {
310                    _dlFileEntryType.persist();
311            }
312    
313            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getDDMStructures()
314                    throws com.liferay.portal.kernel.exception.SystemException {
315                    return _dlFileEntryType.getDDMStructures();
316            }
317    
318            public DLFileEntryType getWrappedDLFileEntryType() {
319                    return _dlFileEntryType;
320            }
321    
322            public void resetOriginalValues() {
323                    _dlFileEntryType.resetOriginalValues();
324            }
325    
326            private DLFileEntryType _dlFileEntryType;
327    }