001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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    }