# Uses of Class
com.ads.mm.db.dao.DBEnvironment

Packages that use DBEnvironment
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.

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

  Methods in com.ads.api.util that return DBEnvironment
  Modifier and Type
  Method
  Description
  `DBEnvironment`
  SystemManagerUtil.`loadEnvironment(int systemId, String environmentName, boolean useRefrenceId)`
  Loads the Environment for the specified systemId, environmentName and useReferenceId.
  `DBEnvironment`
  SystemManagerUtil.`loadEnvironment(int systemId, String environmentName, boolean useRefrenceId, APIConstants.LoadOptions loadOptions)`
  Loads the Environment for the specified systemId, environmentName and useReferenceId.
  `DBEnvironment`
  SystemManagerUtil.`scanEnvironment(DBHelper dbHelper)`
  Loads an Environment for the specified dbHelper Object.
  Methods in com.ads.api.util with parameters of type DBEnvironment
  Modifier and Type
  Method
  Description
  `RequestStatus`
  SystemManagerUtil.`saveEnvironment(DBEnvironment dbEnvironment, DBProperties.Operation operation, boolean useReferenceId)`
  Deprecated.
  since 9.0
  `RequestStatus`
  SystemManagerUtil.`updateEnvironmentMetadata(DBEnvironment dbEnvironment, DBProperties.Operation operation, boolean useReferenceId)`
  Saves the environment for the specified DBEnvironment Object, DBProperties and useReferenceId.

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

  Methods in com.ads.mm.db.dao that return DBEnvironment
  Modifier and Type
  Method
  Description
  `DBEnvironment`
  DBEnvironment.`addAssociationsList(com.ads.association.export.model.ExportedAssociation associationObj)`
  It will not add association to this object as it is being used internally.
  `DBEnvironment`
  DBEnvironment.`addExtendedProperty(KeyValue extendedProperty)`
  Adds the KeyValue Object for the specified table.
  `DBEnvironment`
  DBEnvironment.`addTag(Tag tagvo)`
  `DBEnvironment`
  DBSchema.`getEnvironment()`
  Returns the DBEnvironment Object.
  `DBEnvironment`
  DBSystem.`getEnvironment(String name)`
  Returns the DBEnvironment Object for the specified name.
  `DBEnvironment`
  DBTable.`getEnvironment()`
  Returns the environment as specified.
  `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.
  `DBEnvironment`
  DBEnvironment.`markDBOperationsByReferenceId(DBEnvironment targetEnvironment, boolean freshUploadMode, boolean updateAppendMode, boolean insertMode, boolean updateExistingMode)`
  Returns the DBEnvironment Object for the specified targetEnvironment and operation modes in which the environment will be saved i.e fresh upload, update append and insert modes.
  `DBEnvironment`
  DBEnvironment.`setAssociationsList(List<com.ads.association.export.model.ExportedAssociation> associations)`
  It will not set any associations particular to this object as it is being used internally.
  Methods in com.ads.mm.db.dao that return types with arguments of type DBEnvironment
  Modifier and Type
  Method
  Description
  `Map<String,DBEnvironment>`
  DBSystem.`getEnvironmentMap()`
  Returns the environmentMap.
  Methods in com.ads.mm.db.dao with parameters of type DBEnvironment
  Modifier and Type
  Method
  Description
  `void`
  DBSystem.`addEnvironment(DBEnvironment dbEnvironment)`
  Adds the Environment to DBEnvironment Object.
  `void`
  DBSystem.`addEnvironment(String name, DBEnvironment environment)`
  Adds the Environment specified in name to DBEnvironment Object.
  `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.
  `DBEnvironment`
  DBEnvironment.`markDBOperationsByReferenceId(DBEnvironment targetEnvironment, boolean freshUploadMode, boolean updateAppendMode, boolean insertMode, boolean updateExistingMode)`
  Returns the DBEnvironment Object for the specified targetEnvironment and operation modes in which the environment will be saved i.e fresh upload, update append and insert modes.
  `void`
  DBSchema.`setEnvironment(DBEnvironment dbEnvironment)`
  Sets the dbEnvironment as specified.
  `void`
  DBTable.`setEnvironment(DBEnvironment environment)`
  Sets the environment as specified.
  Method parameters in com.ads.mm.db.dao with type arguments of type DBEnvironment
  Modifier and Type
  Method
  Description
  `void`
  DBSystem.`setEnvironmentMap(Map<String,DBEnvironment> environmentMap)`
  Sets the environmentMap details as specified in environmentMap.