Package org.nuxeo.drive.adapter.impl
Class DefaultSyncRootFolderItem
java.lang.Object
org.nuxeo.drive.adapter.impl.AbstractFileSystemItem
org.nuxeo.drive.adapter.impl.AbstractDocumentBackedFileSystemItem
org.nuxeo.drive.adapter.impl.DocumentBackedFolderItem
org.nuxeo.drive.adapter.impl.DefaultSyncRootFolderItem
- All Implemented Interfaces:
Comparable<FileSystemItem>
,FileSystemItem
,FolderItem
- Direct Known Subclasses:
CollectionSyncRootFolderItem
,ESSyncRootFolderItem
Default implementation of a synchronization root
FolderItem
.- Author:
- Antoine Taillefer
-
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
ModifierConstructorDescriptionprotected
DefaultSyncRootFolderItem
(String factoryName, FolderItem parentItem, DocumentModel doc) DefaultSyncRootFolderItem
(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint) DefaultSyncRootFolderItem
(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canMove
(FolderItem dest) void
delete()
move
(FolderItem dest) Methods inherited from class org.nuxeo.drive.adapter.impl.DocumentBackedFolderItem
adaptDocuments, checkBatchSize, createFile, createFolder, doScrollDescendants, equals, fetchFromVCS, fetchFromVcsChunk, getBatch, getCanCreateChild, getCanScrollDescendants, getChildren, getFileManager, getFolderItem, getScrollBatch, 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
-
Constructor Details
-
DefaultSyncRootFolderItem
-
DefaultSyncRootFolderItem
public DefaultSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint) -
DefaultSyncRootFolderItem
public DefaultSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo) -
DefaultSyncRootFolderItem
protected DefaultSyncRootFolderItem()
-
-
Method Details
-
delete
public void delete()- Specified by:
delete
in interfaceFileSystemItem
- Overrides:
delete
in classAbstractDocumentBackedFileSystemItem
-
canMove
- Specified by:
canMove
in interfaceFileSystemItem
- Overrides:
canMove
in classAbstractDocumentBackedFileSystemItem
-
move
- Specified by:
move
in interfaceFileSystemItem
- Overrides:
move
in classAbstractDocumentBackedFileSystemItem
-