com.atlassian.jira.auditing
Class AuditingStoreImpl

java.lang.Object
  extended by com.atlassian.jira.auditing.AuditingStoreImpl
All Implemented Interfaces:
AuditingStore

public class AuditingStoreImpl
extends Object
implements AuditingStore

Since:
v6.2

Field Summary
static int MAX_RESULTS_LIMIT
           
static long OTHER
           
static long SYSADMIN
           
 
Constructor Summary
AuditingStoreImpl(OfBizDelegator ofBizDelegator, TransactionSupport transactionSupport)
           
 
Method Summary
 long countRecords(Long maxId, Long sinceId, boolean includeSysAdminActions)
           
protected  AbstractEntityFactory<ChangedValue> getChangeValueEntityFactory()
           
protected  org.ofbiz.core.entity.EntityCondition getCondition(Long maxId, Long sinceId, boolean includeSysAdminActions)
           
 Records getRecords(Long maxId, Long sinceId, Long maxResults, Long page, boolean includeSysAdminActions)
           
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 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
 

Field Detail

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
Constructor Detail

AuditingStoreImpl

public AuditingStoreImpl(OfBizDelegator ofBizDelegator,
                         TransactionSupport transactionSupport)
Method Detail

storeRecord

public void storeRecord(@Nonnull
                        AuditingCategory category,
                        @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

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
                                  Long maxResults,
                                  Long page,
                                  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,
                                                                      boolean includeSysAdminActions)

getChangeValueEntityFactory

protected AbstractEntityFactory<ChangedValue> getChangeValueEntityFactory()


Copyright © 2002-2014 Atlassian. All Rights Reserved.