Package org.apache.fineract.cob.api
Class InternalLoanAccountLockApiResource
java.lang.Object
org.apache.fineract.cob.api.InternalLoanAccountLockApiResource
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Profile("test")
@Component
@Path("/v1/internal/loans")
public class InternalLoanAccountLockApiResource
extends Object
implements org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidjakarta.ws.rs.core.ResponseplaceLockOnLoanAccount(jakarta.ws.rs.core.UriInfo uriInfo, Long loanId, String lockOwner, String error)
-
Constructor Details
-
InternalLoanAccountLockApiResource
public InternalLoanAccountLockApiResource()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
placeLockOnLoanAccount
@POST @Path("{loanId}/place-lock/{lockOwner}") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response placeLockOnLoanAccount(@Context jakarta.ws.rs.core.UriInfo uriInfo, @PathParam("loanId") Long loanId, @PathParam("lockOwner") String lockOwner, @RequestBody(required=false) String error)
-