Class SearchablePageCompiler
java.lang.Object
net.n2oapp.framework.config.metadata.compile.ComponentCompiler<C,S,PageContext>
net.n2oapp.framework.config.metadata.compile.page.PageCompiler<S,D>
net.n2oapp.framework.config.metadata.compile.page.BasePageCompiler<N2oSearchablePage,SearchablePage>
net.n2oapp.framework.config.metadata.compile.page.SearchablePageCompiler
- All Implemented Interfaces:
SourceClassAware,SourceCompiler<SearchablePage,,N2oSearchablePage, PageContext> BaseSourceCompiler<SearchablePage,N2oSearchablePage, PageContext>
@Component
public class SearchablePageCompiler
extends BasePageCompiler<N2oSearchablePage,SearchablePage>
Компиляция страницы с регионами и поисковой строкой
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile(N2oSearchablePage source, PageContext context, CompileProcessor p) protected SearchablePage.SearchBarcompileSearchBar(N2oSearchablePage source, SearchablePage page, CompileProcessor p) protected StringСвойство содержащее React компонент по умолчаниюinitRegions(N2oSearchablePage source, SearchablePage page, CompileProcessor p, PageContext context, Object... scopes) Methods inherited from class net.n2oapp.framework.config.metadata.compile.page.BasePageCompiler
collectWidgets, compilePage, initRegionsMethods inherited from class net.n2oapp.framework.config.metadata.compile.page.PageCompiler
cloneToolbar, compileBaseProperties, initBreadcrumb, initBreadcrumbByContext, initContextDatasources, initPageName, initPageRoute, registerRoutesMethods inherited from class net.n2oapp.framework.config.metadata.compile.ComponentCompiler
compileComponent
-
Constructor Details
-
SearchablePageCompiler
public SearchablePageCompiler()
-
-
Method Details
-
compile
-
initRegions
protected Map<String,List<Region>> initRegions(N2oSearchablePage source, SearchablePage page, CompileProcessor p, PageContext context, Object... scopes) - Specified by:
initRegionsin classBasePageCompiler<N2oSearchablePage,SearchablePage>
-
compileSearchBar
protected SearchablePage.SearchBar compileSearchBar(N2oSearchablePage source, SearchablePage page, CompileProcessor p) -
getSrcProperty
Description copied from class:ComponentCompilerСвойство содержащее React компонент по умолчанию- Overrides:
getSrcPropertyin classComponentCompiler<SearchablePage,N2oSearchablePage, PageContext>
-
getSourceClass
-