Class StaffApiResource
java.lang.Object
org.apache.fineract.organisation.staff.api.StaffApiResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.infrastructure.core.data.CommandProcessingResultcreate(StaffRequest staffRequest) jakarta.ws.rs.core.ResponsegetTemplate(Long officeId, String dateFormat) postTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat) List<org.apache.fineract.organisation.staff.data.StaffData> retrieveAll(Long officeId, boolean staffInOfficeHierarchy, boolean loanOfficersOnly, String status) org.apache.fineract.organisation.staff.data.StaffDataretrieveOne(Long staffId, jakarta.ws.rs.core.UriInfo uriInfo) org.apache.fineract.infrastructure.core.data.CommandProcessingResultupdate(Long staffId, StaffRequest staffRequest)
-
Constructor Details
-
StaffApiResource
public StaffApiResource()
-
-
Method Details
-
retrieveAll
@GET @Consumes("application/json") @Produces("application/json") public List<org.apache.fineract.organisation.staff.data.StaffData> retrieveAll(@QueryParam("officeId") Long officeId, @DefaultValue("false") @QueryParam("staffInOfficeHierarchy") boolean staffInOfficeHierarchy, @DefaultValue("false") @QueryParam("loanOfficersOnly") boolean loanOfficersOnly, @DefaultValue("active") @QueryParam("status") String status) -
create
@POST @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult create(StaffRequest staffRequest) -
retrieveOne
@GET @Path("{staffId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.organisation.staff.data.StaffData retrieveOne(@PathParam("staffId") Long staffId, @Context jakarta.ws.rs.core.UriInfo uriInfo) -
update
@PUT @Path("{staffId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult update(@PathParam("staffId") Long staffId, StaffRequest staffRequest) -
getTemplate
-
postTemplate
@POST @Path("uploadtemplate") @Consumes("multipart/form-data") public Long postTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat)
-