Package | Description |
---|---|
co.codewizards.cloudstore.local |
Local repository management - implementation.
|
co.codewizards.cloudstore.local.dto |
Converters creating data transfer objects (DTOs) from persistent entities and vice versa.
|
co.codewizards.cloudstore.local.persistence |
Persistent JDO data model (entities) and data access objects (DAOs).
|
co.codewizards.cloudstore.local.transport |
File-system-based transport implementation.
|
Modifier and Type | Method and Description |
---|---|
protected RepoFile |
LocalRepoSync._createRepoFile(RepoFile parentRepoFile,
File file,
ProgressMonitor monitor) |
protected RepoFile |
LocalRepoSync.createRepoFile(RepoFile parentRepoFile,
File file,
ProgressMonitor monitor) |
RepoFile |
LocalRepoSync.sync(File file,
ProgressMonitor monitor,
boolean recursiveChildren) |
protected RepoFile |
LocalRepoSync.sync(RepoFile parentRepoFile,
File file,
ProgressMonitor monitor,
boolean recursiveChildren)
Sync the single given
file . |
Modifier and Type | Method and Description |
---|---|
protected RepoFile |
LocalRepoSync._createRepoFile(RepoFile parentRepoFile,
File file,
ProgressMonitor monitor) |
protected DeleteModification |
LocalRepoSync.createDeleteModification(RepoFile repoFile,
RemoteRepository remoteRepository) |
protected void |
LocalRepoSync.createDeleteModifications(RepoFile repoFile) |
protected RepoFile |
LocalRepoSync.createRepoFile(RepoFile parentRepoFile,
File file,
ProgressMonitor monitor) |
void |
LocalRepoSync.deleteRepoFile(RepoFile repoFile) |
void |
LocalRepoSync.deleteRepoFile(RepoFile repoFile,
boolean createDeleteModifications) |
protected void |
LocalRepoSync.deleteRepoFileWithAllChildrenRecursively(RepoFile repoFile) |
boolean |
LocalRepoSync.isModified(RepoFile repoFile,
File file) |
boolean |
LocalRepoSync.isRepoFileTypeCorrect(RepoFile repoFile,
File file)
Determines, if the type of the given
repoFile matches the type
of the file in the file system referenced by the given file . |
protected void |
LocalRepoSync.populateDeleteModification(DeleteModification modification,
RepoFile repoFile,
RemoteRepository remoteRepository) |
protected void |
LocalRepoSync.putIntoSha1AndLength2PathsIfNormalFile(RepoFile repoFile) |
protected RepoFile |
LocalRepoSync.sync(RepoFile parentRepoFile,
File file,
ProgressMonitor monitor,
boolean recursiveChildren)
Sync the single given
file . |
void |
LocalRepoSync.updateRepoFile(RepoFile repoFile,
File file,
ProgressMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
RepoFileDto |
RepoFileDtoConverter.toRepoFileDto(RepoFile repoFile,
int depth) |
Modifier and Type | Class and Description |
---|---|
class |
Directory |
class |
NormalFile |
class |
Symlink |
Modifier and Type | Method and Description |
---|---|
RepoFile |
RepoFileDao.getChildRepoFile(RepoFile parent,
String name)
Get the child of the given
parent with the specified name . |
RepoFile |
RepoFile.getParent() |
RepoFile |
RepoFileDao.getRepoFile(File localRoot,
File file)
Get the
RepoFile for the given file in the file system. |
Modifier and Type | Method and Description |
---|---|
Collection<RepoFile> |
RepoFileDao.getChildRepoFiles(RepoFile parent)
Get the children of the given
parent . |
List<RepoFile> |
RepoFile.getPathList()
Gets the path within the repository from the
root (including) to this (including). |
Collection<RepoFile> |
RepoFileDao.getRepoFilesChangedAfterExclLastSyncFromRepositoryId(long localRevision,
UUID exclLastSyncFromRepositoryId)
|
Modifier and Type | Method and Description |
---|---|
void |
RepoFileDao.deletePersistent(RepoFile entity) |
RepoFile |
RepoFileDao.getChildRepoFile(RepoFile parent,
String name)
Get the child of the given
parent with the specified name . |
Collection<RepoFile> |
RepoFileDao.getChildRepoFiles(RepoFile parent)
Get the children of the given
parent . |
void |
RepoFile.setParent(RepoFile parent) |
Modifier and Type | Method and Description |
---|---|
protected RepoFile |
FileRepoTransport.syncRepoFile(LocalRepoTransaction transaction,
File file)
Syncs the single file/directory/symlink passed as
file into the database non-recursively. |
Modifier and Type | Method and Description |
---|---|
protected void |
FileRepoTransport.detectAndHandleFileCollision(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File file,
RepoFile normalFileOrSymlink)
Detect if the file to be copied has been modified locally (or copied from another repository) after the last
sync from the repository identified by
fromRepositoryId . |
protected boolean |
FileRepoTransport.detectFileCollision(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File file,
RepoFile normalFileOrSymlink)
Detect if the file to be copied or deleted has been modified locally (or copied from another repository) after the last
sync from the repository identified by
fromRepositoryId . |
Copyright © 2013–2019. All rights reserved.