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.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link Repository}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Repository
024     * @generated
025     */
026    public class RepositoryWrapper implements Repository, ModelWrapper<Repository> {
027            public RepositoryWrapper(Repository repository) {
028                    _repository = repository;
029            }
030    
031            public Class<?> getModelClass() {
032                    return Repository.class;
033            }
034    
035            public String getModelClassName() {
036                    return Repository.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this repository.
041            *
042            * @return the primary key of this repository
043            */
044            public long getPrimaryKey() {
045                    return _repository.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this repository.
050            *
051            * @param primaryKey the primary key of this repository
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _repository.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the uuid of this repository.
059            *
060            * @return the uuid of this repository
061            */
062            public java.lang.String getUuid() {
063                    return _repository.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this repository.
068            *
069            * @param uuid the uuid of this repository
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _repository.setUuid(uuid);
073            }
074    
075            /**
076            * Returns the repository ID of this repository.
077            *
078            * @return the repository ID of this repository
079            */
080            public long getRepositoryId() {
081                    return _repository.getRepositoryId();
082            }
083    
084            /**
085            * Sets the repository ID of this repository.
086            *
087            * @param repositoryId the repository ID of this repository
088            */
089            public void setRepositoryId(long repositoryId) {
090                    _repository.setRepositoryId(repositoryId);
091            }
092    
093            /**
094            * Returns the group ID of this repository.
095            *
096            * @return the group ID of this repository
097            */
098            public long getGroupId() {
099                    return _repository.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this repository.
104            *
105            * @param groupId the group ID of this repository
106            */
107            public void setGroupId(long groupId) {
108                    _repository.setGroupId(groupId);
109            }
110    
111            /**
112            * Returns the company ID of this repository.
113            *
114            * @return the company ID of this repository
115            */
116            public long getCompanyId() {
117                    return _repository.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this repository.
122            *
123            * @param companyId the company ID of this repository
124            */
125            public void setCompanyId(long companyId) {
126                    _repository.setCompanyId(companyId);
127            }
128    
129            /**
130            * Returns the user ID of this repository.
131            *
132            * @return the user ID of this repository
133            */
134            public long getUserId() {
135                    return _repository.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this repository.
140            *
141            * @param userId the user ID of this repository
142            */
143            public void setUserId(long userId) {
144                    _repository.setUserId(userId);
145            }
146    
147            /**
148            * Returns the user uuid of this repository.
149            *
150            * @return the user uuid of this repository
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 _repository.getUserUuid();
156            }
157    
158            /**
159            * Sets the user uuid of this repository.
160            *
161            * @param userUuid the user uuid of this repository
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _repository.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Returns the user name of this repository.
169            *
170            * @return the user name of this repository
171            */
172            public java.lang.String getUserName() {
173                    return _repository.getUserName();
174            }
175    
176            /**
177            * Sets the user name of this repository.
178            *
179            * @param userName the user name of this repository
180            */
181            public void setUserName(java.lang.String userName) {
182                    _repository.setUserName(userName);
183            }
184    
185            /**
186            * Returns the create date of this repository.
187            *
188            * @return the create date of this repository
189            */
190            public java.util.Date getCreateDate() {
191                    return _repository.getCreateDate();
192            }
193    
194            /**
195            * Sets the create date of this repository.
196            *
197            * @param createDate the create date of this repository
198            */
199            public void setCreateDate(java.util.Date createDate) {
200                    _repository.setCreateDate(createDate);
201            }
202    
203            /**
204            * Returns the modified date of this repository.
205            *
206            * @return the modified date of this repository
207            */
208            public java.util.Date getModifiedDate() {
209                    return _repository.getModifiedDate();
210            }
211    
212            /**
213            * Sets the modified date of this repository.
214            *
215            * @param modifiedDate the modified date of this repository
216            */
217            public void setModifiedDate(java.util.Date modifiedDate) {
218                    _repository.setModifiedDate(modifiedDate);
219            }
220    
221            /**
222            * Returns the fully qualified class name of this repository.
223            *
224            * @return the fully qualified class name of this repository
225            */
226            public java.lang.String getClassName() {
227                    return _repository.getClassName();
228            }
229    
230            /**
231            * Returns the class name ID of this repository.
232            *
233            * @return the class name ID of this repository
234            */
235            public long getClassNameId() {
236                    return _repository.getClassNameId();
237            }
238    
239            /**
240            * Sets the class name ID of this repository.
241            *
242            * @param classNameId the class name ID of this repository
243            */
244            public void setClassNameId(long classNameId) {
245                    _repository.setClassNameId(classNameId);
246            }
247    
248            /**
249            * Returns the name of this repository.
250            *
251            * @return the name of this repository
252            */
253            public java.lang.String getName() {
254                    return _repository.getName();
255            }
256    
257            /**
258            * Sets the name of this repository.
259            *
260            * @param name the name of this repository
261            */
262            public void setName(java.lang.String name) {
263                    _repository.setName(name);
264            }
265    
266            /**
267            * Returns the description of this repository.
268            *
269            * @return the description of this repository
270            */
271            public java.lang.String getDescription() {
272                    return _repository.getDescription();
273            }
274    
275            /**
276            * Sets the description of this repository.
277            *
278            * @param description the description of this repository
279            */
280            public void setDescription(java.lang.String description) {
281                    _repository.setDescription(description);
282            }
283    
284            /**
285            * Returns the portlet ID of this repository.
286            *
287            * @return the portlet ID of this repository
288            */
289            public java.lang.String getPortletId() {
290                    return _repository.getPortletId();
291            }
292    
293            /**
294            * Sets the portlet ID of this repository.
295            *
296            * @param portletId the portlet ID of this repository
297            */
298            public void setPortletId(java.lang.String portletId) {
299                    _repository.setPortletId(portletId);
300            }
301    
302            /**
303            * Returns the type settings of this repository.
304            *
305            * @return the type settings of this repository
306            */
307            public java.lang.String getTypeSettings() {
308                    return _repository.getTypeSettings();
309            }
310    
311            /**
312            * Sets the type settings of this repository.
313            *
314            * @param typeSettings the type settings of this repository
315            */
316            public void setTypeSettings(java.lang.String typeSettings) {
317                    _repository.setTypeSettings(typeSettings);
318            }
319    
320            /**
321            * Returns the dl folder ID of this repository.
322            *
323            * @return the dl folder ID of this repository
324            */
325            public long getDlFolderId() {
326                    return _repository.getDlFolderId();
327            }
328    
329            /**
330            * Sets the dl folder ID of this repository.
331            *
332            * @param dlFolderId the dl folder ID of this repository
333            */
334            public void setDlFolderId(long dlFolderId) {
335                    _repository.setDlFolderId(dlFolderId);
336            }
337    
338            public boolean isNew() {
339                    return _repository.isNew();
340            }
341    
342            public void setNew(boolean n) {
343                    _repository.setNew(n);
344            }
345    
346            public boolean isCachedModel() {
347                    return _repository.isCachedModel();
348            }
349    
350            public void setCachedModel(boolean cachedModel) {
351                    _repository.setCachedModel(cachedModel);
352            }
353    
354            public boolean isEscapedModel() {
355                    return _repository.isEscapedModel();
356            }
357    
358            public java.io.Serializable getPrimaryKeyObj() {
359                    return _repository.getPrimaryKeyObj();
360            }
361    
362            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
363                    _repository.setPrimaryKeyObj(primaryKeyObj);
364            }
365    
366            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
367                    return _repository.getExpandoBridge();
368            }
369    
370            public void setExpandoBridgeAttributes(
371                    com.liferay.portal.service.ServiceContext serviceContext) {
372                    _repository.setExpandoBridgeAttributes(serviceContext);
373            }
374    
375            @Override
376            public java.lang.Object clone() {
377                    return new RepositoryWrapper((Repository)_repository.clone());
378            }
379    
380            public int compareTo(com.liferay.portal.model.Repository repository) {
381                    return _repository.compareTo(repository);
382            }
383    
384            @Override
385            public int hashCode() {
386                    return _repository.hashCode();
387            }
388    
389            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Repository> toCacheModel() {
390                    return _repository.toCacheModel();
391            }
392    
393            public com.liferay.portal.model.Repository toEscapedModel() {
394                    return new RepositoryWrapper(_repository.toEscapedModel());
395            }
396    
397            @Override
398            public java.lang.String toString() {
399                    return _repository.toString();
400            }
401    
402            public java.lang.String toXmlString() {
403                    return _repository.toXmlString();
404            }
405    
406            public void persist()
407                    throws com.liferay.portal.kernel.exception.SystemException {
408                    _repository.persist();
409            }
410    
411            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
412                    return _repository.getTypeSettingsProperties();
413            }
414    
415            public void setTypeSettingsProperties(
416                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
417                    _repository.setTypeSettingsProperties(typeSettingsProperties);
418            }
419    
420            /**
421             * @deprecated Renamed to {@link #getWrappedModel}
422             */
423            public Repository getWrappedRepository() {
424                    return _repository;
425            }
426    
427            public Repository getWrappedModel() {
428                    return _repository;
429            }
430    
431            public void resetOriginalValues() {
432                    _repository.resetOriginalValues();
433            }
434    
435            private Repository _repository;
436    }