|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICommandListservManager
ICommandListservManager is the interface that describes the functionality of any command based list serv managers. In order to obtain a reference to one, you can call:
ICommandListservManager mgr = (ICommandListservManager)mailetContext.getAttribute(ICommandListservManager.ID + listName);
Field Summary | |
---|---|
static java.lang.String |
ID
|
Method Summary | |
---|---|
IListServCommand |
getCommand(java.lang.String name)
Get a specific command |
java.util.Map |
getCommands()
Get all the available commands |
IListServCommand |
getCommandTarget(MailAddress mailAddress)
Based on the to address get a valid or command or null |
java.lang.String |
getListDomain()
Get the domain of the list |
java.lang.String |
getListName(boolean displayFormat)
Get the name of this list |
java.lang.String |
getListOwner()
Gets the owner of this list |
java.lang.String |
getResourcesFile()
|
java.util.Properties |
getStandardProperties()
Use this to get standard properties for future calls to XMLResources |
UsersRepository |
getUsersRepository()
Get the current user repository for this list serv |
XMLResources[] |
initXMLResources(java.lang.String[] names)
Initializes an array of resources |
void |
onError(Mail mail,
java.lang.String subject,
java.lang.String errorMessage)
An error occurred, send some sort of message to the sender |
Methods inherited from interface org.apache.mailet.Mailet |
---|
destroy, getMailetConfig, getMailetInfo, init, service |
Field Detail |
---|
static final java.lang.String ID
Method Detail |
---|
java.lang.String getListName(boolean displayFormat)
displayFormat
- is whether you want a display version of this or not
java.lang.String getListOwner()
java.lang.String getListDomain()
IListServCommand getCommand(java.lang.String name)
name
- case in-sensitive
IListServCommand
if found, null otherwisejava.util.Map getCommands()
IListServCommand
sIListServCommand getCommandTarget(MailAddress mailAddress)
mailAddress
-
UsersRepository getUsersRepository()
UsersRepository
that is used for the member list of the list servvoid onError(Mail mail, java.lang.String subject, java.lang.String errorMessage) throws javax.mail.MessagingException
subject
- the subject of the message to sendmail
- errorMessage
-
javax.mail.MessagingException
java.lang.String getResourcesFile()
java.util.Properties getStandardProperties()
XMLResources
XMLResources[] initXMLResources(java.lang.String[] names) throws org.apache.avalon.framework.configuration.ConfigurationException
names
- such as 'header, footer' etc...
org.apache.avalon.framework.configuration.ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |