# Uses of Class
fr.gouv.vitam.common.model.VitamSession

Packages that use VitamSession
Package
Description
fr.gouv.vitam.common.accesslog
fr.gouv.vitam.common.model
This package contains simple POJOs and DTOs that may be shared commonly by all vitam internal components
fr.gouv.vitam.common.thread
Vitam Thread package facility

- ## Uses of VitamSession in fr.gouv.vitam.common.accesslog

  Methods in fr.gouv.vitam.common.accesslog with parameters of type VitamSession
  Modifier and Type
  Method
  Description
  `static AccessLogInfoModel`
  AccessLogUtils.`getInfoForAccessLog(String qualifier, Integer version, VitamSession session, Long size, String archiveUnitId)`
  `static AccessLogInfoModel`
  AccessLogUtils.`getInfoFromWorkerInfo(Map<String,Object> objectInfo, VitamSession session, Boolean mustLog)`

- ## Uses of VitamSession in fr.gouv.vitam.common.model

  Methods in fr.gouv.vitam.common.model that return VitamSession
  Modifier and Type
  Method
  Description
  `static VitamSession`
  VitamSession.`from(VitamSession origin)`
  Build a clone of the original VitamSession, attached to the same thread.
  `VitamSession`
  VitamSession.`setOther(Object other)`
  Methods in fr.gouv.vitam.common.model with parameters of type VitamSession
  Modifier and Type
  Method
  Description
  `static VitamSession`
  VitamSession.`from(VitamSession origin)`
  Build a clone of the original VitamSession, attached to the same thread.
  `void`
  VitamSession.`mutateFrom(@NotNull VitamSession newSession)`
  Get the content of a given VitamSession and copy its internal values to the current instance

- ## Uses of VitamSession in fr.gouv.vitam.common.thread

  Methods in fr.gouv.vitam.common.thread that return VitamSession
  Modifier and Type
  Method
  Description
  `@NotNull VitamSession`
  VitamThreadFactory.VitamThread.`getVitamSession()`
  `static VitamSession`
  VitamThreadUtils.`getVitamSession()`
  Extracts the VitamSession from the local thread and returns it