public class PageRenderLinkSourceImpl extends java.lang.Object implements PageRenderLinkSource
| Constructor and Description |
|---|
PageRenderLinkSourceImpl(LinkSource linkSource,
ComponentClassResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
Link |
createPageRenderLink(java.lang.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(java.lang.String pageName)
Creates a page render link using the page's normal passivation context (if it has one).
|
Link |
createPageRenderLinkWithContext(java.lang.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(java.lang.Class pageClass,
java.lang.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(java.lang.String pageName,
EventContext eventContext)
Creates a page render link using an override of the page's passivation context.
|
Link |
createPageRenderLinkWithContext(java.lang.String pageName,
java.lang.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(java.lang.Class pageClass)
PageRenderLinkSourcecreatePageRenderLink in interface PageRenderLinkSourcepublic Link createPageRenderLink(java.lang.String pageName)
PageRenderLinkSourcecreatePageRenderLink in interface PageRenderLinkSourcepageName - name of page to create link topublic Link createPageRenderLinkWithContext(java.lang.Class pageClass, java.lang.Object... context)
PageRenderLinkSourcecreatePageRenderLinkWithContext in interface PageRenderLinkSourcecontext - zero or more values to encode as the passiviation contextpublic Link createPageRenderLinkWithContext(java.lang.Class pageClass, EventContext eventContext)
PageRenderLinkSourcecreatePageRenderLinkWithContext in interface PageRenderLinkSourceeventContext - the EventContext to encode as the passiviation contextpublic Link createPageRenderLinkWithContext(java.lang.String pageName, java.lang.Object... context)
PageRenderLinkSourcecreatePageRenderLinkWithContext in interface PageRenderLinkSourcepageName - name of page to create link tocontext - zero or more values to encode as the passiviation contextpublic Link createPageRenderLinkWithContext(java.lang.String pageName, EventContext eventContext)
PageRenderLinkSourcecreatePageRenderLinkWithContext in interface PageRenderLinkSourcepageName - name of page to create link toeventContext - the EventContext to encode as the passiviation context${project.version} - Copyright © 2003-2015 The Apache Software Foundation.