Class PnLBookScalingRestService
- java.lang.Object
-
- com.activeviam.risk.ref.rest.services.impl.APnLBookScalingRestService<PnLBookScalingDTO>
-
- com.activeviam.risk.ref.whatif.rest.services.impl.PnLBookScalingRestService
-
- All Implemented Interfaces:
IPnLBookScalingRestService<PnLBookScalingDTO>
public class PnLBookScalingRestService extends APnLBookScalingRestService<PnLBookScalingDTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected com.qfs.store.IDatastore
datastore
protected Logger
logger
protected com.activeviam.tools.whatif.core.IWhatIfWorkflow
whatIfWorkflow
-
Constructor Summary
Constructors Constructor Description PnLBookScalingRestService(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 VectorScalingWhatIfDefinition
definitionFromDTO(PnLBookScalingDTO dto)
com.activeviam.tools.whatif.core.IWhatIfSubmission
submissionFromDTO(PnLBookScalingDTO submission, com.activeviam.tools.whatif.core.IWhatIfDefinition definition)
javax.ws.rs.core.Response
submit(PnLBookScalingDTO dto)
Submission method-
Methods inherited from class com.activeviam.risk.ref.rest.services.impl.APnLBookScalingRestService
generateBookCondition, parseAsOfDate
-
-
-
-
Field Detail
-
logger
protected Logger logger
-
datastore
protected com.qfs.store.IDatastore datastore
-
whatIfWorkflow
protected com.activeviam.tools.whatif.core.IWhatIfWorkflow whatIfWorkflow
-
-
Method Detail
-
submit
public javax.ws.rs.core.Response submit(PnLBookScalingDTO dto)
Description copied from interface:IPnLBookScalingRestService
Submission method- Parameters:
dto
- dto- Returns:
- HTTP response
-
definitionFromDTO
public VectorScalingWhatIfDefinition definitionFromDTO(PnLBookScalingDTO dto)
-
submissionFromDTO
public com.activeviam.tools.whatif.core.IWhatIfSubmission submissionFromDTO(PnLBookScalingDTO submission, com.activeviam.tools.whatif.core.IWhatIfDefinition definition)
-
-