1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model;
24  
25  
26  /**
27   * <a href="LockSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link Lock}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       Lock
40   * @generated
41   */
42  public class LockWrapper implements Lock {
43      public LockWrapper(Lock lock) {
44          _lock = lock;
45      }
46  
47      public long getPrimaryKey() {
48          return _lock.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _lock.setPrimaryKey(pk);
53      }
54  
55      public java.lang.String getUuid() {
56          return _lock.getUuid();
57      }
58  
59      public void setUuid(java.lang.String uuid) {
60          _lock.setUuid(uuid);
61      }
62  
63      public long getLockId() {
64          return _lock.getLockId();
65      }
66  
67      public void setLockId(long lockId) {
68          _lock.setLockId(lockId);
69      }
70  
71      public long getCompanyId() {
72          return _lock.getCompanyId();
73      }
74  
75      public void setCompanyId(long companyId) {
76          _lock.setCompanyId(companyId);
77      }
78  
79      public long getUserId() {
80          return _lock.getUserId();
81      }
82  
83      public void setUserId(long userId) {
84          _lock.setUserId(userId);
85      }
86  
87      public java.lang.String getUserUuid()
88          throws com.liferay.portal.SystemException {
89          return _lock.getUserUuid();
90      }
91  
92      public void setUserUuid(java.lang.String userUuid) {
93          _lock.setUserUuid(userUuid);
94      }
95  
96      public java.lang.String getUserName() {
97          return _lock.getUserName();
98      }
99  
100     public void setUserName(java.lang.String userName) {
101         _lock.setUserName(userName);
102     }
103 
104     public java.util.Date getCreateDate() {
105         return _lock.getCreateDate();
106     }
107 
108     public void setCreateDate(java.util.Date createDate) {
109         _lock.setCreateDate(createDate);
110     }
111 
112     public java.lang.String getClassName() {
113         return _lock.getClassName();
114     }
115 
116     public void setClassName(java.lang.String className) {
117         _lock.setClassName(className);
118     }
119 
120     public java.lang.String getKey() {
121         return _lock.getKey();
122     }
123 
124     public void setKey(java.lang.String key) {
125         _lock.setKey(key);
126     }
127 
128     public java.lang.String getOwner() {
129         return _lock.getOwner();
130     }
131 
132     public void setOwner(java.lang.String owner) {
133         _lock.setOwner(owner);
134     }
135 
136     public boolean getInheritable() {
137         return _lock.getInheritable();
138     }
139 
140     public boolean isInheritable() {
141         return _lock.isInheritable();
142     }
143 
144     public void setInheritable(boolean inheritable) {
145         _lock.setInheritable(inheritable);
146     }
147 
148     public java.util.Date getExpirationDate() {
149         return _lock.getExpirationDate();
150     }
151 
152     public void setExpirationDate(java.util.Date expirationDate) {
153         _lock.setExpirationDate(expirationDate);
154     }
155 
156     public Lock toEscapedModel() {
157         return _lock.toEscapedModel();
158     }
159 
160     public boolean isNew() {
161         return _lock.isNew();
162     }
163 
164     public boolean setNew(boolean n) {
165         return _lock.setNew(n);
166     }
167 
168     public boolean isCachedModel() {
169         return _lock.isCachedModel();
170     }
171 
172     public void setCachedModel(boolean cachedModel) {
173         _lock.setCachedModel(cachedModel);
174     }
175 
176     public boolean isEscapedModel() {
177         return _lock.isEscapedModel();
178     }
179 
180     public void setEscapedModel(boolean escapedModel) {
181         _lock.setEscapedModel(escapedModel);
182     }
183 
184     public java.io.Serializable getPrimaryKeyObj() {
185         return _lock.getPrimaryKeyObj();
186     }
187 
188     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
189         return _lock.getExpandoBridge();
190     }
191 
192     public void setExpandoBridgeAttributes(
193         com.liferay.portal.service.ServiceContext serviceContext) {
194         _lock.setExpandoBridgeAttributes(serviceContext);
195     }
196 
197     public java.lang.Object clone() {
198         return _lock.clone();
199     }
200 
201     public int compareTo(Lock lock) {
202         return _lock.compareTo(lock);
203     }
204 
205     public int hashCode() {
206         return _lock.hashCode();
207     }
208 
209     public java.lang.String toString() {
210         return _lock.toString();
211     }
212 
213     public java.lang.String toXmlString() {
214         return _lock.toXmlString();
215     }
216 
217     public long getExpirationTime() {
218         return _lock.getExpirationTime();
219     }
220 
221     public boolean isExpired() {
222         return _lock.isExpired();
223     }
224 
225     public Lock getWrappedLock() {
226         return _lock;
227     }
228 
229     private Lock _lock;
230 }