Class AuditRecordEntityFactory


  • @Deprecated
    public class AuditRecordEntityFactory
    extends Object
    Deprecated.
    since 7.5.0. Audit records should be persisted via atlassian-audit-plugin
    Factory for creating AuditRecordEntity instances
    Since:
    5.10
    • Field Detail

      • SEARCH_STRING_LENGTH_LIMIT

        public static final int SEARCH_STRING_LENGTH_LIMIT
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

    • Method Detail

      • fromAuditRecord

        public AuditRecordEntity fromAuditRecord​(AuditRecord auditRecord)
        Deprecated.
        Create an AuditRecordEntity out of an AuditRecord. Sysadmin and Searchstring fields will be populated appropriately.
        Parameters:
        auditRecord - the record to use
        Returns:
        and AuditRecordEntity instance
      • fromAuditRecordWithI18n

        public AuditRecordEntity fromAuditRecordWithI18n​(AuditRecord auditRecord)
        Deprecated.
        Create an AuditRecordEntity out of an AuditRecord, taking into account i18n translation. Sysadmin and SearchString fields will be populated appropriately.
        Parameters:
        auditRecord - the record to use
        Returns:
        and AuditRecordEntity instance