Package org.apache.jackrabbit.vault.vlt
Class VltDirectory
- java.lang.Object
-
- org.apache.jackrabbit.vault.vlt.VltDirectory
-
public class VltDirectory extends Object
VltDirectory
...
-
-
Field Summary
Fields Modifier and Type Field Description static String
META_DIR_NAME
-
Constructor Summary
Constructors Constructor Description VltDirectory(VltContext ctx, File directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(org.apache.jackrabbit.vault.vlt.actions.Action action, String name, boolean nonRecursive)
void
apply(org.apache.jackrabbit.vault.vlt.actions.Action action, Collection<String> names, boolean nonRecursive)
void
applyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, String name, boolean nonRecursive)
void
applyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, Collection<String> names, boolean nonRecursive)
void
applyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, VaultFile remoteDir, Collection<String> names, boolean nonRecursive)
void
applyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, VltFile file, VaultFile remoteFile, boolean nonRecursive)
void
assertControlled()
void
close()
void
control(String path, String aPath)
FileList
files()
String
getAggregatePath()
VltContext
getContext()
File
getDirectory()
VltEntries
getEntries()
Collection<VltFile>
getFiles()
MetaDirectory
getMetaDirectory()
VltDirectory
getParent()
String
getPath()
VaultFile
getRemoteDirectory(VltContext ctx)
boolean
isControlled()
void
prepareCommit(VaultFsTransaction tx, Collection<String> names, boolean nonRecursive, boolean force)
void
sync()
void
uncontrol()
void
updateComitted(String path, String fileName)
-
-
-
Field Detail
-
META_DIR_NAME
public static final String META_DIR_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VltDirectory
public VltDirectory(VltContext ctx, File directory) throws VltException
- Throws:
VltException
-
-
Method Detail
-
getParent
public VltDirectory getParent() throws VltException
- Throws:
VltException
-
getAggregatePath
public String getAggregatePath() throws VltException
- Throws:
VltException
-
getContext
public VltContext getContext()
-
isControlled
public boolean isControlled()
-
assertControlled
public void assertControlled() throws VltException
- Throws:
VltException
-
close
public void close()
-
control
public void control(String path, String aPath) throws VltException
- Throws:
VltException
-
uncontrol
public void uncontrol() throws VltException
- Throws:
VltException
-
getMetaDirectory
public MetaDirectory getMetaDirectory()
-
getDirectory
public File getDirectory()
-
getPath
public String getPath()
-
getEntries
public VltEntries getEntries()
-
getRemoteDirectory
public VaultFile getRemoteDirectory(VltContext ctx) throws VltException
- Throws:
VltException
-
prepareCommit
public void prepareCommit(VaultFsTransaction tx, Collection<String> names, boolean nonRecursive, boolean force) throws VltException
- Throws:
VltException
-
updateComitted
public void updateComitted(String path, String fileName) throws VltException
- Throws:
VltException
-
getFiles
public Collection<VltFile> getFiles()
-
apply
public void apply(org.apache.jackrabbit.vault.vlt.actions.Action action, String name, boolean nonRecursive) throws VltException
- Throws:
VltException
-
apply
public void apply(org.apache.jackrabbit.vault.vlt.actions.Action action, Collection<String> names, boolean nonRecursive) throws VltException
- Throws:
VltException
-
sync
public void sync() throws VltException
- Throws:
VltException
-
applyWithRemote
public void applyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, Collection<String> names, boolean nonRecursive) throws VltException
- Throws:
VltException
-
applyWithRemote
public void applyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, String name, boolean nonRecursive) throws VltException
- Throws:
VltException
-
applyWithRemote
public void applyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, VaultFile remoteDir, Collection<String> names, boolean nonRecursive) throws VltException
- Throws:
VltException
-
applyWithRemote
public void applyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, VltFile file, VaultFile remoteFile, boolean nonRecursive) throws VltException
- Throws:
VltException
-
files
public FileList files() throws VltException
- Throws:
VltException
-
-