| Modifier and Type | Field and Description |
|---|---|
org.gcube.accounting.persistence.AccountingPersistence |
accountingPersistence |
| Constructor and Description |
|---|
ReportAccountingImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildProviderURI(String resourceScope) |
String |
getProviderUri() |
void |
init() |
void |
printRecord(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord record) |
void |
send(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur)
send report
|
org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord |
setGenericProperties(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur,
String resourceType,
String consumerId,
String resourceScope,
String creationTime,
String lastAccess,
String owner,
String operation,
String size)
Set generic properties of report
|
protected org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord |
setProviderUri(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur,
String resourceScope) |
org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord |
setSpecificProperties(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur,
String filePath,
String dataType,
String callerIP,
String id)
Set end time of operation and other specific properties
|
public org.gcube.accounting.persistence.AccountingPersistence accountingPersistence
public org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord setGenericProperties(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur,
String resourceType,
String consumerId,
String resourceScope,
String creationTime,
String lastAccess,
String owner,
String operation,
String size)
ReportsetGenericProperties in interface Reportprotected org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord setProviderUri(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur,
String resourceScope)
throws org.gcube.documentstore.exception.InvalidValueException,
URISyntaxException
org.gcube.documentstore.exception.InvalidValueExceptionURISyntaxExceptionpublic org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord setSpecificProperties(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur,
String filePath,
String dataType,
String callerIP,
String id)
ReportsetSpecificProperties in interface Reportpublic void printRecord(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord record)
printRecord in interface Reportpublic void send(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur)
Reportpublic String getProviderUri()
Copyright © 2018. All Rights Reserved.