001    /**
002     * Copyright (c) 2000-present 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.spring.osgi.OSGiBeanProperties;
019    import com.liferay.portal.kernel.util.OrderByComparator;
020    import com.liferay.portal.kernel.workflow.WorkflowLog;
021    import com.liferay.portal.kernel.workflow.WorkflowLogManager;
022    
023    import java.util.List;
024    
025    /**
026     * @author Micha Kiener
027     * @author Shuyang Zhou
028     * @author Brian Wing Shun Chan
029     */
030    @OSGiBeanProperties(
031            property = "proxy.bean=true", service = WorkflowLogManager.class
032    )
033    public class WorkflowLogManagerProxyBean
034            extends BaseProxyBean implements WorkflowLogManager {
035    
036            @Override
037            public int getWorkflowLogCountByWorkflowInstance(
038                    long companyId, long workflowInstanceId, List<Integer> logTypes) {
039    
040                    throw new UnsupportedOperationException();
041            }
042    
043            @Override
044            public int getWorkflowLogCountByWorkflowTask(
045                    long companyId, long workflowTaskId, List<Integer> logTypes) {
046    
047                    throw new UnsupportedOperationException();
048            }
049    
050            @Override
051            public List<WorkflowLog> getWorkflowLogsByWorkflowInstance(
052                    long companyId, long workflowInstanceId, List<Integer> logTypes,
053                    int start, int end, OrderByComparator<WorkflowLog> orderByComparator) {
054    
055                    throw new UnsupportedOperationException();
056            }
057    
058            @Override
059            public List<WorkflowLog> getWorkflowLogsByWorkflowTask(
060                    long companyId, long workflowTaskId, List<Integer> logTypes, int start,
061                    int end, OrderByComparator<WorkflowLog> orderByComparator) {
062    
063                    throw new UnsupportedOperationException();
064            }
065    
066    }