1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="WorkflowDefinitionLinkLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link WorkflowDefinitionLinkLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       WorkflowDefinitionLinkLocalService
32   * @generated
33   */
34  public class WorkflowDefinitionLinkLocalServiceWrapper
35      implements WorkflowDefinitionLinkLocalService {
36      public WorkflowDefinitionLinkLocalServiceWrapper(
37          WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
38          _workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
39      }
40  
41      public com.liferay.portal.model.WorkflowDefinitionLink addWorkflowDefinitionLink(
42          com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _workflowDefinitionLinkLocalService.addWorkflowDefinitionLink(workflowDefinitionLink);
45      }
46  
47      public com.liferay.portal.model.WorkflowDefinitionLink createWorkflowDefinitionLink(
48          long workflowDefinitionLinkId) {
49          return _workflowDefinitionLinkLocalService.createWorkflowDefinitionLink(workflowDefinitionLinkId);
50      }
51  
52      public void deleteWorkflowDefinitionLink(long workflowDefinitionLinkId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _workflowDefinitionLinkLocalService.deleteWorkflowDefinitionLink(workflowDefinitionLinkId);
56      }
57  
58      public void deleteWorkflowDefinitionLink(
59          com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _workflowDefinitionLinkLocalService.deleteWorkflowDefinitionLink(workflowDefinitionLink);
62      }
63  
64      @SuppressWarnings("unchecked")
65      public java.util.List dynamicQuery(
66          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67          throws com.liferay.portal.kernel.exception.SystemException {
68          return _workflowDefinitionLinkLocalService.dynamicQuery(dynamicQuery);
69      }
70  
71      @SuppressWarnings("unchecked")
72      public java.util.List dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end) throws com.liferay.portal.kernel.exception.SystemException {
75          return _workflowDefinitionLinkLocalService.dynamicQuery(dynamicQuery,
76              start, end);
77      }
78  
79      @SuppressWarnings("unchecked")
80      public java.util.List dynamicQuery(
81          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
82          int end,
83          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
84          throws com.liferay.portal.kernel.exception.SystemException {
85          return _workflowDefinitionLinkLocalService.dynamicQuery(dynamicQuery,
86              start, end, orderByComparator);
87      }
88  
89      public long dynamicQueryCount(
90          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
91          throws com.liferay.portal.kernel.exception.SystemException {
92          return _workflowDefinitionLinkLocalService.dynamicQueryCount(dynamicQuery);
93      }
94  
95      public com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(
96          long workflowDefinitionLinkId)
97          throws com.liferay.portal.kernel.exception.PortalException,
98              com.liferay.portal.kernel.exception.SystemException {
99          return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLink(workflowDefinitionLinkId);
100     }
101 
102     public java.util.List<com.liferay.portal.model.WorkflowDefinitionLink> getWorkflowDefinitionLinks(
103         int start, int end)
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLinks(start,
106             end);
107     }
108 
109     public int getWorkflowDefinitionLinksCount()
110         throws com.liferay.portal.kernel.exception.SystemException {
111         return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLinksCount();
112     }
113 
114     public com.liferay.portal.model.WorkflowDefinitionLink updateWorkflowDefinitionLink(
115         com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink)
116         throws com.liferay.portal.kernel.exception.SystemException {
117         return _workflowDefinitionLinkLocalService.updateWorkflowDefinitionLink(workflowDefinitionLink);
118     }
119 
120     public com.liferay.portal.model.WorkflowDefinitionLink updateWorkflowDefinitionLink(
121         com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink,
122         boolean merge)
123         throws com.liferay.portal.kernel.exception.SystemException {
124         return _workflowDefinitionLinkLocalService.updateWorkflowDefinitionLink(workflowDefinitionLink,
125             merge);
126     }
127 
128     public com.liferay.portal.model.WorkflowDefinitionLink addWorkflowDefinitionLink(
129         long userId, long companyId, long groupId, java.lang.String className,
130         java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
131         throws com.liferay.portal.kernel.exception.PortalException,
132             com.liferay.portal.kernel.exception.SystemException {
133         return _workflowDefinitionLinkLocalService.addWorkflowDefinitionLink(userId,
134             companyId, groupId, className, workflowDefinitionName,
135             workflowDefinitionVersion);
136     }
137 
138     public void deleteWorkflowDefinitionLink(long companyId, long groupId,
139         java.lang.String className)
140         throws com.liferay.portal.kernel.exception.PortalException,
141             com.liferay.portal.kernel.exception.SystemException {
142         _workflowDefinitionLinkLocalService.deleteWorkflowDefinitionLink(companyId,
143             groupId, className);
144     }
145 
146     public com.liferay.portal.model.WorkflowDefinitionLink getDefaultWorkflowDefinitionLink(
147         long companyId, java.lang.String className)
148         throws com.liferay.portal.kernel.exception.PortalException,
149             com.liferay.portal.kernel.exception.SystemException {
150         return _workflowDefinitionLinkLocalService.getDefaultWorkflowDefinitionLink(companyId,
151             className);
152     }
153 
154     public com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(
155         long companyId, long groupId, java.lang.String className)
156         throws com.liferay.portal.kernel.exception.PortalException,
157             com.liferay.portal.kernel.exception.SystemException {
158         return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLink(companyId,
159             groupId, className);
160     }
161 
162     public com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(
163         long companyId, long groupId, java.lang.String className, boolean strict)
164         throws com.liferay.portal.kernel.exception.PortalException,
165             com.liferay.portal.kernel.exception.SystemException {
166         return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLink(companyId,
167             groupId, className, strict);
168     }
169 
170     public int getWorkflowDefinitionLinksCount(long companyId,
171         java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
172         throws com.liferay.portal.kernel.exception.SystemException {
173         return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLinksCount(companyId,
174             workflowDefinitionName, workflowDefinitionVersion);
175     }
176 
177     public boolean hasWorkflowDefinitionLink(long companyId, long groupId,
178         java.lang.String className)
179         throws com.liferay.portal.kernel.exception.PortalException,
180             com.liferay.portal.kernel.exception.SystemException {
181         return _workflowDefinitionLinkLocalService.hasWorkflowDefinitionLink(companyId,
182             groupId, className);
183     }
184 
185     public com.liferay.portal.model.WorkflowDefinitionLink updateWorkflowDefinitionLink(
186         long userId, long companyId, long groupId, java.lang.String className,
187         java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
188         throws com.liferay.portal.kernel.exception.PortalException,
189             com.liferay.portal.kernel.exception.SystemException {
190         return _workflowDefinitionLinkLocalService.updateWorkflowDefinitionLink(userId,
191             companyId, groupId, className, workflowDefinitionName,
192             workflowDefinitionVersion);
193     }
194 
195     public WorkflowDefinitionLinkLocalService getWrappedWorkflowDefinitionLinkLocalService() {
196         return _workflowDefinitionLinkLocalService;
197     }
198 
199     private WorkflowDefinitionLinkLocalService _workflowDefinitionLinkLocalService;
200 }