001    /**
002     * Copyright (c) 2000-2011 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.workflow;
016    
017    import com.liferay.portal.kernel.messaging.proxy.BaseProxyBean;
018    import com.liferay.portal.kernel.util.OrderByComparator;
019    import com.liferay.portal.kernel.workflow.WorkflowDefinition;
020    import com.liferay.portal.kernel.workflow.WorkflowDefinitionManager;
021    
022    import java.io.InputStream;
023    
024    import java.util.List;
025    
026    /**
027     * @author Micha Kiener
028     * @author Shuyang Zhou
029     * @author Brian Wing Shun Chan
030     * @author Marcellus Tavares
031     */
032    public class WorkflowDefinitionManagerProxyBean
033            extends BaseProxyBean implements WorkflowDefinitionManager {
034    
035            public WorkflowDefinition deployWorkflowDefinition(
036                    long companyId, long userId, String title, InputStream inputStream) {
037    
038                    throw new UnsupportedOperationException();
039            }
040    
041            public List<WorkflowDefinition> getActiveWorkflowDefinitions(
042                    long companyId, int start, int end,
043                    OrderByComparator orderByComparator) {
044    
045                    throw new UnsupportedOperationException();
046            }
047    
048            public List<WorkflowDefinition> getActiveWorkflowDefinitions(
049                    long companyId, String name, int start, int end,
050                    OrderByComparator orderByComparator) {
051    
052                    throw new UnsupportedOperationException();
053            }
054    
055            public int getActiveWorkflowDefinitionCount(long companyId) {
056                    throw new UnsupportedOperationException();
057            }
058    
059            public int getActiveWorkflowDefinitionCount(long companyId, String name) {
060                    throw new UnsupportedOperationException();
061            }
062    
063            public WorkflowDefinition getWorkflowDefinition(
064                    long companyId, String name, int version) {
065    
066                    throw new UnsupportedOperationException();
067            }
068    
069            public int getWorkflowDefinitionCount(long companyId) {
070                    throw new UnsupportedOperationException();
071            }
072    
073            public int getWorkflowDefinitionCount(long companyId, String name) {
074                    throw new UnsupportedOperationException();
075            }
076    
077            public List<WorkflowDefinition> getWorkflowDefinitions(
078                    long companyId, int start, int end,
079                    OrderByComparator orderByComparator) {
080    
081                    throw new UnsupportedOperationException();
082            }
083    
084            public List<WorkflowDefinition> getWorkflowDefinitions(
085                    long companyId, String name, int start, int end,
086                    OrderByComparator orderByComparator) {
087    
088                    throw new UnsupportedOperationException();
089            }
090    
091            public void undeployWorkflowDefinition(
092                    long companyId, long userId, String name, int version) {
093    
094                    throw new UnsupportedOperationException();
095            }
096    
097            public WorkflowDefinition updateActive(
098                    long companyId, long userId, String name, int version, boolean active) {
099    
100                    throw new UnsupportedOperationException();
101            }
102    
103            public WorkflowDefinition updateTitle(
104                    long companyId, long userId, String name, int version, String title) {
105    
106                    throw new UnsupportedOperationException();
107            }
108    
109    }