Package org.nuxeo.drive.elasticsearch
Class ESSyncRootFolderItem
-
- All Implemented Interfaces:
Comparable<FileSystemItem>
,FileSystemItem
,FolderItem
public class ESSyncRootFolderItem extends DefaultSyncRootFolderItem
Elasticsearch implementation of aDefaultSyncRootFolderItem
.- Since:
- 8.3
-
-
Field Summary
-
Fields inherited from class org.nuxeo.drive.adapter.impl.DocumentBackedFolderItem
canCreateChild, canScrollDescendants, DESCENDANTS_SCROLL_CACHE, MAX_DESCENDANTS_BATCH_SIZE_DEFAULT, MAX_DESCENDANTS_BATCH_SIZE_PROPERTY, VCS_CHUNK_SIZE
-
Fields inherited from class org.nuxeo.drive.adapter.impl.AbstractDocumentBackedFileSystemItem
docId, docPath, docTitle, PERMISSION_CHECK_OPTIMIZED_PROPERTY, repositoryName
-
Fields inherited from class org.nuxeo.drive.adapter.impl.AbstractFileSystemItem
canDelete, canRename, creationDate, creator, factoryName, FILE_SYSTEM_ITEM_ID_SEPARATOR, FILE_SYSTEM_ITEM_PATH_SEPARATOR, folder, id, lastContributor, lastModificationDate, lockInfo, name, parentId, path, principal, userName
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ESSyncRootFolderItem()
ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)
ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScrollDocumentModelList
getScrollBatch(String scrollId, int batchSize, CoreSession session, long keepAlive)
-
Methods inherited from class org.nuxeo.drive.adapter.impl.DefaultSyncRootFolderItem
canMove, delete, move
-
Methods inherited from class org.nuxeo.drive.adapter.impl.DocumentBackedFolderItem
adaptDocuments, checkBatchSize, createFile, createFolder, doScrollDescendants, equals, fetchFromVCS, fetchFromVcsChunk, getBatch, getCanCreateChild, getCanScrollDescendants, getChildren, getFileManager, getFolderItem, hashCode, initialize, populateAncestorCache, rename, scrollDescendants, setCanCreateChild, setCanScrollDescendants
-
Methods inherited from class org.nuxeo.drive.adapter.impl.AbstractDocumentBackedFileSystemItem
computeId, getDocId, getDocPath, getDocument, getDocumentById, getRepositoryName, getTrashService, handleCollectionMember, parseFileSystemId, setId, updateLastModificationDate
-
Methods inherited from class org.nuxeo.drive.adapter.impl.AbstractFileSystemItem
compareTo, getCanDelete, getCanRename, getCreationDate, getCreator, getFileSystemItemAdapterService, getId, getLastContributor, getLastModificationDate, getLockInfo, getName, getParentId, getPath, getUserName, isFolder, setCanDelete, setCanRename, setCreationDate, setCreator, setFolder, setLastContributor, setLastModificationDate, setLockInfo, setName, setParentId, setPath, setUserName, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.nuxeo.drive.adapter.FileSystemItem
getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getLockInfo, getName, getParentId, getPath, isFolder
-
Methods inherited from interface org.nuxeo.drive.adapter.FolderItem
createFile, createFolder
-
-
-
-
Constructor Detail
-
ESSyncRootFolderItem
public ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)
-
ESSyncRootFolderItem
public ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
-
ESSyncRootFolderItem
public ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
-
ESSyncRootFolderItem
protected ESSyncRootFolderItem()
-
-
Method Detail
-
getScrollBatch
protected ScrollDocumentModelList getScrollBatch(String scrollId, int batchSize, CoreSession session, long keepAlive)
- Overrides:
getScrollBatch
in classDocumentBackedFolderItem
-
-