Interface VaultFsTransaction
-
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(java.lang.String path, VaultInputSource input)
java.util.Collection<VaultFsTransaction.Info>
commit()
Commits the transaction and uploads all modifications to the repository.void
delete(VaultFile file)
boolean
isVerbose()
void
mkdir(java.lang.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 java.io.IOException
- Throws:
java.io.IOException
-
modify
void modify(VaultFile file, VaultInputSource input) throws java.io.IOException
- Throws:
java.io.IOException
-
add
VaultFileOutput add(java.lang.String path, VaultInputSource input) throws java.io.IOException, RepositoryException
- Throws:
java.io.IOException
RepositoryException
-
mkdir
void mkdir(java.lang.String path) throws java.io.IOException, RepositoryException
- Throws:
java.io.IOException
RepositoryException
-
commit
java.util.Collection<VaultFsTransaction.Info> commit() throws RepositoryException, java.io.IOException
Commits the transaction and uploads all modifications to the repository.- Returns:
- a list of modifications
- Throws:
java.io.IOException
- if an I/O error occursRepositoryException
- if a repository error occurs
-
-