com.pmease.quickbuild.web.page
Class BasePage

java.lang.Object
  extended by org.apache.wicket.Component
      extended by org.apache.wicket.MarkupContainer
          extended by org.apache.wicket.Page
              extended by org.apache.wicket.markup.html.WebPage
                  extended by com.pmease.quickbuild.web.page.BasePage
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<org.apache.wicket.Component>, org.apache.wicket.event.IEventSink, org.apache.wicket.event.IEventSource, org.apache.wicket.IClusterable, org.apache.wicket.IConverterLocator, org.apache.wicket.IRedirectListener, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IHeaderContributor, org.apache.wicket.page.IManageablePage, org.apache.wicket.request.component.IRequestableComponent, org.apache.wicket.request.component.IRequestablePage, org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>
Direct Known Subclasses:
BugReportPage, ErrorMessagePage, ExceptionPage, LiteBuildOptionEdit, LiteDashboardPage, LogPage, MainPage, PopupWindow, RegisterPage, ServerLogPage, ServerSetupPage, ServerStartingPage, SignInPage, SignOutPage, SourceDiffPage, SourceViewPage, StepLogPage, WelcomePage

public class BasePage
extends org.apache.wicket.markup.html.WebPage

See Also:
Serialized Form

Field Summary
static AssetPack[] ASSET_PACKS
           
static java.lang.String AUTO_REFRESH_LINK_ID
           
static org.apache.wicket.MetaDataKey<org.apache.wicket.Component> TRIGGER
           
 
Fields inherited from class org.apache.wicket.Component
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER
 
Fields inherited from interface org.apache.wicket.IRedirectListener
INTERFACE
 
Constructor Summary
BasePage()
           
 
Method Summary
static BasePage get()
           
protected  int getAjaxRefreshInterval()
           
protected  java.lang.String getBodyCssClass()
           
 Configuration getConfiguration(java.lang.String path)
           
 java.util.Map<java.lang.Long,Configuration> getConfigurations()
          Get configurations in the system.
 org.apache.wicket.markup.repeater.RepeatingView getDialogs()
           
 org.apache.wicket.markup.html.panel.FeedbackPanel getGlobalFeedbackPanel()
           
 org.apache.wicket.markup.IMarkupFragment getMarkup(org.apache.wicket.Component child)
           
protected  int getPageRefreshInterval()
           
protected  java.lang.String getPageTitle()
           
 org.apache.wicket.markup.repeater.RepeatingView getPopups()
           
 java.util.List<org.apache.wicket.Component> getRenderedComponents()
           
protected  boolean isAuthorized()
           
protected  boolean isBootstrap()
           
 boolean isDirty()
           
protected  boolean isSessionReady()
           
protected  void onBeforeRender()
           
protected  void onDetach()
           
protected  void onInitialize()
           
 void renderHead(org.apache.wicket.markup.html.internal.HtmlHeaderContainer container)
           
 
Methods inherited from class org.apache.wicket.markup.html.WebPage
configureResponse, dirty, getMarkupType, homePageLink, onAfterRender, onRender, renderXmlDecl, setHeaders
 
Methods inherited from class org.apache.wicket.Page
componentChanged, componentRendered, detachModels, dirty, endComponentRender, getAutoIndex, getId, getPageClass, getPageId, getPageParameters, getPageReference, getRenderCount, getSizeInBytes, getStatelessHint, hierarchyAsString, internalOnModelChanged, internalPrepareForRender, isBookmarkable, isErrorPage, isPageStateless, onRedirect, renderPage, setFreezePageId, setNumericId, setStatelessHint, setWasCreatedBookmarkable, startComponentRender, toString, wasCreatedBookmarkable, wasRendered
 
Methods inherited from class org.apache.wicket.MarkupContainer
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, hasAssociatedMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onMarkupAttached, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, visitChildren, visitChildren, visitChildren, visitChildren
 
Methods inherited from class org.apache.wicket.Component
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachModel, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFeedbackMessages, getFlag, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.wicket.request.component.IRequestableComponent
canCallListenerInterface, detach, get, getBehaviorById, getBehaviorId, getPage, getPageRelativePath
 
Methods inherited from interface org.apache.wicket.page.IManageablePage
detach
 

Field Detail

AUTO_REFRESH_LINK_ID

public static final java.lang.String AUTO_REFRESH_LINK_ID
See Also:
Constant Field Values

ASSET_PACKS

public static AssetPack[] ASSET_PACKS

TRIGGER

public static org.apache.wicket.MetaDataKey<org.apache.wicket.Component> TRIGGER
Constructor Detail

BasePage

public BasePage()
Method Detail

onInitialize

protected void onInitialize()
Overrides:
onInitialize in class org.apache.wicket.Component

onBeforeRender

protected void onBeforeRender()
Overrides:
onBeforeRender in class org.apache.wicket.Page

get

public static BasePage get()

getAjaxRefreshInterval

protected int getAjaxRefreshInterval()

getPageRefreshInterval

protected int getPageRefreshInterval()

getPageTitle

protected java.lang.String getPageTitle()

isAuthorized

protected boolean isAuthorized()

isBootstrap

protected boolean isBootstrap()

getBodyCssClass

protected java.lang.String getBodyCssClass()

renderHead

public void renderHead(org.apache.wicket.markup.html.internal.HtmlHeaderContainer container)
Overrides:
renderHead in class org.apache.wicket.Component

getConfigurations

public java.util.Map<java.lang.Long,Configuration> getConfigurations()
Get configurations in the system. This method exists to speed up configuration tree rendering and returned configurations only contains basic information such as id, name, description, parent, etc.

Returns:

getConfiguration

public Configuration getConfiguration(java.lang.String path)

getMarkup

public org.apache.wicket.markup.IMarkupFragment getMarkup(org.apache.wicket.Component child)
Overrides:
getMarkup in class org.apache.wicket.MarkupContainer

isSessionReady

protected final boolean isSessionReady()

getGlobalFeedbackPanel

public org.apache.wicket.markup.html.panel.FeedbackPanel getGlobalFeedbackPanel()

getPopups

public org.apache.wicket.markup.repeater.RepeatingView getPopups()

getDialogs

public org.apache.wicket.markup.repeater.RepeatingView getDialogs()

isDirty

public boolean isDirty()

getRenderedComponents

public java.util.List<org.apache.wicket.Component> getRenderedComponents()

onDetach

protected void onDetach()
Overrides:
onDetach in class org.apache.wicket.Page


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.