Class PermissionRequestCreationService
java.lang.Object
energy.eddie.regionconnector.de.eta.service.PermissionRequestCreationService
Service for creating permission requests for the German (DE) ETA Plus region connector.
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionRequestCreationService(DataNeedCalculationService<DataNeed> dataNeedCalculationService, Outbox outbox) -
Method Summary
Modifier and TypeMethodDescriptioncreatePermissionRequest(PermissionRequestForCreation requestForCreation) Creates a new permission request.
-
Constructor Details
-
Method Details
-
createPermissionRequest
public CreatedPermissionRequest createPermissionRequest(PermissionRequestForCreation requestForCreation) throws DataNeedNotFoundException, UnsupportedDataNeedException Creates a new permission request.- Parameters:
requestForCreation- the request creation DTO- Returns:
- the created permission request
- Throws:
DataNeedNotFoundException- if the data need is not foundUnsupportedDataNeedException- if the data need is not supported
-