Interface VaultFsTransaction
-
- All Known Implementing Classes:
TransactionImpl
public interface VaultFsTransaction
VaultFsTransaction
...
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
VaultFsTransaction.Info
the transaction infostatic class
VaultFsTransaction.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VaultFileOutput
add(String path, VaultInputSource input)
Collection<VaultFsTransaction.Info>
commit()
Commits the transaction and uploads all modifications to the repository.void
delete(VaultFile file)
boolean
isVerbose()
void
mkdir(String path)
void
modify(VaultFile file, VaultInputSource input)
void
setVerbose(boolean verbose)
-
-
-
Method Detail
-
isVerbose
boolean isVerbose()
-
setVerbose
void setVerbose(boolean verbose)
-
delete
void delete(VaultFile file) throws IOException
- Throws:
IOException
-
modify
void modify(VaultFile file, VaultInputSource input) throws IOException
- Throws:
IOException
-
add
VaultFileOutput add(String path, VaultInputSource input) throws IOException, RepositoryException
- Throws:
IOException
RepositoryException
-
mkdir
void mkdir(String path) throws IOException, RepositoryException
- Throws:
IOException
RepositoryException
-
commit
Collection<VaultFsTransaction.Info> commit() throws RepositoryException, IOException
Commits the transaction and uploads all modifications to the repository.- Returns:
- a list of modifications
- Throws:
IOException
- if an I/O error occursRepositoryException
- if a repository error occurs
-
-