01: /**
02: * $Id: RewriterMBean.java,v 1.4 2005/05/05 08:43:19 fa151985 Exp $
03: * Copyright 2004 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.rewriter.admin.mbeans;
14:
15: import com.sun.portal.admin.common.PSMBeanException;
16:
17: import java.util.Set;
18:
19: /**
20: *
21: * @author Francis Sujai
22: */
23: public interface RewriterMBean {
24: public Set listRules() throws PSMBeanException;
25:
26: public String displayRule(String ruleSetID) throws PSMBeanException;
27:
28: public Boolean storeRule(String aXMLRuleSet)
29: throws PSMBeanException;
30:
31: public Boolean removeRule(String ruleSetID) throws PSMBeanException;
32:
33: public Boolean setRule(String aXMLRuleSet) throws PSMBeanException;
34:
35: }
|