001    /**
002     * Copyright (c) 2000-2013 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.scheduler;
016    
017    import com.liferay.portal.kernel.messaging.Message;
018    import com.liferay.portal.kernel.messaging.proxy.BaseProxyBean;
019    import com.liferay.portal.kernel.scheduler.SchedulerEngine;
020    import com.liferay.portal.kernel.scheduler.Trigger;
021    import com.liferay.portal.kernel.scheduler.messaging.SchedulerResponse;
022    
023    import java.util.List;
024    
025    /**
026     * @author Tina Tian
027     */
028    public class SchedulerEngineProxyBean
029            extends BaseProxyBean implements SchedulerEngine {
030    
031            @Override
032            public void delete(String groupName) {
033                    throw new UnsupportedOperationException();
034            }
035    
036            @Override
037            public void delete(String jobName, String groupName) {
038                    throw new UnsupportedOperationException();
039            }
040    
041            @Override
042            public SchedulerResponse getScheduledJob(String jobName, String groupName) {
043                    throw new UnsupportedOperationException();
044            }
045    
046            @Override
047            public List<SchedulerResponse> getScheduledJobs() {
048                    throw new UnsupportedOperationException();
049            }
050    
051            @Override
052            public List<SchedulerResponse> getScheduledJobs(String groupName) {
053                    throw new UnsupportedOperationException();
054            }
055    
056            @Override
057            public void pause(String groupName) {
058                    throw new UnsupportedOperationException();
059            }
060    
061            @Override
062            public void pause(String jobName, String groupName) {
063                    throw new UnsupportedOperationException();
064            }
065    
066            @Override
067            public void resume(String groupName) {
068                    throw new UnsupportedOperationException();
069            }
070    
071            @Override
072            public void resume(String jobName, String groupName) {
073                    throw new UnsupportedOperationException();
074            }
075    
076            @Override
077            public void schedule(
078                    Trigger trigger, String description, String destinationName,
079                    Message message) {
080    
081                    throw new UnsupportedOperationException();
082            }
083    
084            @Override
085            public void shutdown() {
086                    throw new UnsupportedOperationException();
087            }
088    
089            @Override
090            public void start() {
091                    throw new UnsupportedOperationException();
092            }
093    
094            @Override
095            public void suppressError(String jobName, String groupName) {
096                    throw new UnsupportedOperationException();
097            }
098    
099            @Override
100            public void unschedule(String groupName) {
101                    throw new UnsupportedOperationException();
102            }
103    
104            @Override
105            public void unschedule(String jobName, String groupName) {
106                    throw new UnsupportedOperationException();
107            }
108    
109            @Override
110            public void update(Trigger trigger) {
111                    throw new UnsupportedOperationException();
112            }
113    
114    }