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