com.atlassian.jira.auditing
Class AuditingStoreImpl
java.lang.Object
com.atlassian.jira.auditing.AuditingStoreImpl
- All Implemented Interfaces:
- AuditingStore
public class AuditingStoreImpl
- extends Object
- implements AuditingStore
- Since:
- v6.2
Method Summary |
static String |
computeSearchField(String summary,
AssociatedItem objectItem,
Iterable<AssociatedItem> associatedItems,
Iterable<ChangedValue> changedValues,
String remoteAddress,
ApplicationUser author,
String categoryName)
|
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,
ApplicationUser author,
String remoteAddress,
AssociatedItem objectItem,
Iterable<ChangedValue> changedValues,
Iterable<AssociatedItem> associatedItems,
boolean isAuthorSysAdmin)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OTHER
public static final long OTHER
- See Also:
- Constant Field Values
SYSADMIN
public static final long SYSADMIN
- See Also:
- Constant Field Values
MAX_RESULTS_LIMIT
public static final int MAX_RESULTS_LIMIT
- See Also:
- Constant Field Values
JIRA_INTERNAL_DIRECTORY_ID
public static final String JIRA_INTERNAL_DIRECTORY_ID
- See Also:
- Constant Field Values
AuditingStoreImpl
public AuditingStoreImpl(OfBizDelegator ofBizDelegator,
TransactionSupport transactionSupport)
storeRecord
public void storeRecord(@Nonnull
AuditingCategory category,
String categoryName,
@Nonnull
String summary,
@Nullable
ApplicationUser author,
@Nullable
String remoteAddress,
@Nullable
AssociatedItem objectItem,
@Nullable
Iterable<ChangedValue> changedValues,
@Nullable
Iterable<AssociatedItem> associatedItems,
boolean isAuthorSysAdmin)
- Specified by:
storeRecord
in interface AuditingStore
computeSearchField
public static String computeSearchField(String summary,
AssociatedItem objectItem,
Iterable<AssociatedItem> associatedItems,
Iterable<ChangedValue> changedValues,
String remoteAddress,
ApplicationUser author,
String categoryName)
storeChangedValues
protected void storeChangedValues(@Nonnull
org.ofbiz.core.entity.GenericValue gv,
@Nonnull
Iterable<ChangedValue> changedValues)
storeAssociatedItems
protected void storeAssociatedItems(@Nonnull
org.ofbiz.core.entity.GenericValue gv,
@Nonnull
Iterable<AssociatedItem> associatedItems)
getRecords
@Nonnull
public Records getRecords(@Nullable
Long maxId,
@Nullable
Long sinceId,
@Nullable
Integer maxResults,
@Nullable
Integer offset,
@Nullable
AuditingFilter filter,
boolean includeSysAdminActions)
- Specified by:
getRecords
in interface AuditingStore
countRecords
public long countRecords(@Nullable
Long maxId,
@Nullable
Long sinceId,
boolean includeSysAdminActions)
- Specified by:
countRecords
in interface AuditingStore
getCondition
@Nullable
protected org.ofbiz.core.entity.EntityCondition getCondition(@Nullable
Long maxId,
@Nullable
Long sinceId,
@Nullable
AuditingFilter filter,
boolean includeSysAdminActions)
removeRecordsOlderThan
public long removeRecordsOlderThan(long timestamp)
- Specified by:
removeRecordsOlderThan
in interface AuditingStore
countRecordsOlderThan
public long countRecordsOlderThan(long timestamp)
- Specified by:
countRecordsOlderThan
in interface AuditingStore
Copyright © 2002-2014 Atlassian. All Rights Reserved.