Class AuditRecordEntityFactory
- java.lang.Object
-
- com.atlassian.confluence.impl.audit.AuditRecordEntityFactory
-
@Deprecated public class AuditRecordEntityFactory extends Object
Deprecated.since 7.5.0. Audit records should be persisted via atlassian-audit-pluginFactory for creatingAuditRecordEntity
instances- Since:
- 5.10
-
-
Field Summary
Fields Modifier and Type Field Description static int
SEARCH_STRING_LENGTH_LIMIT
Deprecated.
-
Constructor Summary
Constructors Constructor Description AuditRecordEntityFactory(I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuditRecordEntity
fromAuditRecord(AuditRecord auditRecord)
Deprecated.Create anAuditRecordEntity
out of anAuditRecord
.AuditRecordEntity
fromAuditRecordWithI18n(AuditRecord auditRecord)
Deprecated.Create anAuditRecordEntity
out of anAuditRecord
, taking into account i18n translation.
-
-
-
Field Detail
-
SEARCH_STRING_LENGTH_LIMIT
public static final int SEARCH_STRING_LENGTH_LIMIT
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuditRecordEntityFactory
public AuditRecordEntityFactory(I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
Deprecated.
-
-
Method Detail
-
fromAuditRecord
public AuditRecordEntity fromAuditRecord(AuditRecord auditRecord)
Deprecated.Create anAuditRecordEntity
out of anAuditRecord
. 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 anAuditRecordEntity
out of anAuditRecord
, taking into account i18n translation. Sysadmin and SearchString fields will be populated appropriately.- Parameters:
auditRecord
- the record to use- Returns:
- and AuditRecordEntity instance
-
-