public class PageRenderLinkSourceImpl extends Object implements PageRenderLinkSource
Constructor and Description |
---|
PageRenderLinkSourceImpl(LinkSource linkSource,
ComponentClassResolver resolver) |
Modifier and Type | Method and Description |
---|---|
Link |
createPageRenderLink(Class pageClass)
Creates a page render link using the page's class to identify the target page, and using the pages normal
passivation context (if it has one).
|
Link |
createPageRenderLink(String pageName)
Creates a page render link using the page's normal passivation context (if it has one).
|
Link |
createPageRenderLinkWithContext(Class pageClass,
EventContext eventContext)
Creates a page render link using the page's class to identify the target page, and using an override of the
page's passivation context
|
Link |
createPageRenderLinkWithContext(Class pageClass,
Object... context)
Creates a page render link using the page's class to identify the target page, and using an override of the
page's passivation context (possibly an empty one).
|
Link |
createPageRenderLinkWithContext(String pageName,
EventContext eventContext)
Creates a page render link using an override of the page's passivation context.
|
Link |
createPageRenderLinkWithContext(String pageName,
Object... context)
Creates a page render link using an override of the page's passivation context (possibly an empty one).
|
public PageRenderLinkSourceImpl(LinkSource linkSource, ComponentClassResolver resolver)
public Link createPageRenderLink(Class pageClass)
PageRenderLinkSource
createPageRenderLink
in interface PageRenderLinkSource
public Link createPageRenderLink(String pageName)
PageRenderLinkSource
createPageRenderLink
in interface PageRenderLinkSource
pageName
- name of page to create link topublic Link createPageRenderLinkWithContext(Class pageClass, Object... context)
PageRenderLinkSource
createPageRenderLinkWithContext
in interface PageRenderLinkSource
context
- zero or more values to encode as the passiviation contextpublic Link createPageRenderLinkWithContext(Class pageClass, EventContext eventContext)
PageRenderLinkSource
createPageRenderLinkWithContext
in interface PageRenderLinkSource
eventContext
- the EventContext to encode as the passiviation contextpublic Link createPageRenderLinkWithContext(String pageName, Object... context)
PageRenderLinkSource
createPageRenderLinkWithContext
in interface PageRenderLinkSource
pageName
- name of page to create link tocontext
- zero or more values to encode as the passiviation contextpublic Link createPageRenderLinkWithContext(String pageName, EventContext eventContext)
PageRenderLinkSource
createPageRenderLinkWithContext
in interface PageRenderLinkSource
pageName
- name of page to create link toeventContext
- the EventContext to encode as the passiviation context5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.