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
public class DefaultSyncRootFolderItem extends DocumentBackedFolderItem
Default implementation of a synchronization rootFolderItem.- 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
Constructors Modifier Constructor Description protectedDefaultSyncRootFolderItem()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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanMove(FolderItem dest)voiddelete()FileSystemItemmove(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
-
Methods inherited from interface org.nuxeo.drive.adapter.FolderItem
createFile, createFolder
-
-
-
-
Constructor Detail
-
DefaultSyncRootFolderItem
public DefaultSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)
-
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 Detail
-
delete
public void delete()
- Specified by:
deletein interfaceFileSystemItem- Overrides:
deletein classAbstractDocumentBackedFileSystemItem
-
canMove
public boolean canMove(FolderItem dest)
- Specified by:
canMovein interfaceFileSystemItem- Overrides:
canMovein classAbstractDocumentBackedFileSystemItem
-
move
public FileSystemItem move(FolderItem dest)
- Specified by:
movein interfaceFileSystemItem- Overrides:
movein classAbstractDocumentBackedFileSystemItem
-
-