org.gcube.accounting.usagetracker.rest.resources.raw
Class RawRecordResource
java.lang.Object
org.gcube.accounting.usagetracker.rest.resources.AbstractRecordResource<org.gcube.accounting.datamodel.RawUsageRecord>
org.gcube.accounting.usagetracker.rest.resources.raw.RawRecordResource
public class RawRecordResource
- extends AbstractRecordResource<org.gcube.accounting.datamodel.RawUsageRecord>
|
Method Summary |
protected org.gcube.accounting.datamodel.RawUsageRecord |
createRecord(org.gcube.accounting.datamodel.UsageRecord r)
|
protected boolean |
isCorrectType(org.gcube.accounting.datamodel.UsageRecord r)
|
protected void |
validate(org.gcube.accounting.datamodel.RawUsageRecord record)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawRecordResource
public RawRecordResource(String id)
validate
protected void validate(org.gcube.accounting.datamodel.RawUsageRecord record)
throws org.gcube.accounting.exception.InvalidValueException
- Specified by:
validate in class AbstractRecordResource<org.gcube.accounting.datamodel.RawUsageRecord>
- Throws:
org.gcube.accounting.exception.InvalidValueException
createRecord
protected org.gcube.accounting.datamodel.RawUsageRecord createRecord(org.gcube.accounting.datamodel.UsageRecord r)
throws org.gcube.accounting.exception.InvalidValueException
- Specified by:
createRecord in class AbstractRecordResource<org.gcube.accounting.datamodel.RawUsageRecord>
- Throws:
org.gcube.accounting.exception.InvalidValueException
isCorrectType
protected boolean isCorrectType(org.gcube.accounting.datamodel.UsageRecord r)
- Specified by:
isCorrectType in class AbstractRecordResource<org.gcube.accounting.datamodel.RawUsageRecord>
Copyright © 2013. All Rights Reserved.