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

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

public class RawRecordResource
extends AbstractRecordResource<org.gcube.accounting.datamodel.RawUsageRecord>


Constructor Summary
RawRecordResource(String id)
           
 
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 org.gcube.accounting.usagetracker.rest.resources.AbstractRecordResource
getRecord, getUserId, setUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawRecordResource

public RawRecordResource(String id)
Method Detail

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.