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 |
ROLE
static final java.lang.String ROLE
- See Also:
- Constant Field Values
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.