AuditRecord Class

public class AuditRecord extends ResourceBase

Represents a record of operation performed by a partner user or application

Constructor Summary

Constructor Description
AuditRecord()

Method Summary

Modifier and Type Method and Description
java.lang.String getApplicationId()

Gets the identifier of the application invoking the operation.

java.lang.String getCustomerId()

Gets the identifier of customer in whose context operation was performed.

java.lang.String getCustomerName()

Gets the name of customer in whose context operation was performed.

java.lang.Iterable<KeyValuePair<java.lang.String,java.lang.String>> getCustomizedData()

Gets the dictionary which holds additional data that is customized to the operation performed.

java.lang.String getId()

Gets the unique identifier for the audit record.

org.joda.time.DateTime getOperationDate()

Gets the date and time when the operation was performed.

OperationStatus getOperationStatus()

Gets the status of the operation that is audited.

OperationType getOperationType()

Gets the type of the operation being performed.

java.lang.String getPartnerId()

Gets the identifier of the partner that performed the operation.

java.lang.String getResourceNewValue()

Gets the new value of the resource.

java.lang.String getResourceOldValue()

Gets the old value of the resource.

ResourceType getResourceType()

Gets the type of the resource acted upon by the operation.

java.lang.String getUserPrincipalName()

Gets the identifier of the user who performed the operation.

void setApplicationId(String value)

Sets the identifier of the application invoking the operation.

void setCustomerId(String value)

Sets the identifier of customer in whose context operation was performed.

void setCustomerName(String value)

Sets the name of customer in whose context operation was performed.

void setCustomizedData(Iterable<KeyValuePair<String,String>> value)

Sets the dictionary which holds additional data that is customized to the operation performed.

void setId(String value)

Sets the unique identifier for the audit record.

void setOperationDate(DateTime value)

Sets the date and time when the operation was performed.

void setOperationStatus(OperationStatus value)

Sets the status of the operation that is audited.

void setOperationType(OperationType value)

Sets the type of the operation being performed.

void setPartnerId(String value)

Sets the identifier of the partner that performed the operation.

void setResourceNewValue(String value)

Sets the new value of the resource.

void setResourceOldValue(String value)

Sets the old value of the resource.

void setResourceType(ResourceType value)

Sets the type of the resource acted upon by the operation.

void setUserPrincipalName(String value)

Sets the identifier of the user who performed the operation.

Inherited Members

ResourceBase.getAttributes() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

AuditRecord

public AuditRecord()

Method Details

getApplicationId

public String getApplicationId()

Gets the identifier of the application invoking the operation.

Returns:

The identifier of the application invoking the operation.

getCustomerId

public String getCustomerId()

Gets the identifier of customer in whose context operation was performed.

Returns:

The identifier of customer in whose context operation was performed.

getCustomerName

public String getCustomerName()

Gets the name of customer in whose context operation was performed.

Returns:

The name of customer in whose context operation was performed.

getCustomizedData

public Iterable> getCustomizedData()

Gets the dictionary which holds additional data that is customized to the operation performed.

Returns:

The dictionary which holds additional data that is customized to the operation performed.

getId

public String getId()

Gets the unique identifier for the audit record.

Returns:

The unique identifier for the audit record.

getOperationDate

public DateTime getOperationDate()

Gets the date and time when the operation was performed.

Returns:

The date and time when the operation was performed.

getOperationStatus

public OperationStatus getOperationStatus()

Gets the status of the operation that is audited.

Returns:

The status of the operation that is audited.

getOperationType

public OperationType getOperationType()

Gets the type of the operation being performed.

Returns:

The type of the operation being performed.

getPartnerId

public String getPartnerId()

Gets the identifier of the partner that performed the operation.

Returns:

The identifier of the partner that performed the operation.

getResourceNewValue

public String getResourceNewValue()

Gets the new value of the resource.

Returns:

The new value of the resource.

getResourceOldValue

public String getResourceOldValue()

Gets the old value of the resource.

Returns:

The old value of the resource.

getResourceType

public ResourceType getResourceType()

Gets the type of the resource acted upon by the operation.

Returns:

The type of the resource acted upon by the operation.

getUserPrincipalName

public String getUserPrincipalName()

Gets the identifier of the user who performed the operation. This could be in the context of application.

Returns:

The identifier of the user who performed the operation.

setApplicationId

public void setApplicationId(String value)

Sets the identifier of the application invoking the operation.

Parameters:

value - The identifier of the application invoking the operation.

setCustomerId

public void setCustomerId(String value)

Sets the identifier of customer in whose context operation was performed.

Parameters:

value - The identifier of customer in whose context operation was performed.

setCustomerName

public void setCustomerName(String value)

Sets the name of customer in whose context operation was performed.

Parameters:

value - The name of customer in whose context operation was performed.

setCustomizedData

public void setCustomizedData(Iterable> value)

Sets the dictionary which holds additional data that is customized to the operation performed.

Parameters:

value - The dictionary which holds additional data that is customized to the operation performed.

setId

public void setId(String value)

Sets the unique identifier for the audit record.

Parameters:

value - The unique identifier for the audit record.

setOperationDate

public void setOperationDate(DateTime value)

Sets the date and time when the operation was performed.

Parameters:

value - The date and time when the operation was performed.

setOperationStatus

public void setOperationStatus(OperationStatus value)

Sets the status of the operation that is audited.

Parameters:

value - The status of the operation that is audited.

setOperationType

public void setOperationType(OperationType value)

Sets the type of the operation being performed.

Parameters:

value - The type of the operation being performed.

setPartnerId

public void setPartnerId(String value)

Sets the identifier of the partner that performed the operation.

Parameters:

value - The identifier of the partner that performed the operation.

setResourceNewValue

public void setResourceNewValue(String value)

Sets the new value of the resource.

Parameters:

value - The new value of the resource.

setResourceOldValue

public void setResourceOldValue(String value)

Sets the old value of the resource.

Parameters:

value - The old value of the resource.

setResourceType

public void setResourceType(ResourceType value)

Sets the type of the resource acted upon by the operation.

Parameters:

value - The type of the resource acted upon by the operation.

setUserPrincipalName

public void setUserPrincipalName(String value)

Sets the identifier of the user who performed the operation. This could be in the context of application.

Parameters:

value - The identifier of the user who performed the operation.

Applies to