org.gcube.accounting.usagetracker.rest.resources.raw
Class RawRecordsResource

java.lang.Object
  extended by org.gcube.accounting.usagetracker.rest.resources.AbstractRecordsResource<org.gcube.accounting.datamodel.RawUsageRecord>
      extended by org.gcube.accounting.usagetracker.rest.resources.raw.RawRecordsResource

public class RawRecordsResource
extends AbstractRecordsResource<org.gcube.accounting.datamodel.RawUsageRecord>


Field Summary
 
Fields inherited from class org.gcube.accounting.usagetracker.rest.resources.AbstractRecordsResource
request
 
Constructor Summary
RawRecordsResource()
           
 
Method Summary
 org.gcube.accounting.datamodel.RawUsageRecord createRecord(org.gcube.accounting.datamodel.RawUsageRecord record)
           
 RawRecordResource getRecordResource(String record_id)
           
protected  void validate(org.gcube.accounting.datamodel.RawUsageRecord record)
           
 
Methods inherited from class org.gcube.accounting.usagetracker.rest.resources.AbstractRecordsResource
getNumberOfRecords, getRecords, getRecords, getRecordsWithPost, getTypeClause, insertUsageRecord
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawRecordsResource

public RawRecordsResource()
Method Detail

createRecord

public org.gcube.accounting.datamodel.RawUsageRecord createRecord(org.gcube.accounting.datamodel.RawUsageRecord record)
Specified by:
createRecord in class AbstractRecordsResource<org.gcube.accounting.datamodel.RawUsageRecord>

getRecordResource

public RawRecordResource getRecordResource(String record_id)

validate

protected void validate(org.gcube.accounting.datamodel.RawUsageRecord record)
                 throws org.gcube.accounting.exception.InvalidValueException
Specified by:
validate in class AbstractRecordsResource<org.gcube.accounting.datamodel.RawUsageRecord>
Throws:
org.gcube.accounting.exception.InvalidValueException


Copyright © 2013. All Rights Reserved.