001    /**
002     * Copyright (c) 2000-2010 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 addScriptionExecutor(
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    
048                    throw new UnsupportedOperationException();
049            }
050    
051            public void exec(
052                    Set<String> allowedClasses, Map<String, Object> inputObjects,
053                    String language, String script) {
054    
055                    throw new UnsupportedOperationException();
056            }
057    
058            public Map<String, Object> getPortletObjects(
059                    PortletConfig portletConfig, PortletContext portletContext,
060                    PortletRequest portletRequest, PortletResponse portletResponse) {
061    
062                    throw new UnsupportedOperationException();
063            }
064    
065            public Set<String> getSupportedLanguages() {
066                    throw new UnsupportedOperationException();
067            }
068    
069            public void setScriptingExecutors(
070                    Map<String, ScriptingExecutor> scriptingExecutors) {
071    
072                    throw new UnsupportedOperationException();
073            }
074    
075    }