Class PnLVectorSubstitutionRestService
- java.lang.Object
-
- com.activeviam.risk.ref.rest.services.impl.APnLVectorSubstitutionRestService<PnLVectorSubstitutionDTO>
-
- com.activeviam.risk.ref.whatif.rest.services.impl.PnLVectorSubstitutionRestService
-
- All Implemented Interfaces:
IPnLVectorSubstitutionRestService<PnLVectorSubstitutionDTO>
public class PnLVectorSubstitutionRestService extends APnLVectorSubstitutionRestService<PnLVectorSubstitutionDTO>
-
-
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.APnLVectorSubstitutionRestService
datastore
-
-
Constructor Summary
Constructors Constructor Description PnLVectorSubstitutionRestService(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 com.activeviam.tools.whatif.core.IWhatIfSubmission
submissionFromDTO(PnLVectorSubstitutionDTO dto, List<PnLVectorSubstitutionWhatIfDefinition> definitions)
javax.ws.rs.core.Response
submit(PnLVectorSubstitutionDTO dto)
-
Methods inherited from class com.activeviam.risk.ref.rest.services.impl.APnLVectorSubstitutionRestService
generateTradeCondition, getPreviousAsOfDates, getPreviousAsOfDates, getPreviousDayVectors, parseAsOfDate
-
-
-
-
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(PnLVectorSubstitutionDTO dto)
-
submissionFromDTO
public com.activeviam.tools.whatif.core.IWhatIfSubmission submissionFromDTO(PnLVectorSubstitutionDTO dto, List<PnLVectorSubstitutionWhatIfDefinition> definitions)
-
-