/**
* Constructs the CachedMboxFolder.java.
*
* @param item
* @param path
*/
public [[#variable1323bae0]](FolderItem item, String path) {
super(item, path);
// enable lucene search index by default
boolean enableLucene = getConfiguration().getBooleanWithDefault("property", "enable_lucene", true);
if (enableLucene) {
getSearchEngine().setNonDefaultEngine(new LuceneQueryEngine(this ));
}
}
/**
* @param type
*/
/**
* Constructs the CachedMboxFolder.java.
*
* @param name
* @param type
* @param path
*/
public [[#variable1323bae0]](String name, String type, String path) {
super(name, type, path);
IFolderItem item = getConfiguration();
item.setString("property", "accessrights", "user");
item.setString("property", "subfolder", "true");
boolean enableLucene = getConfiguration().getBooleanWithDefault("property", "enable_lucene", false);
if (enableLucene) {
getSearchEngine().setNonDefaultEngine(new LuceneQueryEngine(this ));
}
}
/**
* @see org.columba.mail.folder.AbstractLocalFolder#getDataStorageInstance()
*/
public IDataStorage getDataStorageInstance() {
if (dataStorage == null) {
dataStorage = new [[#variable1323ba80]](this );
}
return dataStorage;
}
|