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.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.WorkflowInstance;
020    import com.liferay.portal.kernel.workflow.WorkflowInstanceManager;
021    
022    import java.io.Serializable;
023    
024    import java.util.List;
025    import java.util.Map;
026    
027    /**
028     * @author Micha Kiener
029     */
030    public class WorkflowInstanceManagerProxyBean
031            extends BaseProxyBean implements WorkflowInstanceManager {
032    
033            public void deleteWorkflowInstance(
034                    long companyId, long workflowInstanceId) {
035    
036                    throw new UnsupportedOperationException();
037            }
038    
039            public List<String> getNextTransitionNames(
040                    long companyId, long userId, long workflowInstanceId) {
041    
042                    throw new UnsupportedOperationException();
043            }
044    
045            public WorkflowInstance getWorkflowInstance(
046                    long companyId, long workflowInstanceId) {
047    
048                    throw new UnsupportedOperationException();
049            }
050    
051            public int getWorkflowInstanceCount(
052                    long companyId, Long userId, String assetClassName, Long assetClassPK,
053                    Boolean completed) {
054    
055                    throw new UnsupportedOperationException();
056            }
057    
058            public int getWorkflowInstanceCount(
059                    long companyId, String workflowDefinitionName,
060                    Integer workflowDefinitionVersion, Boolean completed) {
061    
062                    throw new UnsupportedOperationException();
063            }
064    
065            public List<WorkflowInstance> getWorkflowInstances(
066                    long companyId, Long userId, String assetClassName, Long assetClassPK,
067                    Boolean completed, int start, int end,
068                    OrderByComparator orderByComparator) {
069    
070                    throw new UnsupportedOperationException();
071            }
072    
073            public List<WorkflowInstance> getWorkflowInstances(
074                    long companyId, String workflowDefinitionName,
075                    Integer workflowDefinitionVersion, Boolean completed, int start,
076                    int end, OrderByComparator orderByComparator) {
077    
078                    throw new UnsupportedOperationException();
079            }
080    
081            public WorkflowInstance signalWorkflowInstance(
082                    long companyId, long userId, long workflowInstanceId,
083                    String transitionName, Map<String, Serializable> workflowContext) {
084    
085                    throw new UnsupportedOperationException();
086            }
087    
088            public WorkflowInstance startWorkflowInstance(
089                    long companyId, long groupId, long userId,
090                    String workflowDefinitionName, Integer workflowDefinitionVersion,
091                    String transitionName, Map<String, Serializable> workflowContext) {
092    
093                    throw new UnsupportedOperationException();
094            }
095    
096            public WorkflowInstance updateWorkflowContext(
097                    long companyId, long workflowInstanceId,
098                    Map<String, Serializable> workflowContext) {
099    
100                    throw new UnsupportedOperationException();
101            }
102    
103    }