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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
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) 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
scanAddition
(SVNWCDb db, java.io.File localAbsPath) protected static Structure<StructureFields.AdditionInfo>
scanAddition
(SVNWCDbRoot root, java.io.File localRelpath, StructureFields.AdditionInfo... fields) scanDeletion
(SVNWCDb db, java.io.File localAbsPath) protected static Structure<StructureFields.DeletionInfo>
scanDeletion
(SVNWCDbRoot root, java.io.File localRelpath) static Structure<StructureFields.MovedInfo>
protected static void
sqliteError
(org.tmatesoft.sqljet.core.SqlJetException e) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
EMPTY_PROPS_BLOB
public static final byte[] EMPTY_PROPS_BLOB
-
-
Constructor Details
-
SvnWcDbShared
public SvnWcDbShared()
-
-
Method Details
-
begingReadTransaction
- Throws:
SVNException
-
begingWriteTransaction
- Throws:
SVNException
-
commitTransaction
- Throws:
SVNException
-
rollbackTransaction
- Throws:
SVNException
-
nodeNotFound
- Throws:
SVNException
-
nodeIsNotInstallable
- Throws:
SVNException
-
doesNodeExists
protected static boolean doesNodeExists(SVNWCDbRoot wcDbRoot, java.io.File relpath) throws SVNException - Throws:
SVNException
-
nodeNotFound
- Throws:
SVNException
-
sqliteError
- 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
-