Class Overview
Default implementation of service for managing auditing records
Summary
Public Methods |
@Nonnull
ServiceOutcome<Records>
|
getRecords(Integer offset, Integer maxResults, AuditingFilter filter)
|
@Nonnull
Long
|
getTotalNumberOfRecords()
Returns total number of audit records
|
@Nonnull
ErrorCollection
|
storeRecord(String category, String summary, String eventSourceKey, AssociatedItem objectItem, Iterable<ChangedValue> changedValues, Iterable<AssociatedItem> associatedItems)
/**
Store record in Auditing Log along with plugin name created the event
|
@Nonnull
ErrorCollection
|
storeRecord(String category, String summary, AssociatedItem objectItem, Iterable<ChangedValue> changedValues, Iterable<AssociatedItem> associatedItems)
Store record in Auditing Log
|
Protected Methods |
void
|
validateAssociatedItem(String fieldId, AssociatedItem objectItem, ErrorCollection errorCollection, I18nHelper i18nBean)
|
void
|
validateAssociatedItems(String fieldId, Iterable<AssociatedItem> associatedItems, ErrorCollection errorCollection, I18nHelper i18nBean)
|
void
|
validateCategoryAndSummary(String category, String summary, ErrorCollection errorCollection, I18nHelper i18nBean)
|
void
|
validateChangedValue(String fieldId, ChangedValue value, ErrorCollection errorCollection, I18nHelper i18nBean)
|
void
|
validateChangedValues(String fieldId, Iterable<ChangedValue> values, ErrorCollection errorCollection, I18nHelper i18nBean)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.jira.auditing.AuditingService
@Nonnull
ServiceOutcome<Records>
|
getRecords(Integer offset, Integer maxResults, AuditingFilter filter)
|
@Nonnull
Long
|
getTotalNumberOfRecords()
Returns total number of audit records
|
@Nonnull
ErrorCollection
|
storeRecord(String category, String summary, String eventSourceKey, AssociatedItem objectItem, Iterable<ChangedValue> values, Iterable<AssociatedItem> associatedItems)
/**
Store record in Auditing Log along with plugin name created the event
|
@Nonnull
ErrorCollection
|
storeRecord(String category, String summary, AssociatedItem objectItem, Iterable<ChangedValue> values, Iterable<AssociatedItem> associatedItems)
Store record in Auditing Log
|
|
Fields
public
static
final
Integer
MAX_LEN
Public Constructors
Public Methods
@Nonnull
public
Long
getTotalNumberOfRecords
()
Returns total number of audit records
/**
Store record in Auditing Log along with plugin name created the event
Parameters
category
| - category of the log record |
summary
| - description of the change |
eventSourceKey
| - key of plugin which creates the record |
objectItem
| - changed object |
changedValues
| - changed values of the object item |
associatedItems
| |
Store record in Auditing Log
Parameters
category
| - category of the log record |
summary
| - description of the change |
objectItem
| - changed object |
changedValues
| - changed values of the object item |
associatedItems
| |
Protected Methods