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    import com.liferay.portal.kernel.scripting.ScriptingExecutor;
020    
021    import java.util.Map;
022    import java.util.Set;
023    
024    import javax.portlet.PortletConfig;
025    import javax.portlet.PortletContext;
026    import javax.portlet.PortletRequest;
027    import javax.portlet.PortletResponse;
028    
029    /**
030     * @author Michael C. Han
031     */
032    public class ScriptingProxyBean extends BaseProxyBean implements Scripting {
033    
034            public void addScriptingExecutor(
035                    String language, ScriptingExecutor scriptingExecutor) {
036    
037                    throw new UnsupportedOperationException();
038            }
039    
040            public void clearCache(String language) {
041                    throw new UnsupportedOperationException();
042            }
043    
044            public Map<String, Object> eval(
045                    Set<String> allowedClasses, Map<String, Object> inputObjects,
046                    Set<String> outputNames, String language, String script,
047                    ClassLoader... classLoaders) {
048    
049                    throw new UnsupportedOperationException();
050            }
051    
052            public void exec(
053                    Set<String> allowedClasses, Map<String, Object> inputObjects,
054                    String language, String script, ClassLoader... classLoaders) {
055    
056                    throw new UnsupportedOperationException();
057            }
058    
059            public Map<String, Object> getPortletObjects(
060                    PortletConfig portletConfig, PortletContext portletContext,
061                    PortletRequest portletRequest, PortletResponse portletResponse) {
062    
063                    throw new UnsupportedOperationException();
064            }
065    
066            public Set<String> getSupportedLanguages() {
067                    throw new UnsupportedOperationException();
068            }
069    
070            public void setScriptingExecutors(
071                    Map<String, ScriptingExecutor> scriptingExecutors) {
072    
073                    throw new UnsupportedOperationException();
074            }
075    
076    }