| Package | Description |
|---|---|
| de.shadowhunt.subversion | |
| de.shadowhunt.subversion.internal |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
Repository.createTransaction()
Create a new
Transaction to make modifications within. |
| Modifier and Type | Method and Description |
|---|---|
void |
Repository.add(Transaction transaction,
Resource resource,
boolean parents,
InputStream content)
Upload a new revision of the resource and set properties.
|
void |
Repository.commit(Transaction transaction,
String message,
boolean releaseLocks)
Save all modifications of the current running
Transaction. |
void |
Repository.copy(Transaction transaction,
Resource srcResource,
Revision srcRevision,
Resource targetResource,
boolean parents)
Recursively copy a resource in the given revision.
|
void |
Repository.delete(Transaction transaction,
Resource resource)
Delete the resource from the repository.
|
void |
Repository.mkdir(Transaction transaction,
Resource resource,
boolean parents)
Create a folder with all necessary parents folders.
|
void |
Repository.move(Transaction transaction,
Resource srcResource,
Resource targetResource,
boolean parents)
Recursively move a resource (latest revision).
|
void |
Repository.propertiesDelete(Transaction transaction,
Resource resource,
ResourceProperty... properties)
Remove the given properties form the resource.
|
void |
Repository.propertiesSet(Transaction transaction,
Resource resource,
ResourceProperty... properties)
Set the given properties for the resource (new properties will be added, existing properties will be
overridden).
|
void |
Repository.rollback(Transaction transaction)
Abort the current running
Transaction and revert all modifications. |
void |
Repository.rollbackIfNotCommitted(Transaction transaction)
Abort the current running
Transaction and revert all modifications if the transaction is not committed. |
| Modifier and Type | Class and Description |
|---|---|
class |
TransactionImpl
Default implementation for
Transaction. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractBaseRepository.add(Transaction transaction,
Resource resource,
boolean parents,
InputStream content) |
void |
AbstractBaseRepository.copy(Transaction transaction,
Resource sourceResource,
Revision sourceRevision,
Resource targetResource,
boolean parents) |
void |
AbstractBaseRepository.delete(Transaction transaction,
Resource resource) |
QualifiedResource |
AbstractBaseRepository.ResourceMapper.getCommitMessageResource(Transaction transaction) |
protected Set<Info> |
AbstractBaseRepository.getInfoSetWithLockTokens(Transaction transaction) |
QualifiedResource |
AbstractBaseRepository.ResourceMapper.getRegisterTransactionResource(Transaction transaction) |
QualifiedResource |
AbstractBaseRepository.ResourceMapper.getTransactionResource(Transaction transaction) |
QualifiedResource |
AbstractBaseRepository.ResourceMapper.getWorkingResource(Transaction transaction) |
void |
AbstractBaseRepository.mkdir(Transaction transaction,
Resource resource,
boolean parent) |
void |
AbstractBaseRepository.move(Transaction transaction,
Resource srcResource,
Resource targetResource,
boolean parents) |
void |
AbstractBaseRepository.propertiesDelete(Transaction transaction,
Resource resource,
ResourceProperty... properties) |
void |
AbstractBaseRepository.propertiesSet(Transaction transaction,
Resource resource,
ResourceProperty... properties) |
protected void |
AbstractBaseRepository.propertiesUpdate(Transaction transaction,
QualifiedResource resource,
de.shadowhunt.subversion.internal.PropertiesUpdateOperation.Type type,
ResourceProperty... properties) |
protected abstract void |
AbstractBaseRepository.registerResource(Transaction transaction,
Resource resource,
Revision revision) |
void |
AbstractBaseRepository.rollback(Transaction transaction) |
void |
AbstractBaseRepository.rollbackIfNotCommitted(Transaction transaction) |
protected void |
AbstractBaseRepository.validateTransaction(Transaction transaction) |
Copyright © 2013–2017 shadowhunt. All rights reserved.