Class FixDataVolumeSignAction
- java.lang.Object
-
- org.gcube.accounting.datamodel.validations.validators.FixDataVolumeSignAction
-
- All Implemented Interfaces:
org.gcube.documentstore.records.implementation.FieldAction
public class FixDataVolumeSignAction extends Object implements org.gcube.documentstore.records.implementation.FieldAction
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Constructor Summary
Constructors Constructor Description FixDataVolumeSignAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LongcheckIt(Long dataVolume, AbstractStorageUsageRecord.OperationType operationType)Serializablevalidate(String key, Serializable value, org.gcube.documentstore.records.Record record)
-
-
-
Method Detail
-
checkIt
protected Long checkIt(Long dataVolume, AbstractStorageUsageRecord.OperationType operationType)
-
validate
public Serializable validate(String key, Serializable value, org.gcube.documentstore.records.Record record) throws org.gcube.documentstore.exception.InvalidValueException
- Specified by:
validatein interfaceorg.gcube.documentstore.records.implementation.FieldAction- Throws:
org.gcube.documentstore.exception.InvalidValueException
-
-