Class SvnWcDbShared
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbShared
-
- Direct Known Subclasses:
SvnWcDbChangelist
,SvnWcDbConflicts
,SvnWcDbCopy
,SvnWcDbExternals
,SvnWcDbPristines
,SvnWcDbProperties
,SvnWcDbReader
,SvnWcDbRelocate
,SvnWcDbRevert
public class SvnWcDbShared extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
SvnWcDbShared.Target
-
Field Summary
Fields Modifier and Type Field Description static byte[]
EMPTY_PROPS_BLOB
-
Constructor Summary
Constructors Constructor Description SvnWcDbShared()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
begingReadTransaction(SVNWCDbRoot root)
static void
begingWriteTransaction(SVNWCDbRoot root)
static void
canonicalizeURLs(SVNWCDbRoot wcRoot, boolean updateExternalProperties, SVNExternalsStore store, boolean omitDefaultPort)
protected static java.util.Collection<SvnWcDbShared.Target>
collectTargets(SVNWCDbRoot root, java.io.File relpath, SVNDepth depth, java.util.Collection<java.lang.String> changelists)
static void
commitTransaction(SVNWCDbRoot root)
protected static boolean
doesNodeExists(SVNWCDbRoot wcDbRoot, java.io.File relpath)
static Structure<StructureFields.NodeInfo>
getBaseInfo(SVNWCDb db, java.io.File localAbsPath, StructureFields.NodeInfo... fields)
static Structure<StructureFields.NodeInfo>
getBaseInfo(SVNWCDbRoot wcroot, java.io.File localRelPath, StructureFields.NodeInfo... fields)
static Structure<StructureFields.NodeInfo>
getDepthInfo(SVNWCDbRoot wcroot, java.io.File localRelPath, long opDepth, StructureFields.NodeInfo... fields)
static Structure<StructureFields.MovedFromInfo>
getMovedFromInfo(SVNWCDbRoot root, java.io.File movedToOpRootRelPath, java.io.File localRelPath)
protected static void
nodeIsNotInstallable(java.io.File absolutePath)
protected static void
nodeNotFound(java.io.File absolutePath)
protected static void
nodeNotFound(SVNWCDbRoot root, java.io.File relPath)
protected static Structure<StructureFields.NodeInfo>
readInfo(SVNWCDbRoot wcRoot, java.io.File localRelPath, boolean isAdditionMode, StructureFields.NodeInfo... fields)
protected static Structure<StructureFields.NodeInfo>
readInfo(SVNWCDbRoot wcRoot, java.io.File localRelPath, StructureFields.NodeInfo... fields)
static void
rollbackTransaction(SVNWCDbRoot root)
static Structure<StructureFields.AdditionInfo>
scanAddition(SVNWCDb db, java.io.File localAbsPath)
protected static Structure<StructureFields.AdditionInfo>
scanAddition(SVNWCDbRoot root, java.io.File localRelpath, StructureFields.AdditionInfo... fields)
static Structure<StructureFields.DeletionInfo>
scanDeletion(SVNWCDb db, java.io.File localAbsPath)
protected static Structure<StructureFields.DeletionInfo>
scanDeletion(SVNWCDbRoot root, java.io.File localRelpath)
static Structure<StructureFields.MovedInfo>
scanMoved(SVNWCDb db, java.io.File localAbsPath)
protected static void
sqliteError(org.tmatesoft.sqljet.core.SqlJetException e)
-
-
-
Method Detail
-
begingReadTransaction
public static void begingReadTransaction(SVNWCDbRoot root) throws SVNException
- Throws:
SVNException
-
begingWriteTransaction
public static void begingWriteTransaction(SVNWCDbRoot root) throws SVNException
- Throws:
SVNException
-
commitTransaction
public static void commitTransaction(SVNWCDbRoot root) throws SVNException
- Throws:
SVNException
-
rollbackTransaction
public static void rollbackTransaction(SVNWCDbRoot root) throws SVNException
- Throws:
SVNException
-
nodeNotFound
protected static void nodeNotFound(java.io.File absolutePath) throws SVNException
- Throws:
SVNException
-
nodeIsNotInstallable
protected static void nodeIsNotInstallable(java.io.File absolutePath) throws SVNException
- Throws:
SVNException
-
doesNodeExists
protected static boolean doesNodeExists(SVNWCDbRoot wcDbRoot, java.io.File relpath) throws SVNException
- Throws:
SVNException
-
nodeNotFound
protected static void nodeNotFound(SVNWCDbRoot root, java.io.File relPath) throws SVNException
- Throws:
SVNException
-
sqliteError
protected static void sqliteError(org.tmatesoft.sqljet.core.SqlJetException e) throws SVNException
- Throws:
SVNException
-
collectTargets
protected static java.util.Collection<SvnWcDbShared.Target> collectTargets(SVNWCDbRoot root, java.io.File relpath, SVNDepth depth, java.util.Collection<java.lang.String> changelists) throws SVNException
- Throws:
SVNException
-
scanAddition
public static Structure<StructureFields.AdditionInfo> scanAddition(SVNWCDb db, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
scanMoved
public static Structure<StructureFields.MovedInfo> scanMoved(SVNWCDb db, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
scanAddition
protected static Structure<StructureFields.AdditionInfo> scanAddition(SVNWCDbRoot root, java.io.File localRelpath, StructureFields.AdditionInfo... fields) throws SVNException
- Throws:
SVNException
-
getMovedFromInfo
public static Structure<StructureFields.MovedFromInfo> getMovedFromInfo(SVNWCDbRoot root, java.io.File movedToOpRootRelPath, java.io.File localRelPath) throws SVNException
- Throws:
SVNException
-
scanDeletion
public static Structure<StructureFields.DeletionInfo> scanDeletion(SVNWCDb db, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
scanDeletion
protected static Structure<StructureFields.DeletionInfo> scanDeletion(SVNWCDbRoot root, java.io.File localRelpath) throws SVNException
- Throws:
SVNException
-
getBaseInfo
public static Structure<StructureFields.NodeInfo> getBaseInfo(SVNWCDbRoot wcroot, java.io.File localRelPath, StructureFields.NodeInfo... fields) throws SVNException
- Throws:
SVNException
-
getBaseInfo
public static Structure<StructureFields.NodeInfo> getBaseInfo(SVNWCDb db, java.io.File localAbsPath, StructureFields.NodeInfo... fields) throws SVNException
- Throws:
SVNException
-
getDepthInfo
public static Structure<StructureFields.NodeInfo> getDepthInfo(SVNWCDbRoot wcroot, java.io.File localRelPath, long opDepth, StructureFields.NodeInfo... fields) throws SVNException
- Throws:
SVNException
-
readInfo
protected static Structure<StructureFields.NodeInfo> readInfo(SVNWCDbRoot wcRoot, java.io.File localRelPath, StructureFields.NodeInfo... fields) throws SVNException
- Throws:
SVNException
-
readInfo
protected static Structure<StructureFields.NodeInfo> readInfo(SVNWCDbRoot wcRoot, java.io.File localRelPath, boolean isAdditionMode, StructureFields.NodeInfo... fields) throws SVNException
- Throws:
SVNException
-
canonicalizeURLs
public static void canonicalizeURLs(SVNWCDbRoot wcRoot, boolean updateExternalProperties, SVNExternalsStore store, boolean omitDefaultPort) throws SVNException
- Throws:
SVNException
-
-