# Uses of Enum Class
com.ads.api.beans.common.APIConstants.VersionMode

Packages that use APIConstants.VersionMode
Package
Description
com.ads.api.beans.common
Contains Collection Classes,Java Bean Classes which are common to all the modules like AMMObjectTypes, APIConstants, ImportHelper etc.
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.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 APIConstants.VersionMode in com.ads.api.beans.common

  Methods in com.ads.api.beans.common that return APIConstants.VersionMode
  Modifier and Type
  Method
  Description
  `static APIConstants.VersionMode`
  APIConstants.VersionMode.`getVersionMode(String value)`
  `static APIConstants.VersionMode`
  APIConstants.VersionMode.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static APIConstants.VersionMode[]`
  APIConstants.VersionMode.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

- ## Uses of APIConstants.VersionMode in com.ads.api.util

  Methods in com.ads.api.util with parameters of type APIConstants.VersionMode
  Modifier and Type
  Method
  Description
  `RequestStatus`
  CodesetManagerUtil.`deleteCodeset(int codesetId, APIConstants.VersionMode versionMode)`
  Deletes the codeset with the specified codesetId and versionMode.
  `RequestStatus`
  CodesetManagerUtil.`deleteCodesets(int categoryId, APIConstants.VersionMode versionMode)`
  Deletes the list of codesets for the specified categoryId and versionMode Specifying the categoryId is mandatory to delete codesets.
  `RequestStatus`
  CodesetManagerUtil.`deleteCodesets(int categoryId, List<String> codesetNames, APIConstants.VersionMode versionMode)`
  Deletes the list of codesets for the specified categoryId, codesetNames list and versionMode.
  `RequestStatus`
  CodesetManagerUtil.`deleteCodesets(List<Integer> codesetIds, APIConstants.VersionMode versionMode)`
  Deletes the codeset with the specified codesetIds list and versionMode.
  `RequestStatus`
  SystemManagerUtil.`deleteEnvironment(int environmentId, APIConstants.VersionMode versionMode)`
  Deletes the environment with the specified environmentId and versionMode.
  `RequestStatus`
  MappingManagerUtil.`deleteMapping(int mapId, APIConstants.VersionMode versionMode, float versionNo)`
  Deletes the mapping of the specified mapId, versionMode.
  `RequestStatus`
  MappingManagerUtil.`deleteMapping(int nodeId, Node.NodeType nodeType, String mapName, APIConstants.VersionMode versionMode, float versionNo)`
  Deletes the map for the specified mapName of the given nodeType and nodeId.
  `RequestStatus`
  MappingManagerUtil.`deleteMappings(int nodeId, Node.NodeType nodeType, APIConstants.VersionMode versionMode, float versionNo)`
  Deletes the mappings of the given nodeType and nodeId.
  `RequestStatus`
  MappingManagerUtil.`deleteMappings(int nodeId, Node.NodeType nodeType, List<String> mapNames, APIConstants.VersionMode versionMode, float versionNo)`
  Deletes the mappings of the specified List of mapNames of the given nodeType and nodeId.
  `RequestStatus`
  MappingManagerUtil.`deleteMappings(List<Integer> mappingIds, APIConstants.VersionMode versionMode, float versionNo)`
  Deletes the mappings of the specified mappingIds.

- ## Uses of APIConstants.VersionMode in com.ads.services.webservice.rest

  Methods in com.ads.services.webservice.rest with parameters of type APIConstants.VersionMode
  Modifier and Type
  Method
  Description
  `org.springframework.http.ResponseEntity`
  SystemResource.`deleteEnvironments(String environmentIds, APIConstants.VersionMode versionMode)`
  Deletes the environments with the specified list of environmentIds and versionMode.
  `org.springframework.http.ResponseEntity`
  MappingManagerResource.`deleteMappings(String mappingIds, APIConstants.VersionMode versionMode, float versionNo)`
  Deletes the mappings of the specified mappingIds.