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 RepositoryEntry}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       RepositoryEntry
024     * @generated
025     */
026    public class RepositoryEntryWrapper implements RepositoryEntry {
027            public RepositoryEntryWrapper(RepositoryEntry repositoryEntry) {
028                    _repositoryEntry = repositoryEntry;
029            }
030    
031            public Class<?> getModelClass() {
032                    return RepositoryEntry.class;
033            }
034    
035            public String getModelClassName() {
036                    return RepositoryEntry.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this repository entry.
041            *
042            * @return the primary key of this repository entry
043            */
044            public long getPrimaryKey() {
045                    return _repositoryEntry.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this repository entry.
050            *
051            * @param primaryKey the primary key of this repository entry
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _repositoryEntry.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the uuid of this repository entry.
059            *
060            * @return the uuid of this repository entry
061            */
062            public java.lang.String getUuid() {
063                    return _repositoryEntry.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this repository entry.
068            *
069            * @param uuid the uuid of this repository entry
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _repositoryEntry.setUuid(uuid);
073            }
074    
075            /**
076            * Returns the repository entry ID of this repository entry.
077            *
078            * @return the repository entry ID of this repository entry
079            */
080            public long getRepositoryEntryId() {
081                    return _repositoryEntry.getRepositoryEntryId();
082            }
083    
084            /**
085            * Sets the repository entry ID of this repository entry.
086            *
087            * @param repositoryEntryId the repository entry ID of this repository entry
088            */
089            public void setRepositoryEntryId(long repositoryEntryId) {
090                    _repositoryEntry.setRepositoryEntryId(repositoryEntryId);
091            }
092    
093            /**
094            * Returns the group ID of this repository entry.
095            *
096            * @return the group ID of this repository entry
097            */
098            public long getGroupId() {
099                    return _repositoryEntry.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this repository entry.
104            *
105            * @param groupId the group ID of this repository entry
106            */
107            public void setGroupId(long groupId) {
108                    _repositoryEntry.setGroupId(groupId);
109            }
110    
111            /**
112            * Returns the repository ID of this repository entry.
113            *
114            * @return the repository ID of this repository entry
115            */
116            public long getRepositoryId() {
117                    return _repositoryEntry.getRepositoryId();
118            }
119    
120            /**
121            * Sets the repository ID of this repository entry.
122            *
123            * @param repositoryId the repository ID of this repository entry
124            */
125            public void setRepositoryId(long repositoryId) {
126                    _repositoryEntry.setRepositoryId(repositoryId);
127            }
128    
129            /**
130            * Returns the mapped ID of this repository entry.
131            *
132            * @return the mapped ID of this repository entry
133            */
134            public java.lang.String getMappedId() {
135                    return _repositoryEntry.getMappedId();
136            }
137    
138            /**
139            * Sets the mapped ID of this repository entry.
140            *
141            * @param mappedId the mapped ID of this repository entry
142            */
143            public void setMappedId(java.lang.String mappedId) {
144                    _repositoryEntry.setMappedId(mappedId);
145            }
146    
147            public boolean isNew() {
148                    return _repositoryEntry.isNew();
149            }
150    
151            public void setNew(boolean n) {
152                    _repositoryEntry.setNew(n);
153            }
154    
155            public boolean isCachedModel() {
156                    return _repositoryEntry.isCachedModel();
157            }
158    
159            public void setCachedModel(boolean cachedModel) {
160                    _repositoryEntry.setCachedModel(cachedModel);
161            }
162    
163            public boolean isEscapedModel() {
164                    return _repositoryEntry.isEscapedModel();
165            }
166    
167            public java.io.Serializable getPrimaryKeyObj() {
168                    return _repositoryEntry.getPrimaryKeyObj();
169            }
170    
171            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
172                    _repositoryEntry.setPrimaryKeyObj(primaryKeyObj);
173            }
174    
175            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
176                    return _repositoryEntry.getExpandoBridge();
177            }
178    
179            public void setExpandoBridgeAttributes(
180                    com.liferay.portal.service.ServiceContext serviceContext) {
181                    _repositoryEntry.setExpandoBridgeAttributes(serviceContext);
182            }
183    
184            @Override
185            public java.lang.Object clone() {
186                    return new RepositoryEntryWrapper((RepositoryEntry)_repositoryEntry.clone());
187            }
188    
189            public int compareTo(
190                    com.liferay.portal.model.RepositoryEntry repositoryEntry) {
191                    return _repositoryEntry.compareTo(repositoryEntry);
192            }
193    
194            @Override
195            public int hashCode() {
196                    return _repositoryEntry.hashCode();
197            }
198    
199            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.RepositoryEntry> toCacheModel() {
200                    return _repositoryEntry.toCacheModel();
201            }
202    
203            public com.liferay.portal.model.RepositoryEntry toEscapedModel() {
204                    return new RepositoryEntryWrapper(_repositoryEntry.toEscapedModel());
205            }
206    
207            @Override
208            public java.lang.String toString() {
209                    return _repositoryEntry.toString();
210            }
211    
212            public java.lang.String toXmlString() {
213                    return _repositoryEntry.toXmlString();
214            }
215    
216            public void persist()
217                    throws com.liferay.portal.kernel.exception.SystemException {
218                    _repositoryEntry.persist();
219            }
220    
221            public RepositoryEntry getWrappedRepositoryEntry() {
222                    return _repositoryEntry;
223            }
224    
225            public void resetOriginalValues() {
226                    _repositoryEntry.resetOriginalValues();
227            }
228    
229            private RepositoryEntry _repositoryEntry;
230    }