Class LogEntryProvider

java.lang.Object
org.nuxeo.ecm.platform.audit.service.LogEntryProvider
All Implemented Interfaces:
BaseLogEntryProvider

@Deprecated(since="2025.0", forRemoval=true) public class LogEntryProvider extends Object implements BaseLogEntryProvider
Deprecated, for removal: This API element is subject to removal in a future version.
since 2025.0, AuditBackend has all necessary APIs
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final jakarta.persistence.EntityManager
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    append(List<LogEntry> entries)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    createProvider(jakarta.persistence.EntityManager em)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected List<LogEntry>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected LogEntry
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected List<?>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getLogEntriesFor(String uuid, String repositoryId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getLogEntryByID(long id)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    List<?>
    nativeQuery(String queryString, int pageNb, int pageSize)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    List<?>
    nativeQuery(String queryString, Map<String,Object> params, int pageNb, int pageSize)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    nativeQueryLogs(String whereClause, int pageNb, int pageSize)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    queryLogs(String[] eventIds, String dateRange)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    queryLogsByPage(String[] eventIds, String dateRange, String[] categories, String path, int pageNb, int pageSize)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    queryLogsByPage(String[] eventIds, Date limit, String[] categories, String path, int pageNb, int pageSize)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    removeEntries(String eventId, String pathPattern)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected String
    toString(Operator operator)
    Deprecated, for removal: This API element is subject to removal in a future version.
    A string representation of an Operator

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LIKE

      public static final String LIKE
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • em

      protected final jakarta.persistence.EntityManager em
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • createProvider

      public static LogEntryProvider createProvider(jakarta.persistence.EntityManager em)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • append

      public void append(List<LogEntry> entries)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • doPersist

      protected void doPersist(LogEntry entry)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • doPublishIfEntries

      protected List<?> doPublishIfEntries(List<?> entries)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • doPublish

      protected List<LogEntry> doPublish(List<LogEntry> entries)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • doPublish

      protected LogEntry doPublish(LogEntry entry)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addLogEntry

      public void addLogEntry(LogEntry entry)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      addLogEntry in interface BaseLogEntryProvider
    • addLogEntries

      public void addLogEntries(List<LogEntry> entries)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getLogEntriesFor

      public List<LogEntry> getLogEntriesFor(String uuid, String repositoryId)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getLogEntryByID

      public LogEntry getLogEntryByID(long id)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • nativeQueryLogs

      public List<LogEntry> nativeQueryLogs(String whereClause, int pageNb, int pageSize)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • nativeQuery

      public List<?> nativeQuery(String queryString, int pageNb, int pageSize)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • nativeQuery

      public List<?> nativeQuery(String queryString, Map<String,Object> params, int pageNb, int pageSize)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • queryLogs

      public List<LogEntry> queryLogs(QueryBuilder builder)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toString

      protected String toString(Operator operator)
      Deprecated, for removal: This API element is subject to removal in a future version.
      A string representation of an Operator
    • queryLogs

      public List<LogEntry> queryLogs(String[] eventIds, String dateRange)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • queryLogsByPage

      public List<LogEntry> queryLogsByPage(String[] eventIds, String dateRange, String[] categories, String path, int pageNb, int pageSize)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • queryLogsByPage

      public List<LogEntry> queryLogsByPage(String[] eventIds, Date limit, String[] categories, String path, int pageNb, int pageSize)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removeEntries

      public int removeEntries(String eventId, String pathPattern)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      removeEntries in interface BaseLogEntryProvider
    • countEventsById

      public Long countEventsById(String eventId)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • findEventIds

      public List<String> findEventIds()
      Deprecated, for removal: This API element is subject to removal in a future version.