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

public class VTSessionContentHandler extends ghidra.framework.data.DBContentHandler<VTSessionDB>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface ghidra.framework.data.ContentHandler

    MISSING_CONTENT, UNKNOWN_CONTENT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    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)
     
     
     
    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

  • 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

      public String getContentType()
    • getContentTypeDisplayString

      public String getContentTypeDisplayString()
    • getDefaultToolName

      public String 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

      public Class<VTSessionDB> getDomainObjectClass()
    • getIcon

      public Icon 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