|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cumulocity.sdk.client.audit.AuditRecordApiImpl
public class AuditRecordApiImpl
| Constructor Summary | |
|---|---|
AuditRecordApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl)
Deprecated. |
|
AuditRecordApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl,
int pageSize)
|
|
| Method Summary | |
|---|---|
AuditRecordRepresentation |
create(AuditRecordRepresentation representation)
Creates an audit record in the platform. |
AuditRecordRepresentation |
getAuditRecord(GId gid)
Gets an audit record by id |
PagedCollectionResource<AuditRecordCollectionRepresentation> |
getAuditRecords()
Gets all audit records from the platform |
PagedCollectionResource<AuditRecordCollectionRepresentation> |
getAuditRecordsByFilter(AuditRecordFilter filter)
Gets audit records from the platform based on the specified filter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public AuditRecordApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl)
public AuditRecordApiImpl(RestConnector restConnector,
TemplateUrlParser templateUrlParser,
String platformApiUrl,
int pageSize)
| Method Detail |
|---|
public AuditRecordRepresentation getAuditRecord(GId gid)
throws SDKException
AuditRecordApi
getAuditRecord in interface AuditRecordApigid - id of the audit record to search for
SDKException - if the audit record is not found
public PagedCollectionResource<AuditRecordCollectionRepresentation> getAuditRecords()
throws SDKException
AuditRecordApi
getAuditRecords in interface AuditRecordApiSDKException - if the query failed
public AuditRecordRepresentation create(AuditRecordRepresentation representation)
throws SDKException
AuditRecordApi
create in interface AuditRecordApirepresentation - the audit record to be created
SDKException - if the audit record could not be generated
public PagedCollectionResource<AuditRecordCollectionRepresentation> getAuditRecordsByFilter(AuditRecordFilter filter)
throws SDKException
AuditRecordApi
getAuditRecordsByFilter in interface AuditRecordApifilter - the filter criteria(s)
SDKException - if the query failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||