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      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _workflowDefinitionLinkLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.kernel.exception.SystemException {
73          return _workflowDefinitionLinkLocalService.dynamicQuery(dynamicQuery,
74              start, end);
75      }
76  
77      public java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.kernel.exception.SystemException {
82          return _workflowDefinitionLinkLocalService.dynamicQuery(dynamicQuery,
83              start, end, orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.kernel.exception.SystemException {
89          return _workflowDefinitionLinkLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(
93          long workflowDefinitionLinkId)
94          throws com.liferay.portal.kernel.exception.PortalException,
95              com.liferay.portal.kernel.exception.SystemException {
96          return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLink(workflowDefinitionLinkId);
97      }
98  
99      public java.util.List<com.liferay.portal.model.WorkflowDefinitionLink> getWorkflowDefinitionLinks(
100         int start, int end)
101         throws com.liferay.portal.kernel.exception.SystemException {
102         return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLinks(start,
103             end);
104     }
105 
106     public int getWorkflowDefinitionLinksCount()
107         throws com.liferay.portal.kernel.exception.SystemException {
108         return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLinksCount();
109     }
110 
111     public com.liferay.portal.model.WorkflowDefinitionLink updateWorkflowDefinitionLink(
112         com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink)
113         throws com.liferay.portal.kernel.exception.SystemException {
114         return _workflowDefinitionLinkLocalService.updateWorkflowDefinitionLink(workflowDefinitionLink);
115     }
116 
117     public com.liferay.portal.model.WorkflowDefinitionLink updateWorkflowDefinitionLink(
118         com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink,
119         boolean merge)
120         throws com.liferay.portal.kernel.exception.SystemException {
121         return _workflowDefinitionLinkLocalService.updateWorkflowDefinitionLink(workflowDefinitionLink,
122             merge);
123     }
124 
125     public com.liferay.portal.model.WorkflowDefinitionLink addWorkflowDefinitionLink(
126         long userId, long companyId, long groupId, java.lang.String className,
127         java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
128         throws com.liferay.portal.kernel.exception.PortalException,
129             com.liferay.portal.kernel.exception.SystemException {
130         return _workflowDefinitionLinkLocalService.addWorkflowDefinitionLink(userId,
131             companyId, groupId, className, workflowDefinitionName,
132             workflowDefinitionVersion);
133     }
134 
135     public void deleteWorkflowDefinitionLink(long companyId, long groupId,
136         java.lang.String className)
137         throws com.liferay.portal.kernel.exception.PortalException,
138             com.liferay.portal.kernel.exception.SystemException {
139         _workflowDefinitionLinkLocalService.deleteWorkflowDefinitionLink(companyId,
140             groupId, className);
141     }
142 
143     public com.liferay.portal.model.WorkflowDefinitionLink getDefaultWorkflowDefinitionLink(
144         long companyId, java.lang.String className)
145         throws com.liferay.portal.kernel.exception.PortalException,
146             com.liferay.portal.kernel.exception.SystemException {
147         return _workflowDefinitionLinkLocalService.getDefaultWorkflowDefinitionLink(companyId,
148             className);
149     }
150 
151     public com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(
152         long companyId, long groupId, java.lang.String className)
153         throws com.liferay.portal.kernel.exception.PortalException,
154             com.liferay.portal.kernel.exception.SystemException {
155         return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLink(companyId,
156             groupId, className);
157     }
158 
159     public int getWorkflowDefinitionLinksCount(long companyId,
160         java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
161         throws com.liferay.portal.kernel.exception.SystemException {
162         return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLinksCount(companyId,
163             workflowDefinitionName, workflowDefinitionVersion);
164     }
165 
166     public boolean hasWorkflowDefinitionLink(long companyId, long groupId,
167         java.lang.String className)
168         throws com.liferay.portal.kernel.exception.PortalException,
169             com.liferay.portal.kernel.exception.SystemException {
170         return _workflowDefinitionLinkLocalService.hasWorkflowDefinitionLink(companyId,
171             groupId, className);
172     }
173 
174     public com.liferay.portal.model.WorkflowDefinitionLink updateWorkflowDefinitionLink(
175         long userId, long companyId, long groupId, java.lang.String className,
176         java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
177         throws com.liferay.portal.kernel.exception.PortalException,
178             com.liferay.portal.kernel.exception.SystemException {
179         return _workflowDefinitionLinkLocalService.updateWorkflowDefinitionLink(userId,
180             companyId, groupId, className, workflowDefinitionName,
181             workflowDefinitionVersion);
182     }
183 
184     public WorkflowDefinitionLinkLocalService getWrappedWorkflowDefinitionLinkLocalService() {
185         return _workflowDefinitionLinkLocalService;
186     }
187 
188     private WorkflowDefinitionLinkLocalService _workflowDefinitionLinkLocalService;
189 }