001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            /**
032            * Gets the primary key of this d l file rank.
033            *
034            * @return the primary key of this d l file rank
035            */
036            public long getPrimaryKey() {
037                    return _dlFileRank.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this d l file rank
042            *
043            * @param pk the primary key of this d l file rank
044            */
045            public void setPrimaryKey(long pk) {
046                    _dlFileRank.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the file rank id of this d l file rank.
051            *
052            * @return the file rank id of this d l file rank
053            */
054            public long getFileRankId() {
055                    return _dlFileRank.getFileRankId();
056            }
057    
058            /**
059            * Sets the file rank id of this d l file rank.
060            *
061            * @param fileRankId the file rank id of this d l file rank
062            */
063            public void setFileRankId(long fileRankId) {
064                    _dlFileRank.setFileRankId(fileRankId);
065            }
066    
067            /**
068            * Gets the group id of this d l file rank.
069            *
070            * @return the group id of this d l file rank
071            */
072            public long getGroupId() {
073                    return _dlFileRank.getGroupId();
074            }
075    
076            /**
077            * Sets the group id of this d l file rank.
078            *
079            * @param groupId the group id of this d l file rank
080            */
081            public void setGroupId(long groupId) {
082                    _dlFileRank.setGroupId(groupId);
083            }
084    
085            /**
086            * Gets the company id of this d l file rank.
087            *
088            * @return the company id of this d l file rank
089            */
090            public long getCompanyId() {
091                    return _dlFileRank.getCompanyId();
092            }
093    
094            /**
095            * Sets the company id of this d l file rank.
096            *
097            * @param companyId the company id of this d l file rank
098            */
099            public void setCompanyId(long companyId) {
100                    _dlFileRank.setCompanyId(companyId);
101            }
102    
103            /**
104            * Gets the user id of this d l file rank.
105            *
106            * @return the user id of this d l file rank
107            */
108            public long getUserId() {
109                    return _dlFileRank.getUserId();
110            }
111    
112            /**
113            * Sets the user id of this d l file rank.
114            *
115            * @param userId the user id of this d l file rank
116            */
117            public void setUserId(long userId) {
118                    _dlFileRank.setUserId(userId);
119            }
120    
121            /**
122            * Gets the user uuid of this d l file rank.
123            *
124            * @return the user uuid of this d l file rank
125            * @throws SystemException if a system exception occurred
126            */
127            public java.lang.String getUserUuid()
128                    throws com.liferay.portal.kernel.exception.SystemException {
129                    return _dlFileRank.getUserUuid();
130            }
131    
132            /**
133            * Sets the user uuid of this d l file rank.
134            *
135            * @param userUuid the user uuid of this d l file rank
136            */
137            public void setUserUuid(java.lang.String userUuid) {
138                    _dlFileRank.setUserUuid(userUuid);
139            }
140    
141            /**
142            * Gets the create date of this d l file rank.
143            *
144            * @return the create date of this d l file rank
145            */
146            public java.util.Date getCreateDate() {
147                    return _dlFileRank.getCreateDate();
148            }
149    
150            /**
151            * Sets the create date of this d l file rank.
152            *
153            * @param createDate the create date of this d l file rank
154            */
155            public void setCreateDate(java.util.Date createDate) {
156                    _dlFileRank.setCreateDate(createDate);
157            }
158    
159            /**
160            * Gets the folder id of this d l file rank.
161            *
162            * @return the folder id of this d l file rank
163            */
164            public long getFolderId() {
165                    return _dlFileRank.getFolderId();
166            }
167    
168            /**
169            * Sets the folder id of this d l file rank.
170            *
171            * @param folderId the folder id of this d l file rank
172            */
173            public void setFolderId(long folderId) {
174                    _dlFileRank.setFolderId(folderId);
175            }
176    
177            /**
178            * Gets the name of this d l file rank.
179            *
180            * @return the name of this d l file rank
181            */
182            public java.lang.String getName() {
183                    return _dlFileRank.getName();
184            }
185    
186            /**
187            * Sets the name of this d l file rank.
188            *
189            * @param name the name of this d l file rank
190            */
191            public void setName(java.lang.String name) {
192                    _dlFileRank.setName(name);
193            }
194    
195            public boolean isNew() {
196                    return _dlFileRank.isNew();
197            }
198    
199            public void setNew(boolean n) {
200                    _dlFileRank.setNew(n);
201            }
202    
203            public boolean isCachedModel() {
204                    return _dlFileRank.isCachedModel();
205            }
206    
207            public void setCachedModel(boolean cachedModel) {
208                    _dlFileRank.setCachedModel(cachedModel);
209            }
210    
211            public boolean isEscapedModel() {
212                    return _dlFileRank.isEscapedModel();
213            }
214    
215            public void setEscapedModel(boolean escapedModel) {
216                    _dlFileRank.setEscapedModel(escapedModel);
217            }
218    
219            public java.io.Serializable getPrimaryKeyObj() {
220                    return _dlFileRank.getPrimaryKeyObj();
221            }
222    
223            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
224                    return _dlFileRank.getExpandoBridge();
225            }
226    
227            public void setExpandoBridgeAttributes(
228                    com.liferay.portal.service.ServiceContext serviceContext) {
229                    _dlFileRank.setExpandoBridgeAttributes(serviceContext);
230            }
231    
232            public java.lang.Object clone() {
233                    return _dlFileRank.clone();
234            }
235    
236            public int compareTo(
237                    com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank) {
238                    return _dlFileRank.compareTo(dlFileRank);
239            }
240    
241            public int hashCode() {
242                    return _dlFileRank.hashCode();
243            }
244    
245            public com.liferay.portlet.documentlibrary.model.DLFileRank toEscapedModel() {
246                    return _dlFileRank.toEscapedModel();
247            }
248    
249            public java.lang.String toString() {
250                    return _dlFileRank.toString();
251            }
252    
253            public java.lang.String toXmlString() {
254                    return _dlFileRank.toXmlString();
255            }
256    
257            public DLFileRank getWrappedDLFileRank() {
258                    return _dlFileRank;
259            }
260    
261            private DLFileRank _dlFileRank;
262    }