com.atlassian.jira.auditing
Class AuditRecordImpl

java.lang.Object
  extended by com.atlassian.jira.auditing.AuditRecordImpl
All Implemented Interfaces:
AuditRecord

public class AuditRecordImpl
extends Object
implements AuditRecord

Since:
v6.2

Field Summary
protected  com.google.common.collect.ImmutableList<AssociatedItem> associatedItems
           
static String AUTHOR_KEY
           
static String AUTHOR_TYPE
           
static String CATEGORY
           
protected  com.google.common.collect.ImmutableList<ChangedValue> changedValues
           
static String CREATED
           
protected  org.ofbiz.core.entity.GenericValue gv
           
static String ID
           
static String OBJECT_ID
           
static String OBJECT_NAME
           
static String OBJECT_PARENT_ID
           
static String OBJECT_PARENT_NAME
           
static String OBJECT_TYPE
           
static String REMOTE_ADDR
           
static String SEARCH_FIELD
           
static String SUMMARY
           
 
Constructor Summary
AuditRecordImpl(org.ofbiz.core.entity.GenericValue gv, Iterable<AssociatedItem> associatedItems, Iterable<ChangedValue> changedValues)
           
 
Method Summary
 Iterable<AssociatedItem> getAssociatedItems()
           
 String getAuthorKey()
           
 AuditingCategory getCategory()
           
 org.joda.time.DateTime getCreated()
           
 Long getId()
           
 AssociatedItem getObjectItem()
           
 String getRemoteAddr()
           
 String getSummary()
           
 Iterable<ChangedValue> getValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values

AUTHOR_KEY

public static final String AUTHOR_KEY
See Also:
Constant Field Values

REMOTE_ADDR

public static final String REMOTE_ADDR
See Also:
Constant Field Values

CATEGORY

public static final String CATEGORY
See Also:
Constant Field Values

CREATED

public static final String CREATED
See Also:
Constant Field Values

SUMMARY

public static final String SUMMARY
See Also:
Constant Field Values

OBJECT_TYPE

public static final String OBJECT_TYPE
See Also:
Constant Field Values

OBJECT_NAME

public static final String OBJECT_NAME
See Also:
Constant Field Values

OBJECT_PARENT_ID

public static final String OBJECT_PARENT_ID
See Also:
Constant Field Values

OBJECT_PARENT_NAME

public static final String OBJECT_PARENT_NAME
See Also:
Constant Field Values

OBJECT_ID

public static final String OBJECT_ID
See Also:
Constant Field Values

AUTHOR_TYPE

public static final String AUTHOR_TYPE
See Also:
Constant Field Values

SEARCH_FIELD

public static final String SEARCH_FIELD
See Also:
Constant Field Values

gv

protected final org.ofbiz.core.entity.GenericValue gv

associatedItems

protected final com.google.common.collect.ImmutableList<AssociatedItem> associatedItems

changedValues

protected final com.google.common.collect.ImmutableList<ChangedValue> changedValues
Constructor Detail

AuditRecordImpl

public AuditRecordImpl(org.ofbiz.core.entity.GenericValue gv,
                       Iterable<AssociatedItem> associatedItems,
                       Iterable<ChangedValue> changedValues)
Method Detail

getId

@Nonnull
public Long getId()
Specified by:
getId in interface AuditRecord

getAuthorKey

@Nullable
public String getAuthorKey()
Specified by:
getAuthorKey in interface AuditRecord

getRemoteAddr

@Nullable
public String getRemoteAddr()
Specified by:
getRemoteAddr in interface AuditRecord

getCreated

@Nonnull
public org.joda.time.DateTime getCreated()
Specified by:
getCreated in interface AuditRecord

getCategory

@Nonnull
public AuditingCategory getCategory()
Specified by:
getCategory in interface AuditRecord

getSummary

@Nonnull
public String getSummary()
Specified by:
getSummary in interface AuditRecord

getAssociatedItems

@Nonnull
public Iterable<AssociatedItem> getAssociatedItems()
Specified by:
getAssociatedItems in interface AuditRecord

getValues

@Nonnull
public Iterable<ChangedValue> getValues()
Specified by:
getValues in interface AuditRecord

getObjectItem

@Nullable
public AssociatedItem getObjectItem()
Specified by:
getObjectItem in interface AuditRecord


Copyright © 2002-2014 Atlassian. All Rights Reserved.