Package | Description |
---|---|
co.codewizards.cloudstore.core.repo.local |
Local repository management - API.
|
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.transport |
File-system-based transport implementation.
|
Modifier and Type | Method and Description |
---|---|
LocalRepoTransaction |
LocalRepoManager.beginReadTransaction()
Begin a JDO transaction for read operations only in the underlying database.
|
LocalRepoTransaction |
LocalRepoManager.beginWriteTransaction()
Begin a JDO transaction for read and write operations in the underlying database.
|
LocalRepoTransaction |
LocalRepoTransactionPreCloseEvent.getSource() |
LocalRepoTransaction |
LocalRepoTransactionPostCloseEvent.getSource() |
LocalRepoTransaction |
LocalRepoTransactionListener.getTransaction() |
LocalRepoTransaction |
LocalRepoTransactionListenerRegistry.getTransaction() |
LocalRepoTransaction |
LocalRepoTransactionPreCloseEvent.getTransaction()
Gets the active
LocalRepoTransaction . |
LocalRepoTransaction |
LocalRepoTransactionPostCloseEvent.getTransaction()
Gets the closed
LocalRepoTransaction . |
LocalRepoTransaction |
AbstractLocalRepoTransactionListener.getTransaction() |
protected LocalRepoTransaction |
AbstractLocalRepoTransactionListener.getTransactionOrFail() |
Modifier and Type | Method and Description |
---|---|
void |
LocalRepoTransactionListener.setTransaction(LocalRepoTransaction transaction) |
void |
AbstractLocalRepoTransactionListener.setTransaction(LocalRepoTransaction transaction) |
Constructor and Description |
---|
LocalRepoTransactionListenerRegistry(LocalRepoTransaction transaction) |
LocalRepoTransactionPostCloseEvent(LocalRepoTransaction source) |
LocalRepoTransactionPreCloseEvent(LocalRepoTransaction source) |
Modifier and Type | Class and Description |
---|---|
class |
LocalRepoTransactionImpl |
Modifier and Type | Field and Description |
---|---|
protected LocalRepoTransaction |
LocalRepoSync.transaction |
Modifier and Type | Method and Description |
---|---|
protected LocalRepoTransaction |
LocalRepoMetaDataImpl.beginReadTransaction()
Begin a JDO transaction for read operations only in the underlying database.
|
protected LocalRepoTransaction |
LocalRepoMetaDataImpl.beginWriteTransaction()
Begin a JDO transaction for read and write operations in the underlying database.
|
Modifier and Type | Method and Description |
---|---|
static LocalRepoSync |
LocalRepoSync.create(LocalRepoTransaction transaction) |
void |
AutoTrackLifecycleListener.setTransaction(LocalRepoTransaction transaction) |
Constructor and Description |
---|
LocalRepoSync(LocalRepoTransaction transaction) |
Modifier and Type | Method and Description |
---|---|
static RepoFileDtoConverter |
RepoFileDtoConverter.create(LocalRepoTransaction transaction) |
Constructor and Description |
---|
RepoFileDtoConverter(LocalRepoTransaction transaction) |
Modifier and Type | Method and Description |
---|---|
protected void |
FileRepoTransport.assertNoDeleteModificationCollision(LocalRepoTransaction transaction,
UUID fromRepositoryId,
String path) |
static ChangeSetDtoBuilder |
ChangeSetDtoBuilder.create(LocalRepoTransaction transaction,
RepoTransport repoTransport) |
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 . |
protected boolean |
FileRepoTransport.detectFileCollisionRecursively(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File fileOrDirectory) |
protected File |
FileRepoTransport.handleFileCollision(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File file) |
protected void |
FileRepoTransport.handleFileTypeCollision(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File file,
Class<? extends RepoFileDto> fromFileType)
Handle a file-type-collision, which was already detected.
|
protected void |
FileRepoTransport.mkDir(LocalRepoTransaction transaction,
UUID clientRepositoryId,
File file,
Date lastModified) |
protected RepoFile |
FileRepoTransport.syncRepoFile(LocalRepoTransaction transaction,
File file)
Syncs the single file/directory/symlink passed as
file into the database non-recursively. |
Constructor and Description |
---|
ChangeSetDtoBuilder(LocalRepoTransaction transaction,
RepoTransport repoTransport) |
Copyright © 2013–2019. All rights reserved.