001    /**
002     * Copyright (c) 2000-2013 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.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            @Override
034            public void add(
035                    String domainName, RulesResourceRetriever RulesResourceRetriever,
036                    ClassLoader... clientClassLoaders) {
037    
038                    throw new UnsupportedOperationException();
039            }
040    
041            @Override
042            public boolean containsRuleDomain(String domainName) {
043                    throw new UnsupportedOperationException();
044            }
045    
046            @Override
047            public void execute(
048                    RulesResourceRetriever RulesResourceRetriever, List<Fact<?>> facts,
049                    ClassLoader... clientClassLoaders) {
050    
051                    throw new UnsupportedOperationException();
052            }
053    
054            @Override
055            public Map<String, ?> execute(
056                    RulesResourceRetriever RulesResourceRetriever, List<Fact<?>> facts,
057                    Query query, ClassLoader... clientClassLoaders) {
058    
059                    throw new UnsupportedOperationException();
060            }
061    
062            @Override
063            public void execute(
064                    String domainName, List<Fact<?>> facts,
065                    ClassLoader... clientClassLoaders) {
066    
067                    throw new UnsupportedOperationException();
068            }
069    
070            @Override
071            public Map<String, ?> execute(
072                    String domainName, List<Fact<?>> facts, Query query,
073                    ClassLoader... clientClassLoaders) {
074    
075                    throw new UnsupportedOperationException();
076            }
077    
078            @Override
079            public void remove(String domainName) {
080                    throw new UnsupportedOperationException();
081            }
082    
083            @Override
084            public void update(
085                    String domainName, RulesResourceRetriever RulesResourceRetriever,
086                    ClassLoader... clientClassLoaders) {
087    
088                    throw new UnsupportedOperationException();
089            }
090    
091    }