Uses of Class
com.aoapps.web.framework.WebPage
-
Uses of WebPage in com.aoapps.web.framework
Subclasses of WebPage in com.aoapps.web.frameworkModifier and TypeClassDescriptionclassAutomatically generates a list of all pages.classAutomatically builds a site map of the entire site.classAutomatically generates the description along with a list of all pages.classGenerates a list of all URLs in the site.classPulls information from a file to be used as the content.classPulls the content from a file with the same name and location as the.classand.javabut with a.htmlextension.classReads everything from an input stream and puts it into a page.classPulls the page contents from a file while wrapping it with a PRE block.classTakes the output of a native process and puts it in a PRE block.classPulls information from a native process to be used as the content.classRedirects to the configured URL.classA tree page creates a user interactive hierarchical representation of the site tree structure.Fields in com.aoapps.web.framework declared as WebPageModifier and TypeFieldDescriptionprotected static final WebPage[]WebPage.emptyWebPageArrayAn empty array ofWebPageobjects to be used in returning no web pages.protected final WebPageWebSiteRequest.sourcePageMethods in com.aoapps.web.framework that return WebPageModifier and TypeMethodDescriptionWebPage[]WebPage.getCachedChildren(WebSiteRequest req, HttpServletResponse resp) Gets all of the pages that are children of this one in the page hierarchy.protected WebPage[]WebPage.getChildren(WebSiteRequest req, HttpServletResponse resp) Gets all of the children pages of this one in the page hierarchy.WebPage[]TextOnlyLayout.getCommonPages(WebPage page, WebSiteRequest req) final WebPageWebPage.getNextPage(WebSiteRequest req, HttpServletResponse resp) Gets theWebPagethat follows this one in the parents list of pages.RedirectWebPage.getParent()abstract WebPageWebPage.getParent()Gets the parent of this page ornullfor none.final WebPageWebPage.getPreviousPage(WebSiteRequest req, HttpServletResponse resp) Gets theWebPagethat proceeds this one in the parents list of pages.final WebPageWebPage.getRootPage()Gets the root page in the web page hierarchy.WebPage.getWebPage(Class<? extends WebPage> clazz) Gets a web page given no parameters.WebPage.getWebPage(Class<? extends WebPage> clazz, URIParameters params) Gets a web page with parameters.WebPage.getWebPage(Class<? extends WebPage> clazz, WebSiteRequest req) Gets a web page given no parameters.static WebPageWebPage.getWebPage(ServletContext context, Class<? extends WebPage> clazz) Gets an instance ofWebPagegiven theClass.static WebPageWebPage.getWebPage(ServletContext context, Class<? extends WebPage> clazz, URIParameters params) Gets an instance ofWebPagegiven theClass.static WebPageWebPage.getWebPage(ServletContext context, Class<? extends WebPage> clazz, WebSiteRequest req) Gets an instance ofWebPagegiven theClass.Methods in com.aoapps.web.framework that return types with arguments of type WebPageModifier and TypeMethodDescriptionDynamically loads new classes based on the source .class file's modified time.Methods in com.aoapps.web.framework with parameters of type WebPageModifier and TypeMethodDescriptionvoidTextOnlyLayout.configureResources(ServletContext servletContext, WebSiteRequest req, HttpServletResponse resp, WebPage page, Registry requestRegistry) voidWebPageLayout.configureResources(ServletContext servletContext, WebSiteRequest req, HttpServletResponse resp, WebPage page, Registry requestRegistry) Configures the request-scope web resources that this layout uses.final <PC extends FlowContent<PC>,__ extends ContentEE<__>, Ex extends Throwable>
voidWebPageLayout.content(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc, int[] startContentColumnSpans, String width, int[] endContentColumnSpans, ServletConsumerE<? super __, Ex> content) Starts a content area, invokes the given area body, then ends the content area.final <PC extends FlowContent<PC>,__ extends ContentEE<__>, Ex extends Throwable>
voidWebPageLayout.content(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc, int[] startContentColumnSpans, String width, int[] endContentColumnSpans, ServletRunnableE<Ex> content) Starts a content area, invokes the given area body, then ends the content area.final <PC extends FlowContent<PC>,__ extends ContentEE<__>, Ex extends Throwable>
voidWebPageLayout.content(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc, int startContentColumns, String width, int endContentColumns, ServletConsumerE<? super __, Ex> content) Starts a content area, invokes the given area body, then ends the content area.final <PC extends FlowContent<PC>,__ extends ContentEE<__>, Ex extends Throwable>
voidWebPageLayout.content(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc, int startContentColumns, String width, int endContentColumns, ServletRunnableE<Ex> content) Starts a content area, invokes the given area body, then ends the content area.final <PC extends FlowContent<PC>,__ extends ContentEE<__>, Ex extends Throwable>
voidWebPageLayout.content(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc, ServletConsumerE<? super __, Ex> content) Starts a content area, invokes the given area body, then ends the content area.final <PC extends FlowContent<PC>,__ extends ContentEE<__>, Ex extends Throwable>
voidWebPageLayout.content(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc, ServletRunnableE<Ex> content) Starts a content area, invokes the given area body, then ends the content area.final voidWebPageLayout.contentTitle(WebSiteRequest req, HttpServletResponse resp, WebPage page, ContentEE<?> content) Prints an entire content line including the provided title.final voidWebPageLayout.contentTitle(WebSiteRequest req, HttpServletResponse resp, WebPage page, ContentEE<?> content, int contentColumns) Prints an entire content line including the provided title.final <__ extends FlowContent<__>,Ex extends Throwable>
voidWebPageLayout.doPage(WebSiteRequest req, HttpServletResponse resp, WebPage page, DocumentEE document, String onload, ServletConsumerE<? super __, Ex> body) Starts the page, invokes the given page body, then ends the page.final <Ex extends Throwable>
voidWebPageLayout.doPage(WebSiteRequest req, HttpServletResponse resp, WebPage page, DocumentEE document, String onload, ServletRunnableE<Ex> body) Starts the page, invokes the given page body, then ends the page.voidSearchLayout.endContent(WebSiteRequest req, HttpServletResponse resp, WebPage page, ContentEE<?> content, int[] contentColumnSpans) voidTextOnlyLayout.endContent(WebSiteRequest req, HttpServletResponse resp, WebPage page, ContentEE<?> content, int[] contentColumnSpans) final voidWebPageLayout.endContent(WebSiteRequest req, HttpServletResponse resp, WebPage page, ContentEE<?> content) Ends the content area of a page.final voidWebPageLayout.endContent(WebSiteRequest req, HttpServletResponse resp, WebPage page, ContentEE<?> content, int contentColumns) Ends the content area of a page.abstract voidWebPageLayout.endContent(WebSiteRequest req, HttpServletResponse resp, WebPage page, ContentEE<?> content, int[] contentColumnSpans) Ends the content area of a page.protected voidTextOnlyLayout.endContentCopyright(WebSiteRequest req, HttpServletResponse resp, WebPage page, TABLE_c<DocumentEE> table, int totalColumns) voidSearchLayout.endPage(WebSiteRequest req, HttpServletResponse resp, WebPage page, FlowContent<?> flow) voidTextOnlyLayout.endPage(WebSiteRequest req, HttpServletResponse resp, WebPage page, FlowContent<?> flow) abstract voidWebPageLayout.endPage(WebSiteRequest req, HttpServletResponse resp, WebPage page, FlowContent<?> flow) Writes all of the HTML following the content of the page.booleanDetermines if this page equals another page.WebPage.generateUrlPath(WebPage page) Generates a URL path for this or another page, please call getUrlPath() instead.WebPage[]TextOnlyLayout.getCommonPages(WebPage page, WebSiteRequest req) WebPage.getCopyright(WebSiteRequest req, HttpServletResponse resp, WebPage requestPage) Gets the copyright information for this page.WebSiteRequest.getEncodedUrl(WebPage page, URIParameters params, HttpServletResponse resp) WebSiteRequest.getEncodedUrl(WebPage page, HttpServletResponse resp) Gets the context-relative URL to a web page.WebSiteRequest.getUrl(WebPage page, URIParameters params) Gets the context-relative URL to a web page.protected abstract booleanDetermines if a page should be visible in the generated maps.protected <__ extends ScriptSupportingContent<__>>
voidSearchLayout.printJavascriptIncludes(WebSiteRequest req, HttpServletResponse resp, WebPage page, __ content) protected <__ extends ScriptSupportingContent<__>>
voidWebPageLayout.printJavascriptIncludes(WebSiteRequest req, HttpServletResponse resp, WebPage page, __ content) voidWebPage.printLoginForm(WebPage page, LoginException loginException, WebSiteRequest req, HttpServletResponse resp) Prints the form that is used to login.<__ extends FlowContent<__>>
voidTextOnlyLayout.printLogo(WebSiteRequest req, HttpServletResponse resp, WebPage page, __ td) static voidAutoListPage.printPageList(Union_TBODY_THEAD_TFOOT<?> tbody, WebSiteRequest req, HttpServletResponse resp, WebPage[] pages, WebPageLayout layout) Prints a list of pages.static voidAutoListPage.printPageList(Union_TBODY_THEAD_TFOOT<?> tbody, WebSiteRequest req, HttpServletResponse resp, WebPage parent, WebPageLayout layout) Prints an unordered list of the available pages.final <__ extends FlowContent<__>>
voidSearchLayout.printSearchOutput(WebSiteRequest req, HttpServletResponse resp, WebPage page, __ flow, String query, boolean isEntireSite, List<SearchResult> results, String[] words) <__ extends FlowContent<__>>
voidWebPageLayout.printSearchOutput(WebSiteRequest req, HttpServletResponse resp, WebPage page, __ flow, String query, boolean isEntireSite, List<SearchResult> results, String[] words) Prints the content HTML that shows the output of a search.voidWebPage.printUnauthorizedPage(WebPage page, WebSiteRequest req, HttpServletResponse resp) Prints the unauthorized page message.final <__ extends FlowContent<__>>
booleanSearchLayout.printWebPageLayoutSelector(WebSiteRequest req, HttpServletResponse resp, WebPage page, __ flow) <__ extends FlowContent<__>>
booleanWebPageLayout.printWebPageLayoutSelector(WebSiteRequest req, HttpServletResponse resp, WebPage page, __ flow) Prints the layout selector.<PC extends FlowContent<PC>,__ extends ContentEE<__>>
__SearchLayout.startContent(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc, int[] contentColumnSpans, String width) <PC extends FlowContent<PC>,__ extends ContentEE<__>>
__TextOnlyLayout.startContent(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc, int[] contentColumnSpans, String width) final <PC extends FlowContent<PC>,__ extends ContentEE<__>>
__WebPageLayout.startContent(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc) Starts the content area of a page.abstract <PC extends FlowContent<PC>,__ extends ContentEE<__>>
__WebPageLayout.startContent(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc, int[] contentColumnSpans, String width) Starts the content area of a page.final <PC extends FlowContent<PC>,__ extends ContentEE<__>>
__WebPageLayout.startContent(WebSiteRequest req, HttpServletResponse resp, WebPage page, PC pc, int contentColumns, String width) Starts the content area of a page.<__ extends FlowContent<__>>
__SearchLayout.startPage(WebSiteRequest req, HttpServletResponse resp, WebPage page, DocumentEE document, String onload) <__ extends FlowContent<__>>
__TextOnlyLayout.startPage(WebSiteRequest req, HttpServletResponse resp, WebPage page, DocumentEE document, String onload) abstract <__ extends FlowContent<__>>
__WebPageLayout.startPage(WebSiteRequest req, HttpServletResponse resp, WebPage page, DocumentEE document, String onload) Writes all of the HTML preceding the content of the page.Method parameters in com.aoapps.web.framework with type arguments of type WebPageModifier and TypeMethodDescriptionWebSiteRequest.getEncodedUrl(Class<? extends WebPage> clazz, URIParameters params, HttpServletResponse resp) WebSiteRequest.getEncodedUrl(Class<? extends WebPage> clazz, HttpServletResponse resp) WebSiteRequest.getUrl(Class<? extends WebPage> clazz, URIParameters params) Gets the context-relative URL to a web page.WebPage.getWebPage(Class<? extends WebPage> clazz) Gets a web page given no parameters.WebPage.getWebPage(Class<? extends WebPage> clazz, URIParameters params) Gets a web page with parameters.WebPage.getWebPage(Class<? extends WebPage> clazz, WebSiteRequest req) Gets a web page given no parameters.static WebPageWebPage.getWebPage(ServletContext context, Class<? extends WebPage> clazz) Gets an instance ofWebPagegiven theClass.static WebPageWebPage.getWebPage(ServletContext context, Class<? extends WebPage> clazz, URIParameters params) Gets an instance ofWebPagegiven theClass.static WebPageWebPage.getWebPage(ServletContext context, Class<? extends WebPage> clazz, WebSiteRequest req) Gets an instance ofWebPagegiven theClass.voidDumpURLs.search(String[] words, WebSiteRequest req, HttpServletResponse response, List<SearchResult> results, CharArrayWriter buffer, Set<WebPage> finishedPages) Do not include this in the search results.voidWebPage.search(String[] words, WebSiteRequest req, HttpServletResponse response, List<SearchResult> results, CharArrayWriter buffer, Set<WebPage> finishedPages) Searches this WebPage and all of its subordinate pages, returning the matches in aArrayListwith five elements per match.final voidWebPage.standardSearch(String[] words, WebSiteRequest req, HttpServletResponse resp, List<SearchResult> results, CharArrayWriter buffer, Set<WebPage> finishedPages) The standard implementation of the search functionality.Constructors in com.aoapps.web.framework with parameters of type WebPageModifierConstructorDescriptionRedirectWebPage(ServletContext context, WebPage parent, String path, int redirectType, String description, String keywords, String navImageAlt, String title) Performs a redirect.WebSiteRequest(WebPage sourcePage, HttpServletRequest req) Creates a new website request wrapper.
