001/* 002 * (C) Copyright 2017 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Kevin Leturc 018 */ 019package org.nuxeo.mongodb.audit; 020 021/** 022 * TODO: move this class in order to be used by elasticsearch audit 023 * 024 * @since 9.1 025 */ 026public final class LogEntryConstants { 027 028 public static final String PROPERTY_CATEGORY = "category"; 029 030 public static final String PROPERTY_COMMENT = "comment"; 031 032 public static final String PROPERTY_DOC_LIFE_CYCLE = "docLifeCycle"; 033 034 public static final String PROPERTY_DOC_PATH = "docPath"; 035 036 public static final String PROPERTY_DOC_TYPE = "docType"; 037 038 public static final String PROPERTY_DOC_UUID = "docUUID"; 039 040 public static final String PROPERTY_EVENT_DATE = "eventDate"; 041 042 public static final String PROPERTY_EVENT_ID = "eventId"; 043 044 public static final String PROPERTY_EXTENDED = "extended"; 045 046 public static final String PROPERTY_LOG_DATE = "logDate"; 047 048 public static final String PROPERTY_PRINCIPAL_NAME = "principalName"; 049 050 public static final String PROPERTY_REPOSITORY_ID = "repositoryId"; 051 052 private LogEntryConstants() { 053 // nothing 054 } 055 056}