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.bi.rules;
016    
017    import com.liferay.portal.kernel.bi.rules.Fact;
018    import com.liferay.portal.kernel.bi.rules.Query;
019    import com.liferay.portal.kernel.bi.rules.RulesEngine;
020    import com.liferay.portal.kernel.bi.rules.RulesResourceRetriever;
021    import com.liferay.portal.kernel.messaging.proxy.BaseProxyBean;
022    import com.liferay.portal.kernel.security.pacl.DoPrivileged;
023    
024    import java.util.List;
025    import java.util.Map;
026    
027    /**
028     * @author Michael C. Han
029     */
030    @DoPrivileged
031    public class RulesEngineProxyBean extends BaseProxyBean implements RulesEngine {
032    
033            public void add(
034                    String domainName, RulesResourceRetriever RulesResourceRetriever,
035                    ClassLoader... clientClassLoaders) {
036    
037                    throw new UnsupportedOperationException();
038            }
039    
040            public boolean containsRuleDomain(String domainName) {
041                    throw new UnsupportedOperationException();
042            }
043    
044            public void execute(
045                    RulesResourceRetriever RulesResourceRetriever, List<Fact<?>> facts,
046                    ClassLoader... clientClassLoaders) {
047    
048                    throw new UnsupportedOperationException();
049            }
050    
051            public Map<String, ?> execute(
052                    RulesResourceRetriever RulesResourceRetriever, List<Fact<?>> facts,
053                    Query query, ClassLoader... clientClassLoaders) {
054    
055                    throw new UnsupportedOperationException();
056            }
057    
058            public void execute(
059                    String domainName, List<Fact<?>> facts,
060                    ClassLoader... clientClassLoaders) {
061    
062                    throw new UnsupportedOperationException();
063            }
064    
065            public Map<String, ?> execute(
066                    String domainName, List<Fact<?>> facts, Query query,
067                    ClassLoader... clientClassLoaders) {
068    
069                    throw new UnsupportedOperationException();
070            }
071    
072            public void remove(String domainName) {
073                    throw new UnsupportedOperationException();
074            }
075    
076            public void update(
077                    String domainName, RulesResourceRetriever RulesResourceRetriever,
078                    ClassLoader... clientClassLoaders) {
079    
080                    throw new UnsupportedOperationException();
081            }
082    
083    }