org.apache.james.services
Interface UsersStore

All Known Implementing Classes:
AvalonUsersStore

public interface UsersStore

Interface for Phoenix blocks to access a store of Users. A UserStore contains one or more UserRepositories. Multiple UserRepositories may or may not have overlapping membership.

Version:
1.0.0, 24/04/1999

Field Summary
static java.lang.String ROLE
          The component role used by components implementing this service
 
Method Summary
 UsersRepository getRepository(java.lang.String name)
          Get the repository, if any, whose name corresponds to the argument parameter
 java.util.Iterator getRepositoryNames()
          Yield an Iterator over the set of repository names managed internally by this store.
 

Field Detail

ROLE

static final java.lang.String ROLE
The component role used by components implementing this service

See Also:
Constant Field Values
Method Detail

getRepository

UsersRepository getRepository(java.lang.String name)
Get the repository, if any, whose name corresponds to the argument parameter

Parameters:
name - the name of the desired repository
Returns:
the UsersRepository corresponding to the name parameter

getRepositoryNames

java.util.Iterator getRepositoryNames()
Yield an Iterator over the set of repository names managed internally by this store.

Returns:
an Iterator over the set of repository names for this store


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.