@Override protected PageableResult doGetAll(RequestContext context) { return new NeedsPaging<LabSpecimenTemplate>( Context.getService(LabCatalogService.class) .getLabSpecimenTemplate("", context.getIncludeAll(), null, null), context); }
/** * @see * org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource#doGetAll(org.openmrs.module.webservices.rest.web.RequestContext) */ @Override protected NeedsPaging<PersonAttributeType> doGetAll(RequestContext context) throws ResponseException { return new NeedsPaging<PersonAttributeType>( service().getAllPersonAttributeTypes(context.getIncludeAll()), context); }