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