public interface AuditHelper
| Modifier and Type | Field and Description |
|---|---|
static String |
AUDIT_CHANGED_VALUE_PREFIX |
static String |
AUDIT_DESCRIPTION_PREFIX |
static String |
AUDIT_EXTRA_ATTRIBUTE_PREFIX |
static String |
AUDIT_I18N_PREFIX |
static String |
AUDIT_SUMMARY_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildChangedValueTextKey(String changedValueKey)
Prepends
AUDIT_CHANGED_VALUE_PREFIX to the key, helping to build auditing keys for changed
values following the same naming convention |
static String |
buildDescriptionTextKey(String descriptionKey)
Prepends
AUDIT_DESCRIPTION_PREFIX to the key, helping to build auditing keys for descriptions
following the same naming convention |
static String |
buildExtraAttribute(String extraAttributeKey)
Prepends
AUDIT_EXTRA_ATTRIBUTE_PREFIX to the key, helping to build auditing keys for
extra attributes following the same naming convention |
static String |
buildSummaryTextKey(String summaryKey)
Prepends
AUDIT_SUMMARY_PREFIX to the key, helping to build auditing keys for summaries
following the same naming convention |
static String |
buildTextKey(String key)
Prepends
AUDIT_I18N_PREFIX to the key, helping to build auditing keys following the same
naming convention |
@Nullable String |
fetchSpaceDisplayName(@Nullable String spaceKey) |
@Nullable String |
fetchSpaceId(@Nullable String spaceKey) |
@Nullable String |
fetchUserFullName(@Nullable ConfluenceUser user) |
@Nullable String |
fetchUserFullName(@Nullable String username) |
@Nullable String |
fetchUserFullName(@Nullable com.atlassian.crowd.model.user.User user) |
@Nullable String |
fetchUserKey(@Nullable ConfluenceUser user) |
@Nullable String |
fetchUserKey(@Nullable String username) |
@Nullable String |
fetchUserKey(@Nullable com.atlassian.crowd.model.user.User user) |
String |
translate(String key)
Replaces given key with appropriate message.
|
static final String AUDIT_I18N_PREFIX
static final String AUDIT_SUMMARY_PREFIX
static final String AUDIT_DESCRIPTION_PREFIX
static final String AUDIT_CHANGED_VALUE_PREFIX
static final String AUDIT_EXTRA_ATTRIBUTE_PREFIX
static String buildTextKey(String key)
AUDIT_I18N_PREFIX to the key, helping to build auditing keys following the same
naming conventionkey - message keystatic String buildSummaryTextKey(String summaryKey)
AUDIT_SUMMARY_PREFIX to the key, helping to build auditing keys for summaries
following the same naming conventionsummaryKey - summary keystatic String buildChangedValueTextKey(String changedValueKey)
AUDIT_CHANGED_VALUE_PREFIX to the key, helping to build auditing keys for changed
values following the same naming conventionchangedValueKey - changed value keystatic String buildDescriptionTextKey(String descriptionKey)
AUDIT_DESCRIPTION_PREFIX to the key, helping to build auditing keys for descriptions
following the same naming conventiondescriptionKey - description keystatic String buildExtraAttribute(String extraAttributeKey)
AUDIT_EXTRA_ATTRIBUTE_PREFIX to the key, helping to build auditing keys for
extra attributes following the same naming conventionextraAttributeKey - extra attribute keyString translate(String key)
key - message key@Nullable String fetchUserKey(@Nullable ConfluenceUser user)
@Nullable String fetchUserKey(@Nullable com.atlassian.crowd.model.user.User user)
@Nullable String fetchUserFullName(@Nullable ConfluenceUser user)
@Nullable String fetchUserFullName(@Nullable com.atlassian.crowd.model.user.User user)
Copyright © 2003–2022 Atlassian. All rights reserved.