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.scripting;
016    
017    import com.liferay.portal.kernel.messaging.proxy.BaseProxyBean;
018    import com.liferay.portal.kernel.scripting.Scripting;
019    
020    import java.util.Map;
021    import java.util.Set;
022    
023    /**
024     * @author Michael C. Han
025     * @author Shuyang Zhou
026     */
027    public class ScriptingProxyBean extends BaseProxyBean implements Scripting {
028    
029            @Override
030            public void clearCache(String language) {
031                    throw new UnsupportedOperationException();
032            }
033    
034            @Override
035            public Map<String, Object> eval(
036                    Set<String> allowedClasses, Map<String, Object> inputObjects,
037                    Set<String> outputNames, String language, String script,
038                    String... servletContextNames) {
039    
040                    throw new UnsupportedOperationException();
041            }
042    
043            @Override
044            public void exec(
045                    Set<String> allowedClasses, Map<String, Object> inputObjects,
046                    String language, String script, String... servletContextNames) {
047    
048                    throw new UnsupportedOperationException();
049            }
050    
051            @Override
052            public Set<String> getSupportedLanguages() {
053                    throw new UnsupportedOperationException();
054            }
055    
056    }