use of gov.ca.cwds.testapp.domain.CaseDTO in project perry by ca-cwds.
the class TestServiceImpl method testReturnProtectedInstance.
@Override
@Authorize("case:read:caseDTO.caseObject.id")
public CaseDTO testReturnProtectedInstance() {
Case caseObject = new Case(2L, "");
CaseDTO caseDTO = new CaseDTO();
caseDTO.setCaseObject(caseObject);
return caseDTO;
}
use of gov.ca.cwds.testapp.domain.CaseDTO in project perry by ca-cwds.
the class TestServiceImpl method testReturnInstance.
@Override
@Authorize("case:read:caseDTO.caseObject")
public CaseDTO testReturnInstance() {
Case caseObject = new Case(1L, "");
CaseDTO caseDTO = new CaseDTO();
caseDTO.setCaseObject(caseObject);
return caseDTO;
}