# Uses of Class
com.orchestranetworks.service.ImportSpecMode

Packages that use ImportSpecMode
Package
Description
com.orchestranetworks.service
Provides classes and interfaces for implementing specific services and access rules on EBX®.

- ## Uses of ImportSpecMode in com.orchestranetworks.service

  Fields in com.orchestranetworks.service declared as ImportSpecMode
  Modifier and Type
  Field
  Description
  `static final ImportSpecMode`
  ImportSpecMode.`INSERT`
  Insert mode: only record creations are allowed.
  `static final ImportSpecMode`
  ImportSpecMode.`REPLACE`
  Replace (synchronization) mode: if a record with the same primary key exists in the target table, it is updated, otherwise, a new record is inserted; if a record is not present in the source, it is deleted.
  `static final ImportSpecMode`
  ImportSpecMode.`UPDATE`
  Update mode: only modifications of existing records are allowed.
  `static final ImportSpecMode`
  ImportSpecMode.`UPDATE_OR_INSERT`
  Update or insert mode: both record creations and modifications of existing records are allowed.
  Methods in com.orchestranetworks.service that return ImportSpecMode
  Modifier and Type
  Method
  Description
  `ImportSpecMode`
  ImportSpec.`getImportMode()`
  Returns the import mode.
  `static ImportSpecMode`
  ImportSpecMode.`parse(String aFlag)`
  Returns the definition mode that corresponds to the string specified.
  Methods in com.orchestranetworks.service with parameters of type ImportSpecMode
  Modifier and Type
  Method
  Description
  `void`
  ImportSpec.`setImportMode(ImportSpecMode mode)`
  Specifies the import mode: 'insert', 'insert or update', 'update only', 'replace'.