Search in sources :

Example 1 with PagesStatusResponse

use of org.entando.entando.apsadmin.portal.rs.model.PagesStatusResponse in project entando-core by entando.

the class PageFinderAction method getPagesStatusResponse.

public PagesStatusResponse getPagesStatusResponse() {
    PagesStatusResponse response = null;
    try {
        PagesStatus pagesStatus = this.getPageManager().getPagesStatus();
        response = new PagesStatusResponse(pagesStatus);
    } catch (Throwable t) {
        _logger.error("Error loading pagesStatus", t);
        throw new RuntimeException("Error loading pagesStatus", t);
    }
    return response;
}
Also used : PagesStatusResponse(org.entando.entando.apsadmin.portal.rs.model.PagesStatusResponse) PagesStatus(com.agiletec.aps.system.services.page.PagesStatus)

Aggregations

PagesStatus (com.agiletec.aps.system.services.page.PagesStatus)1 PagesStatusResponse (org.entando.entando.apsadmin.portal.rs.model.PagesStatusResponse)1