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.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 {
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 repository ID of this repository.
059            *
060            * @return the repository ID of this repository
061            */
062            public long getRepositoryId() {
063                    return _repository.getRepositoryId();
064            }
065    
066            /**
067            * Sets the repository ID of this repository.
068            *
069            * @param repositoryId the repository ID of this repository
070            */
071            public void setRepositoryId(long repositoryId) {
072                    _repository.setRepositoryId(repositoryId);
073            }
074    
075            /**
076            * Returns the group ID of this repository.
077            *
078            * @return the group ID of this repository
079            */
080            public long getGroupId() {
081                    return _repository.getGroupId();
082            }
083    
084            /**
085            * Sets the group ID of this repository.
086            *
087            * @param groupId the group ID of this repository
088            */
089            public void setGroupId(long groupId) {
090                    _repository.setGroupId(groupId);
091            }
092    
093            /**
094            * Returns the company ID of this repository.
095            *
096            * @return the company ID of this repository
097            */
098            public long getCompanyId() {
099                    return _repository.getCompanyId();
100            }
101    
102            /**
103            * Sets the company ID of this repository.
104            *
105            * @param companyId the company ID of this repository
106            */
107            public void setCompanyId(long companyId) {
108                    _repository.setCompanyId(companyId);
109            }
110    
111            /**
112            * Returns the create date of this repository.
113            *
114            * @return the create date of this repository
115            */
116            public java.util.Date getCreateDate() {
117                    return _repository.getCreateDate();
118            }
119    
120            /**
121            * Sets the create date of this repository.
122            *
123            * @param createDate the create date of this repository
124            */
125            public void setCreateDate(java.util.Date createDate) {
126                    _repository.setCreateDate(createDate);
127            }
128    
129            /**
130            * Returns the modified date of this repository.
131            *
132            * @return the modified date of this repository
133            */
134            public java.util.Date getModifiedDate() {
135                    return _repository.getModifiedDate();
136            }
137    
138            /**
139            * Sets the modified date of this repository.
140            *
141            * @param modifiedDate the modified date of this repository
142            */
143            public void setModifiedDate(java.util.Date modifiedDate) {
144                    _repository.setModifiedDate(modifiedDate);
145            }
146    
147            /**
148            * Returns the fully qualified class name of this repository.
149            *
150            * @return the fully qualified class name of this repository
151            */
152            public java.lang.String getClassName() {
153                    return _repository.getClassName();
154            }
155    
156            /**
157            * Returns the class name ID of this repository.
158            *
159            * @return the class name ID of this repository
160            */
161            public long getClassNameId() {
162                    return _repository.getClassNameId();
163            }
164    
165            /**
166            * Sets the class name ID of this repository.
167            *
168            * @param classNameId the class name ID of this repository
169            */
170            public void setClassNameId(long classNameId) {
171                    _repository.setClassNameId(classNameId);
172            }
173    
174            /**
175            * Returns the name of this repository.
176            *
177            * @return the name of this repository
178            */
179            public java.lang.String getName() {
180                    return _repository.getName();
181            }
182    
183            /**
184            * Sets the name of this repository.
185            *
186            * @param name the name of this repository
187            */
188            public void setName(java.lang.String name) {
189                    _repository.setName(name);
190            }
191    
192            /**
193            * Returns the description of this repository.
194            *
195            * @return the description of this repository
196            */
197            public java.lang.String getDescription() {
198                    return _repository.getDescription();
199            }
200    
201            /**
202            * Sets the description of this repository.
203            *
204            * @param description the description of this repository
205            */
206            public void setDescription(java.lang.String description) {
207                    _repository.setDescription(description);
208            }
209    
210            /**
211            * Returns the portlet ID of this repository.
212            *
213            * @return the portlet ID of this repository
214            */
215            public java.lang.String getPortletId() {
216                    return _repository.getPortletId();
217            }
218    
219            /**
220            * Sets the portlet ID of this repository.
221            *
222            * @param portletId the portlet ID of this repository
223            */
224            public void setPortletId(java.lang.String portletId) {
225                    _repository.setPortletId(portletId);
226            }
227    
228            /**
229            * Returns the type settings of this repository.
230            *
231            * @return the type settings of this repository
232            */
233            public java.lang.String getTypeSettings() {
234                    return _repository.getTypeSettings();
235            }
236    
237            /**
238            * Sets the type settings of this repository.
239            *
240            * @param typeSettings the type settings of this repository
241            */
242            public void setTypeSettings(java.lang.String typeSettings) {
243                    _repository.setTypeSettings(typeSettings);
244            }
245    
246            /**
247            * Returns the dl folder ID of this repository.
248            *
249            * @return the dl folder ID of this repository
250            */
251            public long getDlFolderId() {
252                    return _repository.getDlFolderId();
253            }
254    
255            /**
256            * Sets the dl folder ID of this repository.
257            *
258            * @param dlFolderId the dl folder ID of this repository
259            */
260            public void setDlFolderId(long dlFolderId) {
261                    _repository.setDlFolderId(dlFolderId);
262            }
263    
264            public boolean isNew() {
265                    return _repository.isNew();
266            }
267    
268            public void setNew(boolean n) {
269                    _repository.setNew(n);
270            }
271    
272            public boolean isCachedModel() {
273                    return _repository.isCachedModel();
274            }
275    
276            public void setCachedModel(boolean cachedModel) {
277                    _repository.setCachedModel(cachedModel);
278            }
279    
280            public boolean isEscapedModel() {
281                    return _repository.isEscapedModel();
282            }
283    
284            public java.io.Serializable getPrimaryKeyObj() {
285                    return _repository.getPrimaryKeyObj();
286            }
287    
288            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
289                    _repository.setPrimaryKeyObj(primaryKeyObj);
290            }
291    
292            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
293                    return _repository.getExpandoBridge();
294            }
295    
296            public void setExpandoBridgeAttributes(
297                    com.liferay.portal.service.ServiceContext serviceContext) {
298                    _repository.setExpandoBridgeAttributes(serviceContext);
299            }
300    
301            @Override
302            public java.lang.Object clone() {
303                    return new RepositoryWrapper((Repository)_repository.clone());
304            }
305    
306            public int compareTo(com.liferay.portal.model.Repository repository) {
307                    return _repository.compareTo(repository);
308            }
309    
310            @Override
311            public int hashCode() {
312                    return _repository.hashCode();
313            }
314    
315            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Repository> toCacheModel() {
316                    return _repository.toCacheModel();
317            }
318    
319            public com.liferay.portal.model.Repository toEscapedModel() {
320                    return new RepositoryWrapper(_repository.toEscapedModel());
321            }
322    
323            @Override
324            public java.lang.String toString() {
325                    return _repository.toString();
326            }
327    
328            public java.lang.String toXmlString() {
329                    return _repository.toXmlString();
330            }
331    
332            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
333                    return _repository.getTypeSettingsProperties();
334            }
335    
336            public void setTypeSettingsProperties(
337                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
338                    _repository.setTypeSettingsProperties(typeSettingsProperties);
339            }
340    
341            public Repository getWrappedRepository() {
342                    return _repository;
343            }
344    
345            public void resetOriginalValues() {
346                    _repository.resetOriginalValues();
347            }
348    
349            private Repository _repository;
350    }