use of org.entando.entando.aps.system.services.page.model.PagesStatusDto in project entando-core by entando.
the class DashboardController method getPagesStatus.
@RestAccessControl(permission = Permission.ENTER_BACKEND)
@RequestMapping(value = "/pageStatus", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<SimpleRestResponse<PagesStatusDto>> getPagesStatus() {
logger.debug("getting pages status count");
PagesStatusDto result = this.getPageService().getPagesStatus();
return new ResponseEntity<>(new SimpleRestResponse<>(result), HttpStatus.OK);
}
Aggregations