Search in sources :

Example 6 with CollectionDTO

use of gov.ca.cwds.cals.service.dto.rfa.collection.CollectionDTO in project cals-api by ca-cwds.

the class FormAHelper method getRFA1aForms.

public CollectionDTO<RFA1aFormDTO> getRFA1aForms() {
    WebTarget target = clientTestRule.target(API.RFA_1A_FORMS);
    Invocation.Builder invocation = target.request(MediaType.APPLICATION_JSON);
    return invocation.get(new GenericType<CollectionDTO<RFA1aFormDTO>>() {
    });
}
Also used : Invocation(javax.ws.rs.client.Invocation) CollectionDTO(gov.ca.cwds.cals.service.dto.rfa.collection.CollectionDTO) WebTarget(javax.ws.rs.client.WebTarget)

Aggregations

CollectionDTO (gov.ca.cwds.cals.service.dto.rfa.collection.CollectionDTO)6 GenericType (javax.ws.rs.core.GenericType)5 ApplicantDTO (gov.ca.cwds.cals.service.dto.rfa.ApplicantDTO)4 RFA1aFormDTO (gov.ca.cwds.cals.service.dto.rfa.RFA1aFormDTO)4 WebTarget (javax.ws.rs.client.WebTarget)4 TestExternalEntityConfiguration (gov.ca.cwds.cals.web.rest.rfa.configuration.TestExternalEntityConfiguration)3 Response (javax.ws.rs.core.Response)2 API (gov.ca.cwds.cals.Constants.API)1 CountyType (gov.ca.cwds.cals.persistence.model.calsns.dictionaries.CountyType)1 AdoptionHistoryDTO (gov.ca.cwds.cals.service.dto.rfa.AdoptionHistoryDTO)1 ApplicantsDeclarationDTO (gov.ca.cwds.cals.service.dto.rfa.ApplicantsDeclarationDTO)1 ApplicantsHistoryDTO (gov.ca.cwds.cals.service.dto.rfa.ApplicantsHistoryDTO)1 ApplicantsRelationshipDTO (gov.ca.cwds.cals.service.dto.rfa.ApplicantsRelationshipDTO)1 ChildDesiredDTO (gov.ca.cwds.cals.service.dto.rfa.ChildDesiredDTO)1 MinorChildDTO (gov.ca.cwds.cals.service.dto.rfa.MinorChildDTO)1 OtherAdultDTO (gov.ca.cwds.cals.service.dto.rfa.OtherAdultDTO)1 RFA1bFormDTO (gov.ca.cwds.cals.service.dto.rfa.RFA1bFormDTO)1 RFA1cFormDTO (gov.ca.cwds.cals.service.dto.rfa.RFA1cFormDTO)1 ReferencesDTO (gov.ca.cwds.cals.service.dto.rfa.ReferencesDTO)1 ResidenceDTO (gov.ca.cwds.cals.service.dto.rfa.ResidenceDTO)1