# Uses of Class
com.ads.mm.db.util.DBHelper

Packages that use DBHelper
Package
Description
com.ads.api.util
Contains Utility Classes, Collection Classes, Java Bean Classes which are specific to System, Environment, Table, Column, Mappings, Subject, KeyValue Pairs, ROle, Business Glossary Catalog, Document etc...
com.ads.mm.db.dao
Contains Utility Classes, Collection Classes, Java Bean Classes which are specific to System, Environment, Table, Schema, Component and Column.
com.ads.services.webservice.rest
Contains Resource Classes, methods related to System, Environment, Table, Column, Mappings, Subject, Business Catalogs, Tags, Associations, Files etc., includes the user authentication for the REST services methods.

- ## Uses of DBHelper in com.ads.api.util

  Methods in com.ads.api.util with parameters of type DBHelper
  Modifier and Type
  Method
  Description
  `RequestStatus`
  SystemManagerUtil.`importEnvironment(int environmentId, DBHelper dbHelper, DBProperties.Operation dbOperation, APIConstants.FileExtension fileExtension)`
  Imports the environment on the specified environmentId.
  `DBEnvironment`
  SystemManagerUtil.`scanEnvironment(DBHelper dbHelper)`
  Loads an Environment for the specified dbHelper Object.
  `RequestStatus`
  SystemManagerUtil.`scanIntoEnvironment(int environmentId, DBHelper dbHelper, DBProperties.Operation dbOperation)`
  Scan and save the environment meta data into the specified environmentId by specifying the dbOperation and dbHelper object.

- ## Uses of DBHelper in com.ads.mm.db.dao

  Methods in com.ads.mm.db.dao with parameters of type DBHelper
  Modifier and Type
  Method
  Description
  `DBEnvironment`
  DBEnvironment.`markDBOperations(DBEnvironment targetEnvironment, boolean freshUploadMode, boolean updateAppendMode, boolean insertMode, boolean updateExistingMode, DBHelper dbHelper)`
  Returns the DBEnvironment Object for the specified targetEnvironment, operation modes in which the environment will be saved i.e fresh upload, update append and insert modes.

- ## Uses of DBHelper in com.ads.services.webservice.rest

  Methods in com.ads.services.webservice.rest with parameters of type DBHelper
  Modifier and Type
  Method
  Description
  `org.springframework.http.ResponseEntity`
  SystemResource.`scanIntoEnvironment(int environmentId, DBProperties.Operation dbOperation, DBHelper dBHelper)`
  Scan and save the environment meta data into the specified environmentId by specifying the dbHelper object and dbOperation in the form of JSON.