|
||||||||||
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 AuditRecordApi
gid
- id of the audit record to search for
SDKException
- if the audit record is not foundpublic PagedCollectionResource<AuditRecordCollectionRepresentation> getAuditRecords() throws SDKException
AuditRecordApi
getAuditRecords
in interface AuditRecordApi
SDKException
- if the query failedpublic AuditRecordRepresentation create(AuditRecordRepresentation representation) throws SDKException
AuditRecordApi
create
in interface AuditRecordApi
representation
- the audit record to be created
SDKException
- if the audit record could not be generatedpublic PagedCollectionResource<AuditRecordCollectionRepresentation> getAuditRecordsByFilter(AuditRecordFilter filter) throws SDKException
AuditRecordApi
getAuditRecordsByFilter
in interface AuditRecordApi
filter
- 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 |