
com.sdl.dxa.modelservice.service.PageModelService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dxa-common Show documentation
Show all versions of dxa-common Show documentation
DXA Common project contains framework common classes shared between all other artifacts
package com.sdl.dxa.modelservice.service;
import com.sdl.dxa.api.datamodel.model.PageModelData;
import com.sdl.dxa.common.dto.PageRequestDto;
import com.sdl.webapp.common.api.content.ContentProviderException;
import org.jetbrains.annotations.NotNull;
@FunctionalInterface
public interface PageModelService {
/**
* Loads a page from CD and converts it to the {@link PageModelData} doing all the model processing.
*/
@NotNull
PageModelData loadPageModel(PageRequestDto pageRequest) throws ContentProviderException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy