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.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link WorkflowDefinitionLinkLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       WorkflowDefinitionLinkLocalService
024     * @generated
025     */
026    public class WorkflowDefinitionLinkLocalServiceWrapper
027            implements WorkflowDefinitionLinkLocalService {
028            public WorkflowDefinitionLinkLocalServiceWrapper(
029                    WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
030                    _workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
031            }
032    
033            public com.liferay.portal.model.WorkflowDefinitionLink addWorkflowDefinitionLink(
034                    com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _workflowDefinitionLinkLocalService.addWorkflowDefinitionLink(workflowDefinitionLink);
037            }
038    
039            public com.liferay.portal.model.WorkflowDefinitionLink createWorkflowDefinitionLink(
040                    long workflowDefinitionLinkId) {
041                    return _workflowDefinitionLinkLocalService.createWorkflowDefinitionLink(workflowDefinitionLinkId);
042            }
043    
044            public void deleteWorkflowDefinitionLink(long workflowDefinitionLinkId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _workflowDefinitionLinkLocalService.deleteWorkflowDefinitionLink(workflowDefinitionLinkId);
048            }
049    
050            public void deleteWorkflowDefinitionLink(
051                    com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _workflowDefinitionLinkLocalService.deleteWorkflowDefinitionLink(workflowDefinitionLink);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _workflowDefinitionLinkLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _workflowDefinitionLinkLocalService.dynamicQuery(dynamicQuery,
068                            start, end);
069            }
070    
071            @SuppressWarnings("unchecked")
072            public java.util.List dynamicQuery(
073                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
074                    int end,
075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return _workflowDefinitionLinkLocalService.dynamicQuery(dynamicQuery,
078                            start, end, orderByComparator);
079            }
080    
081            public long dynamicQueryCount(
082                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _workflowDefinitionLinkLocalService.dynamicQueryCount(dynamicQuery);
085            }
086    
087            public com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(
088                    long workflowDefinitionLinkId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLink(workflowDefinitionLinkId);
092            }
093    
094            public java.util.List<com.liferay.portal.model.WorkflowDefinitionLink> getWorkflowDefinitionLinks(
095                    int start, int end)
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLinks(start,
098                            end);
099            }
100    
101            public int getWorkflowDefinitionLinksCount()
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLinksCount();
104            }
105    
106            public com.liferay.portal.model.WorkflowDefinitionLink updateWorkflowDefinitionLink(
107                    com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _workflowDefinitionLinkLocalService.updateWorkflowDefinitionLink(workflowDefinitionLink);
110            }
111    
112            public com.liferay.portal.model.WorkflowDefinitionLink updateWorkflowDefinitionLink(
113                    com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink,
114                    boolean merge)
115                    throws com.liferay.portal.kernel.exception.SystemException {
116                    return _workflowDefinitionLinkLocalService.updateWorkflowDefinitionLink(workflowDefinitionLink,
117                            merge);
118            }
119    
120            public com.liferay.portal.model.WorkflowDefinitionLink addWorkflowDefinitionLink(
121                    long userId, long companyId, long groupId, java.lang.String className,
122                    java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
123                    throws com.liferay.portal.kernel.exception.PortalException,
124                            com.liferay.portal.kernel.exception.SystemException {
125                    return _workflowDefinitionLinkLocalService.addWorkflowDefinitionLink(userId,
126                            companyId, groupId, className, workflowDefinitionName,
127                            workflowDefinitionVersion);
128            }
129    
130            public void deleteWorkflowDefinitionLink(long companyId, long groupId,
131                    java.lang.String className)
132                    throws com.liferay.portal.kernel.exception.PortalException,
133                            com.liferay.portal.kernel.exception.SystemException {
134                    _workflowDefinitionLinkLocalService.deleteWorkflowDefinitionLink(companyId,
135                            groupId, className);
136            }
137    
138            public com.liferay.portal.model.WorkflowDefinitionLink getDefaultWorkflowDefinitionLink(
139                    long companyId, java.lang.String className)
140                    throws com.liferay.portal.kernel.exception.PortalException,
141                            com.liferay.portal.kernel.exception.SystemException {
142                    return _workflowDefinitionLinkLocalService.getDefaultWorkflowDefinitionLink(companyId,
143                            className);
144            }
145    
146            public com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(
147                    long companyId, long groupId, java.lang.String className)
148                    throws com.liferay.portal.kernel.exception.PortalException,
149                            com.liferay.portal.kernel.exception.SystemException {
150                    return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLink(companyId,
151                            groupId, className);
152            }
153    
154            public com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(
155                    long companyId, long groupId, java.lang.String className, boolean strict)
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException {
158                    return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLink(companyId,
159                            groupId, className, strict);
160            }
161    
162            public int getWorkflowDefinitionLinksCount(long companyId,
163                    java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
164                    throws com.liferay.portal.kernel.exception.SystemException {
165                    return _workflowDefinitionLinkLocalService.getWorkflowDefinitionLinksCount(companyId,
166                            workflowDefinitionName, workflowDefinitionVersion);
167            }
168    
169            public boolean hasWorkflowDefinitionLink(long companyId, long groupId,
170                    java.lang.String className)
171                    throws com.liferay.portal.kernel.exception.PortalException,
172                            com.liferay.portal.kernel.exception.SystemException {
173                    return _workflowDefinitionLinkLocalService.hasWorkflowDefinitionLink(companyId,
174                            groupId, className);
175            }
176    
177            public com.liferay.portal.model.WorkflowDefinitionLink updateWorkflowDefinitionLink(
178                    long userId, long companyId, long groupId, java.lang.String className,
179                    java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    return _workflowDefinitionLinkLocalService.updateWorkflowDefinitionLink(userId,
183                            companyId, groupId, className, workflowDefinitionName,
184                            workflowDefinitionVersion);
185            }
186    
187            public WorkflowDefinitionLinkLocalService getWrappedWorkflowDefinitionLinkLocalService() {
188                    return _workflowDefinitionLinkLocalService;
189            }
190    
191            private WorkflowDefinitionLinkLocalService _workflowDefinitionLinkLocalService;
192    }