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 DLFileRank}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       DLFileRank
024     * @generated
025     */
026    public class DLFileRankWrapper implements DLFileRank {
027            public DLFileRankWrapper(DLFileRank dlFileRank) {
028                    _dlFileRank = dlFileRank;
029            }
030    
031            public Class<?> getModelClass() {
032                    return DLFileRank.class;
033            }
034    
035            public String getModelClassName() {
036                    return DLFileRank.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this document library file rank.
041            *
042            * @return the primary key of this document library file rank
043            */
044            public long getPrimaryKey() {
045                    return _dlFileRank.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this document library file rank.
050            *
051            * @param primaryKey the primary key of this document library file rank
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _dlFileRank.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the file rank ID of this document library file rank.
059            *
060            * @return the file rank ID of this document library file rank
061            */
062            public long getFileRankId() {
063                    return _dlFileRank.getFileRankId();
064            }
065    
066            /**
067            * Sets the file rank ID of this document library file rank.
068            *
069            * @param fileRankId the file rank ID of this document library file rank
070            */
071            public void setFileRankId(long fileRankId) {
072                    _dlFileRank.setFileRankId(fileRankId);
073            }
074    
075            /**
076            * Returns the group ID of this document library file rank.
077            *
078            * @return the group ID of this document library file rank
079            */
080            public long getGroupId() {
081                    return _dlFileRank.getGroupId();
082            }
083    
084            /**
085            * Sets the group ID of this document library file rank.
086            *
087            * @param groupId the group ID of this document library file rank
088            */
089            public void setGroupId(long groupId) {
090                    _dlFileRank.setGroupId(groupId);
091            }
092    
093            /**
094            * Returns the company ID of this document library file rank.
095            *
096            * @return the company ID of this document library file rank
097            */
098            public long getCompanyId() {
099                    return _dlFileRank.getCompanyId();
100            }
101    
102            /**
103            * Sets the company ID of this document library file rank.
104            *
105            * @param companyId the company ID of this document library file rank
106            */
107            public void setCompanyId(long companyId) {
108                    _dlFileRank.setCompanyId(companyId);
109            }
110    
111            /**
112            * Returns the user ID of this document library file rank.
113            *
114            * @return the user ID of this document library file rank
115            */
116            public long getUserId() {
117                    return _dlFileRank.getUserId();
118            }
119    
120            /**
121            * Sets the user ID of this document library file rank.
122            *
123            * @param userId the user ID of this document library file rank
124            */
125            public void setUserId(long userId) {
126                    _dlFileRank.setUserId(userId);
127            }
128    
129            /**
130            * Returns the user uuid of this document library file rank.
131            *
132            * @return the user uuid of this document library file rank
133            * @throws SystemException if a system exception occurred
134            */
135            public java.lang.String getUserUuid()
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _dlFileRank.getUserUuid();
138            }
139    
140            /**
141            * Sets the user uuid of this document library file rank.
142            *
143            * @param userUuid the user uuid of this document library file rank
144            */
145            public void setUserUuid(java.lang.String userUuid) {
146                    _dlFileRank.setUserUuid(userUuid);
147            }
148    
149            /**
150            * Returns the create date of this document library file rank.
151            *
152            * @return the create date of this document library file rank
153            */
154            public java.util.Date getCreateDate() {
155                    return _dlFileRank.getCreateDate();
156            }
157    
158            /**
159            * Sets the create date of this document library file rank.
160            *
161            * @param createDate the create date of this document library file rank
162            */
163            public void setCreateDate(java.util.Date createDate) {
164                    _dlFileRank.setCreateDate(createDate);
165            }
166    
167            /**
168            * Returns the file entry ID of this document library file rank.
169            *
170            * @return the file entry ID of this document library file rank
171            */
172            public long getFileEntryId() {
173                    return _dlFileRank.getFileEntryId();
174            }
175    
176            /**
177            * Sets the file entry ID of this document library file rank.
178            *
179            * @param fileEntryId the file entry ID of this document library file rank
180            */
181            public void setFileEntryId(long fileEntryId) {
182                    _dlFileRank.setFileEntryId(fileEntryId);
183            }
184    
185            public boolean isNew() {
186                    return _dlFileRank.isNew();
187            }
188    
189            public void setNew(boolean n) {
190                    _dlFileRank.setNew(n);
191            }
192    
193            public boolean isCachedModel() {
194                    return _dlFileRank.isCachedModel();
195            }
196    
197            public void setCachedModel(boolean cachedModel) {
198                    _dlFileRank.setCachedModel(cachedModel);
199            }
200    
201            public boolean isEscapedModel() {
202                    return _dlFileRank.isEscapedModel();
203            }
204    
205            public java.io.Serializable getPrimaryKeyObj() {
206                    return _dlFileRank.getPrimaryKeyObj();
207            }
208    
209            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
210                    _dlFileRank.setPrimaryKeyObj(primaryKeyObj);
211            }
212    
213            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
214                    return _dlFileRank.getExpandoBridge();
215            }
216    
217            public void setExpandoBridgeAttributes(
218                    com.liferay.portal.service.ServiceContext serviceContext) {
219                    _dlFileRank.setExpandoBridgeAttributes(serviceContext);
220            }
221    
222            @Override
223            public java.lang.Object clone() {
224                    return new DLFileRankWrapper((DLFileRank)_dlFileRank.clone());
225            }
226    
227            public int compareTo(
228                    com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank) {
229                    return _dlFileRank.compareTo(dlFileRank);
230            }
231    
232            @Override
233            public int hashCode() {
234                    return _dlFileRank.hashCode();
235            }
236    
237            public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileRank> toCacheModel() {
238                    return _dlFileRank.toCacheModel();
239            }
240    
241            public com.liferay.portlet.documentlibrary.model.DLFileRank toEscapedModel() {
242                    return new DLFileRankWrapper(_dlFileRank.toEscapedModel());
243            }
244    
245            @Override
246            public java.lang.String toString() {
247                    return _dlFileRank.toString();
248            }
249    
250            public java.lang.String toXmlString() {
251                    return _dlFileRank.toXmlString();
252            }
253    
254            public void persist()
255                    throws com.liferay.portal.kernel.exception.SystemException {
256                    _dlFileRank.persist();
257            }
258    
259            public DLFileRank getWrappedDLFileRank() {
260                    return _dlFileRank;
261            }
262    
263            public void resetOriginalValues() {
264                    _dlFileRank.resetOriginalValues();
265            }
266    
267            private DLFileRank _dlFileRank;
268    }