001    /**
002     * Copyright (c) 2000-2012 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 WorkflowInstanceLink}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       WorkflowInstanceLink
024     * @generated
025     */
026    public class WorkflowInstanceLinkWrapper implements WorkflowInstanceLink,
027            ModelWrapper<WorkflowInstanceLink> {
028            public WorkflowInstanceLinkWrapper(
029                    WorkflowInstanceLink workflowInstanceLink) {
030                    _workflowInstanceLink = workflowInstanceLink;
031            }
032    
033            public Class<?> getModelClass() {
034                    return WorkflowInstanceLink.class;
035            }
036    
037            public String getModelClassName() {
038                    return WorkflowInstanceLink.class.getName();
039            }
040    
041            /**
042            * Returns the primary key of this workflow instance link.
043            *
044            * @return the primary key of this workflow instance link
045            */
046            public long getPrimaryKey() {
047                    return _workflowInstanceLink.getPrimaryKey();
048            }
049    
050            /**
051            * Sets the primary key of this workflow instance link.
052            *
053            * @param primaryKey the primary key of this workflow instance link
054            */
055            public void setPrimaryKey(long primaryKey) {
056                    _workflowInstanceLink.setPrimaryKey(primaryKey);
057            }
058    
059            /**
060            * Returns the workflow instance link ID of this workflow instance link.
061            *
062            * @return the workflow instance link ID of this workflow instance link
063            */
064            public long getWorkflowInstanceLinkId() {
065                    return _workflowInstanceLink.getWorkflowInstanceLinkId();
066            }
067    
068            /**
069            * Sets the workflow instance link ID of this workflow instance link.
070            *
071            * @param workflowInstanceLinkId the workflow instance link ID of this workflow instance link
072            */
073            public void setWorkflowInstanceLinkId(long workflowInstanceLinkId) {
074                    _workflowInstanceLink.setWorkflowInstanceLinkId(workflowInstanceLinkId);
075            }
076    
077            /**
078            * Returns the group ID of this workflow instance link.
079            *
080            * @return the group ID of this workflow instance link
081            */
082            public long getGroupId() {
083                    return _workflowInstanceLink.getGroupId();
084            }
085    
086            /**
087            * Sets the group ID of this workflow instance link.
088            *
089            * @param groupId the group ID of this workflow instance link
090            */
091            public void setGroupId(long groupId) {
092                    _workflowInstanceLink.setGroupId(groupId);
093            }
094    
095            /**
096            * Returns the company ID of this workflow instance link.
097            *
098            * @return the company ID of this workflow instance link
099            */
100            public long getCompanyId() {
101                    return _workflowInstanceLink.getCompanyId();
102            }
103    
104            /**
105            * Sets the company ID of this workflow instance link.
106            *
107            * @param companyId the company ID of this workflow instance link
108            */
109            public void setCompanyId(long companyId) {
110                    _workflowInstanceLink.setCompanyId(companyId);
111            }
112    
113            /**
114            * Returns the user ID of this workflow instance link.
115            *
116            * @return the user ID of this workflow instance link
117            */
118            public long getUserId() {
119                    return _workflowInstanceLink.getUserId();
120            }
121    
122            /**
123            * Sets the user ID of this workflow instance link.
124            *
125            * @param userId the user ID of this workflow instance link
126            */
127            public void setUserId(long userId) {
128                    _workflowInstanceLink.setUserId(userId);
129            }
130    
131            /**
132            * Returns the user uuid of this workflow instance link.
133            *
134            * @return the user uuid of this workflow instance link
135            * @throws SystemException if a system exception occurred
136            */
137            public java.lang.String getUserUuid()
138                    throws com.liferay.portal.kernel.exception.SystemException {
139                    return _workflowInstanceLink.getUserUuid();
140            }
141    
142            /**
143            * Sets the user uuid of this workflow instance link.
144            *
145            * @param userUuid the user uuid of this workflow instance link
146            */
147            public void setUserUuid(java.lang.String userUuid) {
148                    _workflowInstanceLink.setUserUuid(userUuid);
149            }
150    
151            /**
152            * Returns the user name of this workflow instance link.
153            *
154            * @return the user name of this workflow instance link
155            */
156            public java.lang.String getUserName() {
157                    return _workflowInstanceLink.getUserName();
158            }
159    
160            /**
161            * Sets the user name of this workflow instance link.
162            *
163            * @param userName the user name of this workflow instance link
164            */
165            public void setUserName(java.lang.String userName) {
166                    _workflowInstanceLink.setUserName(userName);
167            }
168    
169            /**
170            * Returns the create date of this workflow instance link.
171            *
172            * @return the create date of this workflow instance link
173            */
174            public java.util.Date getCreateDate() {
175                    return _workflowInstanceLink.getCreateDate();
176            }
177    
178            /**
179            * Sets the create date of this workflow instance link.
180            *
181            * @param createDate the create date of this workflow instance link
182            */
183            public void setCreateDate(java.util.Date createDate) {
184                    _workflowInstanceLink.setCreateDate(createDate);
185            }
186    
187            /**
188            * Returns the modified date of this workflow instance link.
189            *
190            * @return the modified date of this workflow instance link
191            */
192            public java.util.Date getModifiedDate() {
193                    return _workflowInstanceLink.getModifiedDate();
194            }
195    
196            /**
197            * Sets the modified date of this workflow instance link.
198            *
199            * @param modifiedDate the modified date of this workflow instance link
200            */
201            public void setModifiedDate(java.util.Date modifiedDate) {
202                    _workflowInstanceLink.setModifiedDate(modifiedDate);
203            }
204    
205            /**
206            * Returns the fully qualified class name of this workflow instance link.
207            *
208            * @return the fully qualified class name of this workflow instance link
209            */
210            public java.lang.String getClassName() {
211                    return _workflowInstanceLink.getClassName();
212            }
213    
214            /**
215            * Returns the class name ID of this workflow instance link.
216            *
217            * @return the class name ID of this workflow instance link
218            */
219            public long getClassNameId() {
220                    return _workflowInstanceLink.getClassNameId();
221            }
222    
223            /**
224            * Sets the class name ID of this workflow instance link.
225            *
226            * @param classNameId the class name ID of this workflow instance link
227            */
228            public void setClassNameId(long classNameId) {
229                    _workflowInstanceLink.setClassNameId(classNameId);
230            }
231    
232            /**
233            * Returns the class p k of this workflow instance link.
234            *
235            * @return the class p k of this workflow instance link
236            */
237            public long getClassPK() {
238                    return _workflowInstanceLink.getClassPK();
239            }
240    
241            /**
242            * Sets the class p k of this workflow instance link.
243            *
244            * @param classPK the class p k of this workflow instance link
245            */
246            public void setClassPK(long classPK) {
247                    _workflowInstanceLink.setClassPK(classPK);
248            }
249    
250            /**
251            * Returns the workflow instance ID of this workflow instance link.
252            *
253            * @return the workflow instance ID of this workflow instance link
254            */
255            public long getWorkflowInstanceId() {
256                    return _workflowInstanceLink.getWorkflowInstanceId();
257            }
258    
259            /**
260            * Sets the workflow instance ID of this workflow instance link.
261            *
262            * @param workflowInstanceId the workflow instance ID of this workflow instance link
263            */
264            public void setWorkflowInstanceId(long workflowInstanceId) {
265                    _workflowInstanceLink.setWorkflowInstanceId(workflowInstanceId);
266            }
267    
268            public boolean isNew() {
269                    return _workflowInstanceLink.isNew();
270            }
271    
272            public void setNew(boolean n) {
273                    _workflowInstanceLink.setNew(n);
274            }
275    
276            public boolean isCachedModel() {
277                    return _workflowInstanceLink.isCachedModel();
278            }
279    
280            public void setCachedModel(boolean cachedModel) {
281                    _workflowInstanceLink.setCachedModel(cachedModel);
282            }
283    
284            public boolean isEscapedModel() {
285                    return _workflowInstanceLink.isEscapedModel();
286            }
287    
288            public java.io.Serializable getPrimaryKeyObj() {
289                    return _workflowInstanceLink.getPrimaryKeyObj();
290            }
291    
292            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
293                    _workflowInstanceLink.setPrimaryKeyObj(primaryKeyObj);
294            }
295    
296            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
297                    return _workflowInstanceLink.getExpandoBridge();
298            }
299    
300            public void setExpandoBridgeAttributes(
301                    com.liferay.portal.service.ServiceContext serviceContext) {
302                    _workflowInstanceLink.setExpandoBridgeAttributes(serviceContext);
303            }
304    
305            @Override
306            public java.lang.Object clone() {
307                    return new WorkflowInstanceLinkWrapper((WorkflowInstanceLink)_workflowInstanceLink.clone());
308            }
309    
310            public int compareTo(
311                    com.liferay.portal.model.WorkflowInstanceLink workflowInstanceLink) {
312                    return _workflowInstanceLink.compareTo(workflowInstanceLink);
313            }
314    
315            @Override
316            public int hashCode() {
317                    return _workflowInstanceLink.hashCode();
318            }
319    
320            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.WorkflowInstanceLink> toCacheModel() {
321                    return _workflowInstanceLink.toCacheModel();
322            }
323    
324            public com.liferay.portal.model.WorkflowInstanceLink toEscapedModel() {
325                    return new WorkflowInstanceLinkWrapper(_workflowInstanceLink.toEscapedModel());
326            }
327    
328            @Override
329            public java.lang.String toString() {
330                    return _workflowInstanceLink.toString();
331            }
332    
333            public java.lang.String toXmlString() {
334                    return _workflowInstanceLink.toXmlString();
335            }
336    
337            public void persist()
338                    throws com.liferay.portal.kernel.exception.SystemException {
339                    _workflowInstanceLink.persist();
340            }
341    
342            /**
343             * @deprecated Renamed to {@link #getWrappedModel}
344             */
345            public WorkflowInstanceLink getWrappedWorkflowInstanceLink() {
346                    return _workflowInstanceLink;
347            }
348    
349            public WorkflowInstanceLink getWrappedModel() {
350                    return _workflowInstanceLink;
351            }
352    
353            public void resetOriginalValues() {
354                    _workflowInstanceLink.resetOriginalValues();
355            }
356    
357            private WorkflowInstanceLink _workflowInstanceLink;
358    }