Class NotesApiResource
java.lang.Object
org.apache.fineract.portfolio.note.api.NotesApiResource
@Path("/v1/{resourceType}/{resourceId}/notes")
@Component
public class NotesApiResource
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.infrastructure.core.data.CommandProcessingResultaddNewNote(String resourceType, Long resourceId, NoteRequest noteRequest) org.apache.fineract.infrastructure.core.data.CommandProcessingResultdeleteNote(String resourceType, Long resourceId, Long noteId) org.apache.fineract.portfolio.note.data.NoteDataretrieveNote(String resourceType, Long resourceId, Long noteId) List<org.apache.fineract.portfolio.note.data.NoteData> retrieveNotesByResource(String resourceType, Long resourceId) org.apache.fineract.infrastructure.core.data.CommandProcessingResultupdateNote(String resourceType, Long resourceId, Long noteId, NoteRequest noteRequest)
-
Field Details
-
CLIENTNOTE
- See Also:
-
LOANNOTE
- See Also:
-
LOANTRANSACTIONNOTE
- See Also:
-
SAVINGNOTE
- See Also:
-
GROUPNOTE
- See Also:
-
INVALIDNOTE
- See Also:
-
-
Constructor Details
-
NotesApiResource
public NotesApiResource()
-
-
Method Details
-
retrieveNotesByResource
-
retrieveNote
-
addNewNote
@POST @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult addNewNote(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, NoteRequest noteRequest) -
updateNote
@PUT @Path("{noteId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateNote(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, @PathParam("noteId") Long noteId, NoteRequest noteRequest) -
deleteNote
-