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 description of this d l sync.
223            *
224            * @return the description of this d l sync
225            */
226            public java.lang.String getDescription() {
227                    return _dlSync.getDescription();
228            }
229    
230            /**
231            * Sets the description of this d l sync.
232            *
233            * @param description the description of this d l sync
234            */
235            public void setDescription(java.lang.String description) {
236                    _dlSync.setDescription(description);
237            }
238    
239            /**
240            * Returns the event of this d l sync.
241            *
242            * @return the event of this d l sync
243            */
244            public java.lang.String getEvent() {
245                    return _dlSync.getEvent();
246            }
247    
248            /**
249            * Sets the event of this d l sync.
250            *
251            * @param event the event of this d l sync
252            */
253            public void setEvent(java.lang.String event) {
254                    _dlSync.setEvent(event);
255            }
256    
257            /**
258            * Returns the type of this d l sync.
259            *
260            * @return the type of this d l sync
261            */
262            public java.lang.String getType() {
263                    return _dlSync.getType();
264            }
265    
266            /**
267            * Sets the type of this d l sync.
268            *
269            * @param type the type of this d l sync
270            */
271            public void setType(java.lang.String type) {
272                    _dlSync.setType(type);
273            }
274    
275            /**
276            * Returns the version of this d l sync.
277            *
278            * @return the version of this d l sync
279            */
280            public java.lang.String getVersion() {
281                    return _dlSync.getVersion();
282            }
283    
284            /**
285            * Sets the version of this d l sync.
286            *
287            * @param version the version of this d l sync
288            */
289            public void setVersion(java.lang.String version) {
290                    _dlSync.setVersion(version);
291            }
292    
293            public boolean isNew() {
294                    return _dlSync.isNew();
295            }
296    
297            public void setNew(boolean n) {
298                    _dlSync.setNew(n);
299            }
300    
301            public boolean isCachedModel() {
302                    return _dlSync.isCachedModel();
303            }
304    
305            public void setCachedModel(boolean cachedModel) {
306                    _dlSync.setCachedModel(cachedModel);
307            }
308    
309            public boolean isEscapedModel() {
310                    return _dlSync.isEscapedModel();
311            }
312    
313            public java.io.Serializable getPrimaryKeyObj() {
314                    return _dlSync.getPrimaryKeyObj();
315            }
316    
317            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
318                    _dlSync.setPrimaryKeyObj(primaryKeyObj);
319            }
320    
321            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
322                    return _dlSync.getExpandoBridge();
323            }
324    
325            public void setExpandoBridgeAttributes(
326                    com.liferay.portal.service.ServiceContext serviceContext) {
327                    _dlSync.setExpandoBridgeAttributes(serviceContext);
328            }
329    
330            @Override
331            public java.lang.Object clone() {
332                    return new DLSyncWrapper((DLSync)_dlSync.clone());
333            }
334    
335            public int compareTo(
336                    com.liferay.portlet.documentlibrary.model.DLSync dlSync) {
337                    return _dlSync.compareTo(dlSync);
338            }
339    
340            @Override
341            public int hashCode() {
342                    return _dlSync.hashCode();
343            }
344    
345            public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLSync> toCacheModel() {
346                    return _dlSync.toCacheModel();
347            }
348    
349            public com.liferay.portlet.documentlibrary.model.DLSync toEscapedModel() {
350                    return new DLSyncWrapper(_dlSync.toEscapedModel());
351            }
352    
353            @Override
354            public java.lang.String toString() {
355                    return _dlSync.toString();
356            }
357    
358            public java.lang.String toXmlString() {
359                    return _dlSync.toXmlString();
360            }
361    
362            public void persist()
363                    throws com.liferay.portal.kernel.exception.SystemException {
364                    _dlSync.persist();
365            }
366    
367            /**
368             * @deprecated Renamed to {@link #getWrappedModel}
369             */
370            public DLSync getWrappedDLSync() {
371                    return _dlSync;
372            }
373    
374            public DLSync getWrappedModel() {
375                    return _dlSync;
376            }
377    
378            public void resetOriginalValues() {
379                    _dlSync.resetOriginalValues();
380            }
381    
382            private DLSync _dlSync;
383    }