Package fr.gouv.vitam.common.accesslog
Class AccessLogUtils
java.lang.Object
fr.gouv.vitam.common.accesslog.AccessLogUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Boolean
checkFileInRequestedDates
(String fileName, Date startDate, Date endDate) static AccessLogInfoModel
getInfoForAccessLog
(String qualifier, Integer version, VitamSession session, Long size, String archiveUnitId) static AccessLogInfoModel
getInfoFromWorkerInfo
(Map<String, Object> objectInfo, VitamSession session, Boolean mustLog) static AccessLogInfoModel
static com.fasterxml.jackson.databind.JsonNode
static Boolean
mustLog
(AccessLogInfoModel logInfo)
-
Field Details
-
QUALIFIER
- See Also:
-
VERSION
- See Also:
-
CONTEXT_ID
- See Also:
-
ARCHIVE_ID
- See Also:
-
SIZE
- See Also:
-
FILE_NAME
- See Also:
-
-
Constructor Details
-
AccessLogUtils
public AccessLogUtils()
-
-
Method Details
-
getWorkerInfo
-
getInfoFromWorkerInfo
public static AccessLogInfoModel getInfoFromWorkerInfo(Map<String, Object> objectInfo, VitamSession session, Boolean mustLog) -
getInfoForAccessLog
public static AccessLogInfoModel getInfoForAccessLog(String qualifier, Integer version, VitamSession session, Long size, String archiveUnitId) -
checkFileInRequestedDates
-
getNoLogAccessLog
-
mustLog
-