Package org.apache.rave.rest.model

Examples of org.apache.rave.rest.model.PageLayout


        List<org.apache.rave.model.PageLayout> fromDb = pageLayoutService.getAll();
        List<PageLayout> pageLayouts = new ArrayList<PageLayout>();

        for (org.apache.rave.model.PageLayout pageLayout : fromDb) {
            pageLayouts.add(new PageLayout(pageLayout));
        }

        return new SearchResult<PageLayout>(pageLayouts, fromDb.size());
    }
View Full Code Here


        if(fromDb == null) {
            throw new ResourceNotFoundException(code);
        }

        return new PageLayout(fromDb);
    }
View Full Code Here

TOP

Related Classes of org.apache.rave.rest.model.PageLayout

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.