Class PnLScenarioScalingRestService
- java.lang.Object
-
- com.activeviam.risk.ref.rest.services.impl.APnLScenarioScalingRestService<PnLVectorScalingDTO>
-
- com.activeviam.risk.ref.whatif.rest.services.impl.PnLScenarioScalingRestService
-
- All Implemented Interfaces:
IPnLScenarioScalingRestService<PnLVectorScalingDTO>
public class PnLScenarioScalingRestService extends APnLScenarioScalingRestService<PnLVectorScalingDTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected Logger
logger
protected com.activeviam.tools.whatif.core.IWhatIfWorkflow
whatIfWorkflow
-
Fields inherited from class com.activeviam.risk.ref.rest.services.impl.APnLScenarioScalingRestService
datastore
-
-
Constructor Summary
Constructors Constructor Description PnLScenarioScalingRestService(com.qfs.store.IDatastore datastore, com.activeviam.tools.whatif.core.IWhatIfWorkflow whatIfWorkflow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorIndexScalingWhatIfDefinition
definitionFromDTO(PnLVectorScalingDTO dto)
com.activeviam.tools.whatif.core.IWhatIfSubmission
submissionFromDTO(PnLVectorScalingDTO dto, VectorIndexScalingWhatIfDefinition definition)
javax.ws.rs.core.Response
submit(PnLVectorScalingDTO dto)
Submission method-
Methods inherited from class com.activeviam.risk.ref.rest.services.impl.APnLScenarioScalingRestService
generateTradeCondition, getIndicesFromScenario
-
-
-
-
Field Detail
-
logger
protected Logger logger
-
whatIfWorkflow
protected com.activeviam.tools.whatif.core.IWhatIfWorkflow whatIfWorkflow
-
-
Method Detail
-
submit
public javax.ws.rs.core.Response submit(PnLVectorScalingDTO dto)
Description copied from interface:IPnLScenarioScalingRestService
Submission method- Parameters:
dto
- dto- Returns:
- HTTP response
-
definitionFromDTO
public VectorIndexScalingWhatIfDefinition definitionFromDTO(PnLVectorScalingDTO dto)
-
submissionFromDTO
public com.activeviam.tools.whatif.core.IWhatIfSubmission submissionFromDTO(PnLVectorScalingDTO dto, VectorIndexScalingWhatIfDefinition definition)
-
-