Package com.logicaldoc.via
Class VIARequestProcessor
- java.lang.Object
-
- com.logicaldoc.via.VIARequestProcessor
-
public class VIARequestProcessor extends Object
An agent that interprets and answers to natural language questions- Since:
- 7.8
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description VIARequestProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.logicaldoc.core.communication.EMail
request(String question, com.logicaldoc.core.security.User user)
Interprets the question and prepares the answer.void
setAccountDAO(EmailAccountDAO accountDAO)
void
setConfig(com.logicaldoc.util.config.ContextProperties config)
void
setDocumentDAO(com.logicaldoc.core.document.dao.DocumentDAO documentDAO)
void
setFolderDAO(com.logicaldoc.core.folder.FolderDAO folderDAO)
void
setMessageTemplateDAO(com.logicaldoc.core.communication.MessageTemplateDAO messageTemplateDAO)
void
setStorer(com.logicaldoc.core.store.Storer storer)
void
setTenantDAO(com.logicaldoc.core.security.dao.TenantDAO tenantDAO)
-
-
-
Method Detail
-
request
public com.logicaldoc.core.communication.EMail request(String question, com.logicaldoc.core.security.User user)
Interprets the question and prepares the answer.- Parameters:
question
- The question in natural languageuser
- The user that has send the question- Returns:
- The email with the answer
-
setTenantDAO
public void setTenantDAO(com.logicaldoc.core.security.dao.TenantDAO tenantDAO)
-
setStorer
public void setStorer(com.logicaldoc.core.store.Storer storer)
-
setFolderDAO
public void setFolderDAO(com.logicaldoc.core.folder.FolderDAO folderDAO)
-
setDocumentDAO
public void setDocumentDAO(com.logicaldoc.core.document.dao.DocumentDAO documentDAO)
-
setConfig
public void setConfig(com.logicaldoc.util.config.ContextProperties config)
-
setMessageTemplateDAO
public void setMessageTemplateDAO(com.logicaldoc.core.communication.MessageTemplateDAO messageTemplateDAO)
-
setAccountDAO
public void setAccountDAO(EmailAccountDAO accountDAO)
-
-