Interface IDfEmbeddingHandler
public interface IDfEmbeddingHandler
This class manages all embedding related apis for project Aviator.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCriteria(IDfFolder folder, String constraint) FUTURE SCOPE: This will add criteria for filtering documents inside the folder.voiddisableEmbeddingForAFolder(IDfFolder folder) voidThis will set embedding enabled flag to false on a virtual document.voidenableEmbeddingForAFolder(IDfFolder folder) This will set embedding enabled flag on a folder object.voidenableEmbeddingForDocuments(List<IDfDocument> documentList) FUTURE SCOPE: This will set embedding enabled on a Documents.voidenableEmbeddingForFolders(List<IDfFolder> folderList) This will set embedding enabled flag on a list of folder objects.voidThis will set embedding enabled flag to true on a virtual document.getEmbeddingStatus(IDfFolder folder) This will return the status on whether all documents inside folder are embedded to CSAI service
-
Method Details
-
enableEmbeddingForAFolder
This will set embedding enabled flag on a folder object. When the folder is saved, CS will create an events for all the documents inside the folder that gets pushed into JMS processing queue. Note that for nested folders, each folder has to be individually embedding enabled.- Throws:
DfException
-
enableEmbeddingForFolders
This will set embedding enabled flag on a list of folder objects.- Throws:
DfException
-
disableEmbeddingForAFolder
- Throws:
DfException
-
enableEmbeddingForVirtualDoc
This will set embedding enabled flag to true on a virtual document. The complete version tree of all the components gets enabled for embedding and chat. Content server takes care of properly handling the embedding status of virtual document and its components for various operations performed on it- Throws:
DfException
-
disableEmbeddingForVirtualDoc
This will set embedding enabled flag to false on a virtual document. The complete version tree of all the components gets disabled for embedding and chat.- Throws:
DfException
-
enableEmbeddingForDocuments
FUTURE SCOPE: This will set embedding enabled on a Documents.- Throws:
DfException
-
addCriteria
FUTURE SCOPE: This will add criteria for filtering documents inside the folder.- Throws:
DfException
-
getEmbeddingStatus
This will return the status on whether all documents inside folder are embedded to CSAI service
-