Package ghidra.feature.vt.api.db
Class VTSessionContentHandler
java.lang.Object
ghidra.framework.data.DBContentHandler<VTSessionDB>
ghidra.feature.vt.api.db.VTSessionContentHandler
- All Implemented Interfaces:
ghidra.framework.data.ContentHandler<VTSessionDB>
,ghidra.util.classfinder.ExtensionPoint
-
Field Summary
Fields inherited from interface ghidra.framework.data.ContentHandler
MISSING_CONTENT, UNKNOWN_CONTENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
createFile
(ghidra.framework.store.FileSystem fs, ghidra.framework.store.FileSystem userfs, String path, String name, ghidra.framework.model.DomainObject domainObject, ghidra.util.task.TaskMonitor monitor) ghidra.framework.model.ChangeSet
getChangeSet
(ghidra.framework.store.FolderItem versionedFolderItem, int olderVersion, int newerVersion) getDomainObject
(ghidra.framework.store.FolderItem item, ghidra.framework.store.FileSystem userfs, long checkoutId, boolean okToUpgrade, boolean okToRecover, Object consumer, ghidra.util.task.TaskMonitor monitor) getIcon()
getImmutableObject
(ghidra.framework.store.FolderItem item, Object consumer, int version, int minChangeVersion, ghidra.util.task.TaskMonitor monitor) ghidra.framework.data.DomainObjectMergeManager
getMergeManager
(ghidra.framework.model.DomainObject resultsObj, ghidra.framework.model.DomainObject sourceObj, ghidra.framework.model.DomainObject originalObj, ghidra.framework.model.DomainObject latestObj) getReadOnlyObject
(ghidra.framework.store.FolderItem item, int version, boolean okToUpgrade, Object consumer, ghidra.util.task.TaskMonitor monitor) boolean
void
resetDBSourceFile
(ghidra.framework.store.FolderItem item, ghidra.framework.data.DomainObjectAdapterDB domainObj) Methods inherited from class ghidra.framework.data.DBContentHandler
abortCreate, createFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ghidra.framework.data.ContentHandler
getLinkHandler
-
Field Details
-
CONTENT_TYPE
- See Also:
-
-
Constructor Details
-
VTSessionContentHandler
public VTSessionContentHandler()
-
-
Method Details
-
createFile
public long createFile(ghidra.framework.store.FileSystem fs, ghidra.framework.store.FileSystem userfs, String path, String name, ghidra.framework.model.DomainObject domainObject, ghidra.util.task.TaskMonitor monitor) throws IOException, ghidra.util.InvalidNameException, ghidra.util.exception.CancelledException - Throws:
IOException
ghidra.util.InvalidNameException
ghidra.util.exception.CancelledException
-
getChangeSet
public ghidra.framework.model.ChangeSet getChangeSet(ghidra.framework.store.FolderItem versionedFolderItem, int olderVersion, int newerVersion) throws ghidra.util.exception.VersionException, IOException - Throws:
ghidra.util.exception.VersionException
IOException
-
getContentType
-
getContentTypeDisplayString
-
getDefaultToolName
-
getDomainObject
public VTSessionDB getDomainObject(ghidra.framework.store.FolderItem item, ghidra.framework.store.FileSystem userfs, long checkoutId, boolean okToUpgrade, boolean okToRecover, Object consumer, ghidra.util.task.TaskMonitor monitor) throws IOException, ghidra.util.exception.CancelledException, ghidra.util.exception.VersionException - Throws:
IOException
ghidra.util.exception.CancelledException
ghidra.util.exception.VersionException
-
getDomainObjectClass
-
getIcon
-
getImmutableObject
public VTSessionDB getImmutableObject(ghidra.framework.store.FolderItem item, Object consumer, int version, int minChangeVersion, ghidra.util.task.TaskMonitor monitor) throws IOException, ghidra.util.exception.CancelledException, ghidra.util.exception.VersionException - Throws:
IOException
ghidra.util.exception.CancelledException
ghidra.util.exception.VersionException
-
getMergeManager
public ghidra.framework.data.DomainObjectMergeManager getMergeManager(ghidra.framework.model.DomainObject resultsObj, ghidra.framework.model.DomainObject sourceObj, ghidra.framework.model.DomainObject originalObj, ghidra.framework.model.DomainObject latestObj) -
getReadOnlyObject
public VTSessionDB getReadOnlyObject(ghidra.framework.store.FolderItem item, int version, boolean okToUpgrade, Object consumer, ghidra.util.task.TaskMonitor monitor) throws IOException, ghidra.util.exception.VersionException, ghidra.util.exception.CancelledException - Throws:
IOException
ghidra.util.exception.VersionException
ghidra.util.exception.CancelledException
-
isPrivateContentType
public boolean isPrivateContentType() -
canResetDBSourceFile
public boolean canResetDBSourceFile() -
resetDBSourceFile
public void resetDBSourceFile(ghidra.framework.store.FolderItem item, ghidra.framework.data.DomainObjectAdapterDB domainObj) throws IOException - Throws:
IOException
-