org.apache.james.api.domainlist
Interface ManageableDomainList

All Superinterfaces:
DomainList
All Known Implementing Classes:
AbstractDomainList, JDBCDomainList, SimpleDomainList, XMLDomainList

public interface ManageableDomainList
extends DomainList

Services which allow to manage the DomainList should implement this interface


Field Summary
static java.lang.String ROLE
           
 
Method Summary
 boolean addDomain(java.lang.String domain)
          Add domain to the service
 boolean removeDomain(java.lang.String domain)
          Remove domain from the service
 
Methods inherited from interface org.apache.james.api.domainlist.DomainList
containsDomain, getDomains, setAutoDetect, setAutoDetectIP
 

Field Detail

ROLE

static final java.lang.String ROLE
See Also:
Constant Field Values
Method Detail

addDomain

boolean addDomain(java.lang.String domain)
Add domain to the service

Parameters:
domain - domain to add
Returns:
true if successfully

removeDomain

boolean removeDomain(java.lang.String domain)
Remove domain from the service

Parameters:
domain - domain to remove
Returns:
true if succesfully


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.