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