Class SignOffPnLScenarioScalingRestService
- java.lang.Object
-
- com.activeviam.risk.ref.rest.services.impl.APnLScenarioScalingRestService<SignOffPnLVectorScalingDTO>
-
- com.activeviam.risk.ref.signoff.adjustments.rest.services.impl.SignOffPnLScenarioScalingRestService
-
- All Implemented Interfaces:
IPnLScenarioScalingRestService<SignOffPnLVectorScalingDTO>
public class SignOffPnLScenarioScalingRestService extends APnLScenarioScalingRestService<SignOffPnLVectorScalingDTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected Logger
logger
protected com.activeviam.signoff.adjustments.service.IStoreAdjustmentService
storeAdjustmentService
static String
TYPE
-
Fields inherited from class com.activeviam.risk.ref.rest.services.impl.APnLScenarioScalingRestService
datastore
-
-
Constructor Summary
Constructors Constructor Description SignOffPnLScenarioScalingRestService(com.qfs.store.IDatastore datastore, com.activeviam.signoff.adjustments.service.IStoreAdjustmentService storeAdjustmentService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorIndexScalingStoreAdjustmentDefinition
definitionFromDTO(PnLVectorScalingDTO dto)
com.activeviam.signoff.adjustments.store.submission.IStoreAdjustmentSubmission
submissionFromDTO(SignOffPnLVectorScalingDTO dto, com.activeviam.signoff.adjustments.store.definition.IStoreAdjustmentDefinition definition)
javax.ws.rs.core.Response
submit(SignOffPnLVectorScalingDTO dto)
Submission method-
Methods inherited from class com.activeviam.risk.ref.rest.services.impl.APnLScenarioScalingRestService
generateTradeCondition, getIndicesFromScenario
-
-
-
-
Field Detail
-
logger
protected Logger logger
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
storeAdjustmentService
protected com.activeviam.signoff.adjustments.service.IStoreAdjustmentService storeAdjustmentService
-
-
Method Detail
-
submit
public javax.ws.rs.core.Response submit(SignOffPnLVectorScalingDTO dto)
Description copied from interface:IPnLScenarioScalingRestService
Submission method- Parameters:
dto
- dto- Returns:
- HTTP response
-
definitionFromDTO
public VectorIndexScalingStoreAdjustmentDefinition definitionFromDTO(PnLVectorScalingDTO dto)
-
submissionFromDTO
public com.activeviam.signoff.adjustments.store.submission.IStoreAdjustmentSubmission submissionFromDTO(SignOffPnLVectorScalingDTO dto, com.activeviam.signoff.adjustments.store.definition.IStoreAdjustmentDefinition definition)
-
-