Package tigase.db.util.importexport

# Interface RepositoryManagerExtension

All Known Implementing Classes:
  `CredentialsExtension`, `JabberIqPrivateExtension`, `RepositoryManagerExtensionBase`

public interface RepositoryManagerExtension

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `exportDomainData(String domain, Writer writer)`
  `void`
  `exportUserData(Path userDirPath, BareJID user, Writer writer)`
  `default Stream<CommandlineParameter>`
  `getExportParameters()`
  `default Stream<CommandlineParameter>`
  `getImportParameters()`
  `default void`
  `initialize(Kernel kernel, DataSourceHelper dataSourceHelper, RepositoryHolder repositoryHolder, Path rootPath)`
  `default ImporterExtension`
  `startImportDomainData(String domain, String name, Map<String,String> attrs)`
  `default ImporterExtension`
  `startImportUserData(BareJID userJid, String name, Map<String,String> attrs)`

- ## Method Details

  - ### getExportParameters

    default Stream<CommandlineParameter> getExportParameters()

  - ### getImportParameters

    default Stream<CommandlineParameter> getImportParameters()

  - ### initialize

    default void initialize(Kernel kernel, DataSourceHelper dataSourceHelper, RepositoryHolder repositoryHolder, Path rootPath)

  - ### exportDomainData

    void exportDomainData(String domain, Writer writer) throws Exception
    Throws:
      `Exception`

  - ### exportUserData

    void exportUserData(Path userDirPath, BareJID user, Writer writer) throws Exception
    Throws:
      `Exception`

  - ### startImportDomainData

    default ImporterExtension startImportDomainData(String domain, String name, Map<String,String> attrs) throws Exception
    Throws:
      `Exception`

  - ### startImportUserData

    default ImporterExtension startImportUserData(BareJID userJid, String name, Map<String,String> attrs) throws Exception
    Throws:
      `Exception`