| java.lang.Object org.apache.roller.ui.rendering.model.ModelLoader
ModelLoader | public class ModelLoader (Code) | | Helps with model loading process.
|
Method Summary | |
public static void | loadCustomModels(WebsiteData weblog, Map model, Map initData) Load set of custom models set for the given weblog. | public static void | loadModels(String modelsString, Map model, Map initData, boolean fail) Convenience method to load a comma-separated list of page models. | public static void | loadOldModels(Map model, HttpServletRequest request, HttpServletResponse response, PageContext pageContext, WeblogPageRequest pageRequest) Load old page models, but only if they are enabled. |
loadCustomModels | public static void loadCustomModels(WebsiteData weblog, Map model, Map initData)(Code) | | Load set of custom models set for the given weblog.
Does not fail if there is a problem with one of the models.
|
loadModels | public static void loadModels(String modelsString, Map model, Map initData, boolean fail) throws RollerException(Code) | | Convenience method to load a comma-separated list of page models.
Optionally fails if any exceptions are thrown when initializing
the Model instances.
|
|
|