public class PageAndComponentProvider extends PageProvider implements IPageAndComponentProvider
PageProvider
that is also capable of providing a Component belonging to the
page.PageProvider
,
Serialized FormConstructor and Description |
---|
PageAndComponentProvider(Class<? extends IRequestablePage> pageClass,
PageParameters pageParameters,
String componentPath) |
PageAndComponentProvider(Class<? extends IRequestablePage> pageClass,
String componentPath) |
PageAndComponentProvider(int pageId,
Class<? extends IRequestablePage> pageClass,
Integer renderCount,
String componentPath) |
PageAndComponentProvider(Integer pageId,
Class<? extends IRequestablePage> pageClass,
PageParameters pageParameters,
Integer renderCount,
String componentPath) |
PageAndComponentProvider(int pageId,
Integer renderCount,
String componentPath) |
PageAndComponentProvider(IRequestablePage page,
IRequestableComponent component) |
PageAndComponentProvider(IRequestablePage page,
IRequestableComponent component,
PageParameters parameters) |
PageAndComponentProvider(IRequestablePage page,
String componentPath) |
Modifier and Type | Method and Description |
---|---|
IRequestableComponent |
getComponent()
Returns component on specified page with given path.
|
String |
getComponentPath()
Returns the page relative component path.
|
detach, doesProvideNewPage, getPageClass, getPageId, getPageInstance, getPageParameters, getPageSource, getRenderCount, hasPageInstance, isNewPageInstance, setPageParameters, setPageSource, toString, wasExpired
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
detach, doesProvideNewPage, getPageClass, getPageId, getPageInstance, getPageParameters, getRenderCount, hasPageInstance, isNewPageInstance, wasExpired
public PageAndComponentProvider(IRequestablePage page, String componentPath)
page
- componentPath
- PageProvider.PageProvider(IRequestablePage)
public PageAndComponentProvider(IRequestablePage page, IRequestableComponent component)
page
- component
- PageProvider.PageProvider(IRequestablePage)
public PageAndComponentProvider(Class<? extends IRequestablePage> pageClass, PageParameters pageParameters, String componentPath)
pageClass
- pageParameters
- componentPath
- PageProvider.PageProvider(Class, PageParameters)
public PageAndComponentProvider(Class<? extends IRequestablePage> pageClass, String componentPath)
pageClass
- componentPath
- PageProvider.PageProvider(Class)
public PageAndComponentProvider(int pageId, Class<? extends IRequestablePage> pageClass, Integer renderCount, String componentPath)
pageId
- pageClass
- renderCount
- componentPath
- PageProvider.PageProvider(Integer, Class, Integer)
public PageAndComponentProvider(Integer pageId, Class<? extends IRequestablePage> pageClass, PageParameters pageParameters, Integer renderCount, String componentPath)
pageId
- pageClass
- pageParameters
- renderCount
- componentPath
- PageProvider#PageProvider(int, Class, PageParameters, Integer)
public PageAndComponentProvider(int pageId, Integer renderCount, String componentPath)
pageId
- renderCount
- componentPath
- PageProvider.PageProvider(Integer, Integer)
public PageAndComponentProvider(IRequestablePage page, IRequestableComponent component, PageParameters parameters)
public IRequestableComponent getComponent()
IPageAndComponentProvider
getComponent
in interface IPageAndComponentProvider
public String getComponentPath()
IPageAndComponentProvider
getComponentPath
in interface IPageAndComponentProvider
IPageAndComponentProvider.getComponentPath()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.