1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.scripting;
16  
17  import com.liferay.portal.kernel.messaging.proxy.BaseProxyBean;
18  import com.liferay.portal.kernel.scripting.Scripting;
19  import com.liferay.portal.kernel.scripting.ScriptingExecutor;
20  
21  import java.util.Map;
22  import java.util.Set;
23  
24  import javax.portlet.PortletConfig;
25  import javax.portlet.PortletContext;
26  import javax.portlet.PortletRequest;
27  import javax.portlet.PortletResponse;
28  
29  /**
30   * <a href="ScriptingProxyBean.java.html"><b><i>View Source</i></b></a>
31   *
32   * @author Michael C. Han
33   */
34  public class ScriptingProxyBean extends BaseProxyBean implements Scripting {
35  
36      public void addScriptionExecutor(
37          String language, ScriptingExecutor scriptingExecutor) {
38  
39          throw new UnsupportedOperationException();
40      }
41  
42      public void clearCache(String language) {
43          throw new UnsupportedOperationException();
44      }
45  
46      public Map<String, Object> eval(
47          Set<String> allowedClasses, Map<String, Object> inputObjects,
48          Set<String> outputNames, String language, String script) {
49  
50          throw new UnsupportedOperationException();
51      }
52  
53      public void exec(
54          Set<String> allowedClasses, Map<String, Object> inputObjects,
55          String language, String script) {
56  
57          throw new UnsupportedOperationException();
58      }
59  
60      public Map<String, Object> getPortletObjects(
61          PortletConfig portletConfig, PortletContext portletContext,
62          PortletRequest portletRequest, PortletResponse portletResponse) {
63  
64          throw new UnsupportedOperationException();
65      }
66  
67      public Set<String> getSupportedLanguages() {
68          throw new UnsupportedOperationException();
69      }
70  
71      public void setScriptingExecutors(
72          Map<String, ScriptingExecutor> scriptingExecutors) {
73  
74          throw new UnsupportedOperationException();
75      }
76  
77  }