001    /**
002     * Copyright (c) 2000-2010 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    /**
019     * <p>
020     * This class is a wrapper for {@link Lock}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       Lock
025     * @generated
026     */
027    public class LockWrapper implements Lock {
028            public LockWrapper(Lock lock) {
029                    _lock = lock;
030            }
031    
032            public long getPrimaryKey() {
033                    return _lock.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _lock.setPrimaryKey(pk);
038            }
039    
040            public java.lang.String getUuid() {
041                    return _lock.getUuid();
042            }
043    
044            public void setUuid(java.lang.String uuid) {
045                    _lock.setUuid(uuid);
046            }
047    
048            public long getLockId() {
049                    return _lock.getLockId();
050            }
051    
052            public void setLockId(long lockId) {
053                    _lock.setLockId(lockId);
054            }
055    
056            public long getCompanyId() {
057                    return _lock.getCompanyId();
058            }
059    
060            public void setCompanyId(long companyId) {
061                    _lock.setCompanyId(companyId);
062            }
063    
064            public long getUserId() {
065                    return _lock.getUserId();
066            }
067    
068            public void setUserId(long userId) {
069                    _lock.setUserId(userId);
070            }
071    
072            public java.lang.String getUserUuid()
073                    throws com.liferay.portal.kernel.exception.SystemException {
074                    return _lock.getUserUuid();
075            }
076    
077            public void setUserUuid(java.lang.String userUuid) {
078                    _lock.setUserUuid(userUuid);
079            }
080    
081            public java.lang.String getUserName() {
082                    return _lock.getUserName();
083            }
084    
085            public void setUserName(java.lang.String userName) {
086                    _lock.setUserName(userName);
087            }
088    
089            public java.util.Date getCreateDate() {
090                    return _lock.getCreateDate();
091            }
092    
093            public void setCreateDate(java.util.Date createDate) {
094                    _lock.setCreateDate(createDate);
095            }
096    
097            public java.lang.String getClassName() {
098                    return _lock.getClassName();
099            }
100    
101            public void setClassName(java.lang.String className) {
102                    _lock.setClassName(className);
103            }
104    
105            public java.lang.String getKey() {
106                    return _lock.getKey();
107            }
108    
109            public void setKey(java.lang.String key) {
110                    _lock.setKey(key);
111            }
112    
113            public java.lang.String getOwner() {
114                    return _lock.getOwner();
115            }
116    
117            public void setOwner(java.lang.String owner) {
118                    _lock.setOwner(owner);
119            }
120    
121            public boolean getInheritable() {
122                    return _lock.getInheritable();
123            }
124    
125            public boolean isInheritable() {
126                    return _lock.isInheritable();
127            }
128    
129            public void setInheritable(boolean inheritable) {
130                    _lock.setInheritable(inheritable);
131            }
132    
133            public java.util.Date getExpirationDate() {
134                    return _lock.getExpirationDate();
135            }
136    
137            public void setExpirationDate(java.util.Date expirationDate) {
138                    _lock.setExpirationDate(expirationDate);
139            }
140    
141            public com.liferay.portal.model.Lock toEscapedModel() {
142                    return _lock.toEscapedModel();
143            }
144    
145            public boolean isNew() {
146                    return _lock.isNew();
147            }
148    
149            public void setNew(boolean n) {
150                    _lock.setNew(n);
151            }
152    
153            public boolean isCachedModel() {
154                    return _lock.isCachedModel();
155            }
156    
157            public void setCachedModel(boolean cachedModel) {
158                    _lock.setCachedModel(cachedModel);
159            }
160    
161            public boolean isEscapedModel() {
162                    return _lock.isEscapedModel();
163            }
164    
165            public void setEscapedModel(boolean escapedModel) {
166                    _lock.setEscapedModel(escapedModel);
167            }
168    
169            public java.io.Serializable getPrimaryKeyObj() {
170                    return _lock.getPrimaryKeyObj();
171            }
172    
173            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
174                    return _lock.getExpandoBridge();
175            }
176    
177            public void setExpandoBridgeAttributes(
178                    com.liferay.portal.service.ServiceContext serviceContext) {
179                    _lock.setExpandoBridgeAttributes(serviceContext);
180            }
181    
182            public java.lang.Object clone() {
183                    return _lock.clone();
184            }
185    
186            public int compareTo(com.liferay.portal.model.Lock lock) {
187                    return _lock.compareTo(lock);
188            }
189    
190            public int hashCode() {
191                    return _lock.hashCode();
192            }
193    
194            public java.lang.String toString() {
195                    return _lock.toString();
196            }
197    
198            public java.lang.String toXmlString() {
199                    return _lock.toXmlString();
200            }
201    
202            public long getExpirationTime() {
203                    return _lock.getExpirationTime();
204            }
205    
206            public boolean isExpired() {
207                    return _lock.isExpired();
208            }
209    
210            public boolean isNeverExpires() {
211                    return _lock.isNeverExpires();
212            }
213    
214            public Lock getWrappedLock() {
215                    return _lock;
216            }
217    
218            private Lock _lock;
219    }