public interface BasicAudit
Hold basic audit information to indicate author and timing for entity mutation
  • Method Details

    • setCreator

      void setCreator(String creator)
      The identity of the creator of this entity.
      Parameters:
      creator - The user principal for the request. See ContextInfo.getAuthor().
    • setCreationTime

      void setCreationTime(Instant timestamp)
      The timestamp for the creation of the entity
      Parameters:
      timestamp - The timestamp for the creation of the entity
    • getCreator

      String getCreator()
      The identity of the creator of this entity.
      Returns:
      The user principal for the request. See ContextInfo.getAuthor().
    • getCreationTime

      Instant getCreationTime()
      The timestamp for the creation of the entity
      Returns:
      The timestamp for the creation of the entity
    • setUpdater

      void setUpdater(String creator)
      The identity of the updater of this entity.
      Parameters:
      creator - The user principal for the request. See ContextInfo.getAuthor().
    • setUpdateTime

      void setUpdateTime(Instant timestamp)
      The timestamp for the update of the entity
      Parameters:
      timestamp - The timestamp for the update of the entity
    • getUpdater

      String getUpdater()
      The identity of the updater of this entity.
      Returns:
      The user principal for the request. See ContextInfo.getAuthor().
    • getUpdateTime

      Instant getUpdateTime()
      The timestamp for the update of the entity
      Returns:
      The timestamp for the update of the entity