Class AuditRecordsCollection
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.auditrecords.AuditRecordsCollection
- All Implemented Interfaces:
IAuditRecordsCollection,IPartnerComponent<String>,IPartnerComponentString
public class AuditRecordsCollection extends BasePartnerComponentString implements IAuditRecordsCollection
An Implementation of
IAuditRecordsCollection for handling common partner component properties and behavior.
See parent class BasePartnerComponentString for additional details.-
Constructor Summary
Constructors Constructor Description AuditRecordsCollection(IPartner rootPartnerOperations) -
Method Summary
Modifier and Type Method Description SeekBasedResourceCollection<AuditRecord>query(org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, IQuery query)Queries audit records associated to the partner.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
Method Details
-
query
public SeekBasedResourceCollection<AuditRecord> query(org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, IQuery query)Description copied from interface:IAuditRecordsCollectionQueries audit records associated to the partner. The following queries are supported: - Specify the number of audit record to return. - Filter the result with a customer name.- Specified by:
queryin interfaceIAuditRecordsCollection- Parameters:
startDate- The start date of the audit record logs.endDate- The end date of the audit record logs.query- The query.- Returns:
- The audit records that match the given query.
-