public class AuditRecordEntityFactory extends Object
Modifier and Type | Field and Description |
---|---|
static int |
SEARCH_STRING_LENGTH_LIMIT |
Constructor and Description |
---|
AuditRecordEntityFactory(I18NBeanFactory i18NBeanFactory,
LocaleManager localeManager) |
Modifier and Type | Method and Description |
---|---|
AuditRecordEntity |
fromAuditRecord(AuditRecord auditRecord)
Create an
AuditRecordEntity out of an AuditRecord . |
AuditRecordEntity |
fromAuditRecordWithI18n(AuditRecord auditRecord)
Create an
AuditRecordEntity out of an AuditRecord , taking into account i18n translation. |
public static final int SEARCH_STRING_LENGTH_LIMIT
public AuditRecordEntityFactory(I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
public AuditRecordEntity fromAuditRecord(AuditRecord auditRecord)
AuditRecordEntity
out of an AuditRecord
. Sysadmin and Searchstring fields will be
populated appropriately.auditRecord
- the record to usepublic AuditRecordEntity fromAuditRecordWithI18n(AuditRecord auditRecord)
AuditRecordEntity
out of an AuditRecord
, taking into account i18n translation.
Sysadmin and SearchString fields will be populated appropriately.auditRecord
- the record to useCopyright © 2003–2016 Atlassian. All rights reserved.