Class ModifyLoanApplicationCommandStrategy
java.lang.Object
org.apache.fineract.batch.command.internal.ModifyLoanApplicationCommandStrategy
- All Implemented Interfaces:
org.apache.fineract.batch.command.CommandStrategy
@Component
public class ModifyLoanApplicationCommandStrategy
extends Object
implements org.apache.fineract.batch.command.CommandStrategy
Implements
CommandStrategy to handle any updates to the loan application.
It passes the contents of the body from the BatchRequest to
LoansApiResource and gets back the response. This class will
also catch any errors raised by LoansApiResource and map those
errors to appropriate status codes in BatchResponse.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.batch.domain.BatchResponseexecute(org.apache.fineract.batch.domain.BatchRequest request, jakarta.ws.rs.core.UriInfo uriInfo) ReturnsBatchResponseobject by taking in and executingBatchRequestobject.
-
Constructor Details
-
ModifyLoanApplicationCommandStrategy
public ModifyLoanApplicationCommandStrategy()
-
-
Method Details
-
execute
public org.apache.fineract.batch.domain.BatchResponse execute(org.apache.fineract.batch.domain.BatchRequest request, jakarta.ws.rs.core.UriInfo uriInfo) ReturnsBatchResponseobject by taking in and executingBatchRequestobject.- Specified by:
executein interfaceorg.apache.fineract.batch.command.CommandStrategy- Parameters:
request- theBatchRequestobjecturiInfo- theUriInfoobject- Returns:
- response the
BatchResponseobject
-