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