public interface RecipientRewriteTableManagementMBean
| Modifier and Type | Method and Description | 
|---|---|
void | 
addAddressMapping(String user,
                 String domain,
                 String address)
Add address mapping 
 | 
void | 
addDomainMapping(String domain,
                String targetDomain)
Add domain mapping 
 | 
void | 
addErrorMapping(String user,
               String domain,
               String error)
Add error mapping 
 | 
void | 
addMapping(String user,
          String domain,
          String mapping)
Try to identify the right method based on the prefix of the mapping and
 add it. 
 | 
void | 
addRegexMapping(String user,
               String domain,
               String regex)
Add regex mapping 
 | 
Map<String,Collection<String>> | 
getAllMappings()
Return a Map which holds all mappings. 
 | 
Collection<String> | 
getUserDomainMappings(String user,
                     String domain)
Return the explicit mapping stored for the given user and domain. 
 | 
void | 
removeAddressMapping(String user,
                    String domain,
                    String address)
Remove address mapping 
 | 
void | 
removeDomainMapping(String domain,
                   String targetDomain)
Remove domain mapping 
 | 
void | 
removeErrorMapping(String user,
                  String domain,
                  String error)
Remove error mapping 
 | 
void | 
removeMapping(String user,
             String domain,
             String mapping)
Try to identify the right method based on the prefix of the mapping and
 remove it. 
 | 
void | 
removeRegexMapping(String user,
                  String domain,
                  String regex)
Remove regex mapping 
 | 
void addRegexMapping(String user, String domain, String regex) throws Exception
user - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedregex - the regex.Exception - If an error occurredvoid removeRegexMapping(String user, String domain, String regex) throws Exception
user - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedregex - the regex.Exception - If an error occurredvoid addAddressMapping(String user, String domain, String address) throws Exception
user - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedaddress - the address.Exception - If an error occurredvoid removeAddressMapping(String user, String domain, String address) throws Exception
user - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedaddress - Exception - If an error occurredvoid addErrorMapping(String user, String domain, String error) throws Exception
user - the username. Null if no username should be useddomain - the domain. Null if no domain should be usederror - Exception - If an error occurredvoid removeErrorMapping(String user, String domain, String error) throws Exception
user - the username. Null if no username should be useddomain - the domain. Null if no domain should be usederror - Exception - If an error occurredvoid addDomainMapping(String domain, String targetDomain) throws Exception
domain - the domain. Null if no domain should be usedtargetDomain - the target domain for the mappingException - If an error occurredvoid removeDomainMapping(String domain, String targetDomain) throws Exception
domain - the domain. Null if no domain should be usedtargetDomain - the target domain for the mappingException - If an error occurredCollection<String> getUserDomainMappings(String user, String domain) throws Exception
user - the usernamedomain - the domainException - If an error occurredvoid addMapping(String user, String domain, String mapping) throws Exception
user - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedmapping - the mapping.Exception - If an error occurredvoid removeMapping(String user, String domain, String mapping) throws Exception
user - the username. Null if no username should be useddomain - the domain. Null if no domain should be usedmapping - the mapping.Exception - If an error occurredCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.