AuditRecord Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. auditing. AuditRecord
- com.
- com.
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<Key |
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. |
|
Operation |
getOperationStatus()
Gets the status of the operation that is audited. |
|
Operation |
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. |
|
Resource |
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
Constructor Details
AuditRecord
public AuditRecord()
Method Details
getApplicationId
public String getApplicationId()
Gets the identifier of the application invoking the operation.
Returns:
getCustomerId
public String getCustomerId()
Gets the identifier of customer in whose context operation was performed.
Returns:
getCustomerName
public String getCustomerName()
Gets the name of customer in whose context operation was performed.
Returns:
getCustomizedData
public Iterable
Gets the dictionary which holds additional data that is customized to the operation performed.
Returns:
getId
public String getId()
Gets the unique identifier for the audit record.
Returns:
getOperationDate
public DateTime getOperationDate()
Gets the date and time when the operation was performed.
Returns:
getOperationStatus
public OperationStatus getOperationStatus()
Gets the status of the operation that is audited.
Returns:
getOperationType
public OperationType getOperationType()
Gets the type of the operation being performed.
Returns:
getPartnerId
public String getPartnerId()
Gets the identifier of the partner that performed the operation.
Returns:
getResourceNewValue
public String getResourceNewValue()
Gets the new value of the resource.
Returns:
getResourceOldValue
public String getResourceOldValue()
Gets the old value of the resource.
Returns:
getResourceType
public ResourceType getResourceType()
Gets the type of the resource acted upon by the operation.
Returns:
getUserPrincipalName
public String getUserPrincipalName()
Gets the identifier of the user who performed the operation. This could be in the context of application.
Returns:
setApplicationId
public void setApplicationId(String value)
Sets the identifier of the application invoking the operation.
Parameters:
setCustomerId
public void setCustomerId(String value)
Sets the identifier of customer in whose context operation was performed.
Parameters:
setCustomerName
public void setCustomerName(String value)
Sets the name of customer in whose context operation was performed.
Parameters:
setCustomizedData
public void setCustomizedData(Iterable
Sets the dictionary which holds additional data that is customized to the operation performed.
Parameters:
setId
public void setId(String value)
Sets the unique identifier for the audit record.
Parameters:
setOperationDate
public void setOperationDate(DateTime value)
Sets the date and time when the operation was performed.
Parameters:
setOperationStatus
public void setOperationStatus(OperationStatus value)
Sets the status of the operation that is audited.
Parameters:
setOperationType
public void setOperationType(OperationType value)
Sets the type of the operation being performed.
Parameters:
setPartnerId
public void setPartnerId(String value)
Sets the identifier of the partner that performed the operation.
Parameters:
setResourceNewValue
public void setResourceNewValue(String value)
Sets the new value of the resource.
Parameters:
setResourceOldValue
public void setResourceOldValue(String value)
Sets the old value of the resource.
Parameters:
setResourceType
public void setResourceType(ResourceType value)
Sets the type of the resource acted upon by the operation.
Parameters:
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: