001    /**
002     * Copyright (c) 2000-2012 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            public void delete(String groupName) {
032                    throw new UnsupportedOperationException();
033            }
034    
035            public void delete(String jobName, String groupName) {
036                    throw new UnsupportedOperationException();
037            }
038    
039            public SchedulerResponse getScheduledJob(String jobName, String groupName) {
040                    throw new UnsupportedOperationException();
041            }
042    
043            public List<SchedulerResponse> getScheduledJobs() {
044                    throw new UnsupportedOperationException();
045            }
046    
047            public List<SchedulerResponse> getScheduledJobs(String groupName) {
048                    throw new UnsupportedOperationException();
049            }
050    
051            public void pause(String groupName) {
052                    throw new UnsupportedOperationException();
053            }
054    
055            public void pause(String jobName, String groupName) {
056                    throw new UnsupportedOperationException();
057            }
058    
059            public void resume(String groupName) {
060                    throw new UnsupportedOperationException();
061            }
062    
063            public void resume(String jobName, String groupName) {
064                    throw new UnsupportedOperationException();
065            }
066    
067            public void schedule(
068                    Trigger trigger, String description, String destinationName,
069                    Message message) {
070    
071                    throw new UnsupportedOperationException();
072            }
073    
074            public void shutdown() {
075                    throw new UnsupportedOperationException();
076            }
077    
078            public void start() {
079                    throw new UnsupportedOperationException();
080            }
081    
082            public void suppressError(String jobName, String groupName) {
083                    throw new UnsupportedOperationException();
084            }
085    
086            public void unschedule(String groupName) {
087                    throw new UnsupportedOperationException();
088            }
089    
090            public void unschedule(String jobName, String groupName) {
091                    throw new UnsupportedOperationException();
092            }
093    
094            public void update(Trigger trigger) {
095                    throw new UnsupportedOperationException();
096            }
097    
098    }