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 StringMETA_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 voidapply(org.apache.jackrabbit.vault.vlt.actions.Action action, String name, boolean nonRecursive)voidapply(org.apache.jackrabbit.vault.vlt.actions.Action action, Collection<String> names, boolean nonRecursive)voidapplyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, String name, boolean nonRecursive)voidapplyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, Collection<String> names, boolean nonRecursive)voidapplyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, VaultFile remoteDir, Collection<String> names, boolean nonRecursive)voidapplyWithRemote(org.apache.jackrabbit.vault.vlt.actions.Action action, VltFile file, VaultFile remoteFile, boolean nonRecursive)voidassertControlled()voidclose()voidcontrol(String path, String aPath)FileListfiles()StringgetAggregatePath()VltContextgetContext()FilegetDirectory()VltEntriesgetEntries()Collection<VltFile>getFiles()MetaDirectorygetMetaDirectory()VltDirectorygetParent()StringgetPath()VaultFilegetRemoteDirectory(VltContext ctx)booleanisControlled()voidprepareCommit(VaultFsTransaction tx, Collection<String> names, boolean nonRecursive, boolean force)voidsync()voiduncontrol()voidupdateComitted(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
-
-