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            @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    }