Class FirmAttorneyAndServiceService

java.lang.Object
edu.suffolk.litlab.efspserver.services.FirmAttorneyAndServiceService

@Produces("application/json") public class FirmAttorneyAndServiceService extends Object
Service that handles the Firm, Attorney, and Service Endpoints.
Author:
litlab
  • Constructor Details

  • Method Details

    • getAll

      @GET @Path("/") public jakarta.ws.rs.core.Response getAll()
    • getSelfFirm

      @GET @Path("/firm") public jakarta.ws.rs.core.Response getSelfFirm(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders)
    • updateFirm

      @PATCH @Path("/firm") public jakarta.ws.rs.core.Response updateFirm(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, String json)
    • getAttorneyList

      @GET @Path("/attorneys") public jakarta.ws.rs.core.Response getAttorneyList(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders)
    • getAttorney

      @GET @Path("/attorneys/{attorney_id}") public jakarta.ws.rs.core.Response getAttorney(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @PathParam("attorney_id") String attorneyId)
    • createAttorney

      @POST @Path("/attorneys") public jakarta.ws.rs.core.Response createAttorney(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, AttorneyType attorney)
    • updateAttorney

      @PATCH @Path("/attorneys/{attorney_id}") public jakarta.ws.rs.core.Response updateAttorney(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @PathParam("attorney_id") String attorneyId, String json)
    • removeAttorney

      @DELETE @Path("/attorneys/{attorney_id}") public jakarta.ws.rs.core.Response removeAttorney(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @PathParam("attorney_id") String attorneyId)
    • getServiceContactList

      @GET @Path("/service-contacts") public jakarta.ws.rs.core.Response getServiceContactList(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders)
    • getServiceContact

      @GET @Path("/service-contacts/{contact_id}") public jakarta.ws.rs.core.Response getServiceContact(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @PathParam("contact_id") String contactId)
    • removeServiceContact

      @DELETE @Path("/service-contacts/{contact_id}") public jakarta.ws.rs.core.Response removeServiceContact(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @PathParam("contact_id") String contactId)
    • createServiceContact

      @POST @Path("/service-contacts") public jakarta.ws.rs.core.Response createServiceContact(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, String strInput)
    • attachServiceContact

      @PUT @Path("/service-contacts/{contact_id}/cases") public jakarta.ws.rs.core.Response attachServiceContact(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @PathParam("contact_id") String contactId, String json)
      Parameters:
      json - should be a JSON object with a "caseId" and "casePartyId" keys, both with string values
    • detachServiceContact

      @DELETE @Path("/service-contacts/{contact_id}/cases/{case_id}") public jakarta.ws.rs.core.Response detachServiceContact(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @PathParam("contact_id") String contactId, @PathParam("case_id") String caseId, @QueryParam("case_party_id") String casePartyId)
    • updateServiceContact

      @PATCH @Path("/service-contacts/{contact_id}") public jakarta.ws.rs.core.Response updateServiceContact(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @PathParam("contact_id") String contactId, String json)
    • getPublicList

      @GET @Path("/service-contacts/public") public jakarta.ws.rs.core.Response getPublicList(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, String json)