|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dtw.webmail.util.config.JwmaConfiguration
Class implementing a wrapper for jwma's settings.
Field Summary | |
static java.lang.String |
CONFIG_FILENAME
|
static java.lang.String |
DATA_DIR
|
static java.lang.String |
ETC_DIR
|
static java.lang.String |
I18N_DIR
|
static java.lang.String |
JTEXTPROC_CONFIG
|
static java.lang.String |
LOG_DIR
Defines a name of the static jwma direcory architecture. |
static java.lang.String |
LOG4J_CONFIG
|
static java.lang.String |
TEMPLATE_FILENAME
|
Constructor Summary | |
JwmaConfiguration()
Constructs a new JwmaConfiguration instance. |
Method Summary | |
void |
addPostOffice(PostOffice po)
|
boolean |
existsPostOfficeByName(java.lang.String name)
|
Administration |
getAdministration()
Admin related |
java.lang.String |
getContactManagementPlugin()
|
java.lang.String |
getDefaultMessageProcessor()
Returns a String representing the name of the default message processor. |
PostOffice |
getDefaultPostOffice()
|
Internationalization |
getI18N()
i18n related |
MailTransportAgent |
getMTA()
Mail transport related |
boolean |
getPostOfficeAllowOverride()
Tests if overriding the system's set postoffice is allowed. |
PostOffice |
getPostOfficeByName(java.lang.String name)
|
java.util.Collection |
getPostOfficeCollection()
|
java.util.Iterator |
getPostOffices()
Postoffice related |
java.lang.String |
getPreferencePersistencePlugin()
END i18n related |
java.lang.String |
getRandomAppendPlugin()
|
Security |
getSecurity()
|
boolean |
isAccountCreationEnabled()
Tests if creation of accounts is enabled. |
boolean |
isSSLSetupRequired()
END Mail transport related |
void |
removePostOffice(PostOffice po)
|
void |
setAccountCreationEnabled(boolean b)
Sets the flag that controls if the automatic creation of jwma accounts is enabled. |
void |
setAdministration(Administration administration)
|
void |
setContactManagementPlugin(java.lang.String classname)
|
void |
setDefaultMessageProcessor(java.lang.String name)
Returns a String representing the name of the default message processor. |
void |
setDefaultPostOffice(PostOffice ndpo)
|
void |
setI18N(Internationalization i18N)
|
void |
setMTA(MailTransportAgent mta)
|
void |
setPostOfficeAllowOverride(boolean b)
Sets the flag that controls if overriding the system's set postoffice is allowed or not. |
void |
setPostOfficeCollection(java.util.Collection collection)
|
void |
setPreferencePersistencePlugin(java.lang.String classname)
|
void |
setRandomAppendPlugin(java.lang.String classname)
|
void |
setSecurity(Security security)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LOG_DIR
public static final java.lang.String ETC_DIR
public static final java.lang.String DATA_DIR
public static final java.lang.String I18N_DIR
public static final java.lang.String CONFIG_FILENAME
public static final java.lang.String LOG4J_CONFIG
public static final java.lang.String JTEXTPROC_CONFIG
public static final java.lang.String TEMPLATE_FILENAME
Constructor Detail |
public JwmaConfiguration()
Method Detail |
public Security getSecurity()
public void setSecurity(Security security)
public java.util.Iterator getPostOffices()
public java.util.Collection getPostOfficeCollection()
public void setPostOfficeCollection(java.util.Collection collection)
public void addPostOffice(PostOffice po)
public void removePostOffice(PostOffice po)
public boolean existsPostOfficeByName(java.lang.String name)
public PostOffice getPostOfficeByName(java.lang.String name)
public boolean getPostOfficeAllowOverride()
public void setPostOfficeAllowOverride(boolean b)
b
- true if the overriding is to be allowed,
false otherwise.public PostOffice getDefaultPostOffice()
public void setDefaultPostOffice(PostOffice ndpo)
public MailTransportAgent getMTA()
public void setMTA(MailTransportAgent mta)
public boolean isSSLSetupRequired()
public Administration getAdministration()
public void setAdministration(Administration administration)
public boolean isAccountCreationEnabled()
public void setAccountCreationEnabled(boolean b)
b
- true if account creation is enabled, false otherwise.public java.lang.String getDefaultMessageProcessor()
public void setDefaultMessageProcessor(java.lang.String name)
public Internationalization getI18N()
public void setI18N(Internationalization i18N)
public java.lang.String getPreferencePersistencePlugin()
public void setPreferencePersistencePlugin(java.lang.String classname)
public java.lang.String getContactManagementPlugin()
public void setContactManagementPlugin(java.lang.String classname)
public java.lang.String getRandomAppendPlugin()
public void setRandomAppendPlugin(java.lang.String classname)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |