Interface IDfPlugin

All Superinterfaces:
IDfDocument, IDfPersistentObject, IDfSysObject, IDfTypedObject

public interface IDfPlugin extends IDfDocument
This interface provides access to plugin-related data stored in dm_plugin objects.
  • Method Details

    • setHardwarePlatform

      void setHardwarePlatform(String platform) throws DfException
      Sets the hardware platform of this plugin. For example, Intel x86.
      Parameters:
      platform - The hardware platform of this storage.
      Throws:
      DfException
    • getHardwarePlatform

      String getHardwarePlatform() throws DfException
      Gets the hardware platform of this plugin.
      Returns:
      The hardward platform of this storage.
      Throws:
      DfException
    • setOperatingSystem

      void setOperatingSystem(String opSystem) throws DfException
      Sets the operating system of this plugin. For example, Win95, Windows NT.
      Parameters:
      opSystem - The operating system of this storage.
      Throws:
      DfException
    • getOperatingSystem

      String getOperatingSystem() throws DfException
      Gets the operating system of this plugin.
      Returns:
      The operating system of this storage.
      Throws:
      DfException
    • setPluginType

      void setPluginType(String type) throws DfException
      Sets the type of this plugin. For example, DLL.
      Parameters:
      type - The plugin type of this plugin.
      Throws:
      DfException
    • getPluginType

      String getPluginType() throws DfException
      Gets the type of this plugin.
      Returns:
      The plugin type of this plugin.
      Throws:
      DfException
    • setUsage

      void setUsage(String usage) throws DfException
      Sets the usage of this plugin.
      Parameters:
      usage - The usage of this plugin.
      Throws:
      DfException
    • getUsage

      String getUsage() throws DfException
      Gets the usage of this plugin.
      Returns:
      The usage of this plugin.
      Throws:
      DfException
    • importContent

      void importContent(String filePath) throws DfException
      Import the content of this plugin.
      Parameters:
      filePath - The file path of the file of this plugin. If it is null or empty, then no operation is done. Othewise, the old content is removed and import the new file content. The content type is "win32shrlib".
      Throws:
      DfException