public class AuditingStoreImpl extends Object implements AuditingStore
Modifier and Type | Field and Description |
---|---|
static String |
JIRA_INTERNAL_DIRECTORY_ID |
static int |
MAX_RESULTS_LIMIT |
static long |
OTHER |
static long |
SYSADMIN |
Constructor and Description |
---|
AuditingStoreImpl(OfBizDelegator ofBizDelegator,
TransactionSupport transactionSupport) |
Modifier and Type | Method and Description |
---|---|
static String |
computeSearchField(String summary,
AssociatedItem objectItem,
Iterable<AssociatedItem> associatedItems,
Iterable<ChangedValue> changedValues,
String remoteAddress,
ApplicationUser author,
String categoryName,
String eventSource) |
long |
countRecords(Long maxId,
Long sinceId,
boolean includeSysAdminActions) |
long |
countRecordsOlderThan(long timestamp) |
protected org.ofbiz.core.entity.EntityCondition |
getCondition(Long maxId,
Long sinceId,
AuditingFilter filter,
boolean includeSysAdminActions) |
Records |
getRecords(Long maxId,
Long sinceId,
Integer maxResults,
Integer offset,
AuditingFilter filter,
boolean includeSysAdminActions) |
long |
removeRecordsOlderThan(long timestamp) |
protected void |
storeAssociatedItems(org.ofbiz.core.entity.GenericValue gv,
Iterable<AssociatedItem> associatedItems) |
protected void |
storeChangedValues(org.ofbiz.core.entity.GenericValue gv,
Iterable<ChangedValue> changedValues) |
void |
storeRecord(AuditingCategory category,
String categoryName,
String summary,
String eventSource,
ApplicationUser author,
String remoteAddress,
AssociatedItem objectItem,
Iterable<ChangedValue> changedValues,
Iterable<AssociatedItem> associatedItems,
boolean isAuthorSysAdmin) |
public static final long OTHER
public static final long SYSADMIN
public static final int MAX_RESULTS_LIMIT
public static final String JIRA_INTERNAL_DIRECTORY_ID
public AuditingStoreImpl(OfBizDelegator ofBizDelegator, TransactionSupport transactionSupport)
public void storeRecord(@Nonnull AuditingCategory category, String categoryName, @Nonnull String summary, @Nonnull String eventSource, @Nullable ApplicationUser author, @Nullable String remoteAddress, @Nullable AssociatedItem objectItem, @Nullable Iterable<ChangedValue> changedValues, @Nullable Iterable<AssociatedItem> associatedItems, boolean isAuthorSysAdmin)
storeRecord
in interface AuditingStore
public static String computeSearchField(String summary, AssociatedItem objectItem, Iterable<AssociatedItem> associatedItems, Iterable<ChangedValue> changedValues, String remoteAddress, ApplicationUser author, String categoryName, String eventSource)
protected void storeChangedValues(@Nonnull org.ofbiz.core.entity.GenericValue gv, @Nonnull Iterable<ChangedValue> changedValues)
protected void storeAssociatedItems(@Nonnull org.ofbiz.core.entity.GenericValue gv, @Nonnull Iterable<AssociatedItem> associatedItems)
@Nonnull public Records getRecords(@Nullable Long maxId, @Nullable Long sinceId, @Nullable Integer maxResults, @Nullable Integer offset, @Nullable AuditingFilter filter, boolean includeSysAdminActions)
getRecords
in interface AuditingStore
public long countRecords(@Nullable Long maxId, @Nullable Long sinceId, boolean includeSysAdminActions)
countRecords
in interface AuditingStore
@Nullable protected org.ofbiz.core.entity.EntityCondition getCondition(@Nullable Long maxId, @Nullable Long sinceId, @Nullable AuditingFilter filter, boolean includeSysAdminActions)
public long removeRecordsOlderThan(long timestamp)
removeRecordsOlderThan
in interface AuditingStore
public long countRecordsOlderThan(long timestamp)
countRecordsOlderThan
in interface AuditingStore
Copyright © 2002-2015 Atlassian. All Rights Reserved.