org.cid.distribution.plugins.list
Class DataMemberManagerComponent
java.lang.Object
org.cid.distribution.base.DistributionComponentBase
org.cid.distribution.plugins.list.DataMemberManagerComponent
- All Implemented Interfaces:
- DistributionContextAware, DistributionComponent, MemberManager
public class DataMemberManagerComponent
- extends DistributionComponentBase
- implements MemberManager
The DataMemberManagerComponent is a read-only provider of DistributionMember
objects. Using the DBMemberManagerComponent the members of a distribution list
can be retrieved from any DataProvider Component. This allow, in example,
using any JDBC data source and a simple query to provide the desired set
of members for a list.
This MemberManager
may be of use in newsletter
mailings, announcement mailings and similar needs, as it is intended
to be an easy way to integrate smsAmlm with an existing
database.
- Version:
- $Revision:111 $
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataMemberManagerComponent
public DataMemberManagerComponent()
- Class constructor
getMembers
public java.util.Enumeration<DistributionMember> getMembers()
throws DistributionProcessingException
- Returns the list members.
- Specified by:
getMembers
in interface MemberManager
- Returns:
- The lists members.
- Throws:
DistributionProcessingException
addRules
public static void addRules(org.apache.commons.digester.Digester d,
java.lang.String patternPrefix)
- Configures additional rules for the commons-digester library.
getDataProvider
public DataProvider getDataProvider()
- Returns:
- Returns the data provider.
setDataProvider
public void setDataProvider(java.lang.String dataProvider)
- Parameters:
data
- The data to set.
getAddressColumn
public java.lang.String getAddressColumn()
- Returns:
- Returns the addressColumn.
setAddressColumn
public void setAddressColumn(java.lang.String addressColumn)
- Parameters:
addressColumn
- The addressColumn to set.
getNameColumn
public java.lang.String getNameColumn()
- Returns:
- Returns the nameColumn.
setNameColumn
public void setNameColumn(java.lang.String nameColumn)
- Parameters:
nameColumn
- The nameColumn to set.
Copyright © 2006 null. All Rights Reserved.