Uses of Interface
org.apache.turbine.pipeline.PipelineData
-
Packages that use PipelineData Package Description org.apache.turbine Turbine Servlet and Constants.org.apache.turbine.modules Modules (Action, Screen, Layout, Navigation, Page) classes for the Turbine view.org.apache.turbine.modules.actions Action class implementations.org.apache.turbine.modules.actions.sessionvalidator Session validator classes to be used with Turbine apps that use security.org.apache.turbine.modules.layouts Layout class implementations.org.apache.turbine.modules.navigations Navigation class implementations.org.apache.turbine.modules.pages Page class implementations.org.apache.turbine.modules.screens Screen class implementations.org.apache.turbine.modules.screens.error Error Screen classes.org.apache.turbine.pipeline The Turbine processing pipeline is modeled after the pipeline found in Tomcat 4.0.1 (Catalina), and after the module architecture found in Apache httpd.org.apache.turbine.services Contains the Service framework for Turbine.org.apache.turbine.services.jsp JSP Service is used to provide Turbine with a Java Server page (JSP) based view.org.apache.turbine.services.pull Provides application tools that are put into the context of a template view.org.apache.turbine.services.rundata Rundata Service provides a factory for the request cycle data objects.org.apache.turbine.services.template Template Service maps template references to a view service and a template name.org.apache.turbine.services.urlmapper Provide back-and-forth-mapping facilities for simplified URLs
$Id$org.apache.turbine.services.velocity Velocity Service is used to provide Turbine with a Velocity based view.org.apache.turbine.util Various utilities used in Turbine and for Turbine based applications.org.apache.turbine.util.template Template related utilities.org.apache.turbine.util.velocity Velocity related utility code. -
-
Uses of PipelineData in org.apache.turbine
Methods in org.apache.turbine with parameters of type PipelineData Modifier and Type Method Description protected voidTurbine. handleException(PipelineData pipelineData, HttpServletResponse res, Throwable t)This method is about making sure that we catch and display errors to the screen in one fashion or another.voidTurbine. init(PipelineData data)Initializes the services which needPipelineDatato initialize themselves (post startup).static voidTurbine. saveServletInfo(PipelineData data)Save some information about this servlet so that it can be utilized by object instances that do not have direct access to PipelineData. -
Uses of PipelineData in org.apache.turbine.modules
Methods in org.apache.turbine.modules with parameters of type PipelineData Modifier and Type Method Description default voidLayout. build(PipelineData pipelineData)Subclasses can override this method to add additional functionality.default StringNavigation. build(PipelineData pipelineData)Subclasses can override this method to add additional functionality.default voidPage. build(PipelineData pipelineData)Subclasses can override this method to add additional functionality.default StringScreen. build(PipelineData pipelineData)Subclasses can override this method to add additional functionality.voidLayout. doBuild(PipelineData pipelineData)A subclass must implement this method to perform itself.StringNavigation. doBuild(PipelineData pipelineData)A subclass must implement this method to build itself.voidPage. doBuild(PipelineData pipelineData)A subclass must override this method to build itself.StringScreen. doBuild(PipelineData pipelineData)A subclass must implement this method to build itself.voidAction. doPerform(PipelineData pipelineData)A subclass must implement this method to perform itself.voidActionEvent. doPerform(PipelineData pipelineData)This overrides the default Action.doPerform() to execute the doEvent() method.StringNavigationLoader. eval(PipelineData pipelineData, String name)Attempts to load and execute the external Navigation.StringScreenLoader. eval(PipelineData pipelineData, String name)Attempts to load and execute the external Screen.voidActionLoader. exec(PipelineData pipelineData, String name)Attempts to load and execute the external action.abstract voidGenericLoader. exec(PipelineData pipelineData, String name)Attempts to load and execute the external action that has been set.voidLayoutLoader. exec(PipelineData pipelineData, String name)Attempts to load and execute the external layout.voidNavigationLoader. exec(PipelineData pipelineData, String name)Attempts to load and execute the external Navigation.voidPageLoader. exec(PipelineData pipelineData, String name)Attempts to load and execute the external page.voidScheduledJobLoader. exec(PipelineData pipelineData, String name)Deprecated.voidScreenLoader. exec(PipelineData pipelineData, String name)Attempts to load and execute the Screen.default StringScreen. getLayout(PipelineData pipelineData)If the Layout has not been defined by the Screen then set the layout to be "DefaultLayout".default voidAction. perform(PipelineData pipelineData)Subclasses can override this method to add additional functionality.default voidScreen. setLayout(PipelineData pipelineData, String layout)Set the layout for a Screen. -
Uses of PipelineData in org.apache.turbine.modules.actions
Methods in org.apache.turbine.modules.actions with parameters of type PipelineData Modifier and Type Method Description voidAccessController. doPerform(PipelineData pipelineData)If there is a user and the user is logged in, doPerform will set the RunData ACL.voidDefaultAction. doPerform(PipelineData pipelineData)Execute the action.voidInitContextsAction. doPerform(PipelineData pipelineData)This action will place the contexts defined in the TurbineResources instance (if any) into the data.contexts Hashtable.voidLegacyVelocityAction. doPerform(PipelineData pipelineData)Deprecated.This overrides the default Action.doPerform() to execute the doEvent() method.voidLegacyVelocityAction. doPerform(PipelineData pipelineData, org.apache.velocity.context.Context context)Deprecated.Adapter method for legacy signaturevoidLoginUser. doPerform(PipelineData pipelineData)Updates the user's LastLogin timestamp, sets their state to "logged in" and calls RunData.setUser() .voidLogoutUser. doPerform(PipelineData pipelineData)Clears the PipelineData user object back to an anonymous status not logged in, and with a null ACL.abstract voidVelocityAction. doPerform(PipelineData pipelineData, org.apache.velocity.context.Context context)You SHOULD override this method and implement it in your action.protected abstract booleanVelocitySecureAction. isAuthorized(PipelineData pipelineData)Implement this method to perform the security check needed.voidLegacyVelocitySecureAction. perform(PipelineData pipelineData)Deprecated.This method overrides the method in VelocityAction to perform a security check first.voidVelocityAction. perform(PipelineData pipelineData)Sets up the context and then calls super.perform(); thus, subclasses don't have to worry about getting a context themselves!voidVelocitySecureAction. perform(PipelineData pipelineData)This method overrides the method in VelocityAction to perform a security check first.voidVelocityAction. setTemplate(PipelineData pipelineData, String template)This method is used when you want to short circuit an Action and change the template that will be executed next. -
Uses of PipelineData in org.apache.turbine.modules.actions.sessionvalidator
Methods in org.apache.turbine.modules.actions.sessionvalidator with parameters of type PipelineData Modifier and Type Method Description voidDefaultSessionValidator. doPerform(PipelineData pipelineData)Execute the action.voidTemplateSecureSessionValidator. doPerform(PipelineData pipelineData)doPerform is virtually identical to DefaultSessionValidator except that it calls template methods instead of bare screen methods.voidTemplateSessionValidator. doPerform(PipelineData pipelineData)Execute the action. -
Uses of PipelineData in org.apache.turbine.modules.layouts
Methods in org.apache.turbine.modules.layouts with parameters of type PipelineData Modifier and Type Method Description voidDirectResponseLayout. doBuild(PipelineData pipelineData)Ensures that a direct response has been declared.voidJspLayout. doBuild(PipelineData pipelineData)Method called by LayoutLoader.voidVelocityLayout. doBuild(PipelineData pipelineData)Method called by LayoutLoader.voidVelocityXslLayout. doBuild(PipelineData pipelineData)Build the layout.protected voidVelocityDirectLayout. populateContext(PipelineData pipelineData, org.apache.velocity.context.Context context)protected abstract voidVelocityLayout. populateContext(PipelineData pipelineData, org.apache.velocity.context.Context context)Populate Velocity contextprotected voidVelocityOnlyLayout. populateContext(PipelineData pipelineData, org.apache.velocity.context.Context context)protected voidVelocityCachedLayout. render(PipelineData pipelineData, org.apache.velocity.context.Context context, String templateName)Render layoutprotected voidVelocityLayout. render(PipelineData pipelineData, org.apache.velocity.context.Context context, String templateName)Render layout -
Uses of PipelineData in org.apache.turbine.modules.navigations
Methods in org.apache.turbine.modules.navigations with parameters of type PipelineData Modifier and Type Method Description StringBaseJspNavigation. buildTemplate(PipelineData pipelineData)Method that sets up beans and forward the request to the JSP.abstract StringTemplateNavigation. buildTemplate(PipelineData pipelineData)This Builds the WebMacro/FreeMarker/etc template.StringVelocityNavigation. buildTemplate(PipelineData pipelineData)This builds the Velocity template.StringTemplateNavigation. doBuild(PipelineData pipelineData)Calls doBuildTemplate() and then buildTemplate().protected voidBaseJspNavigation. doBuildTemplate(PipelineData pipelineData)Method to be overridden by subclasses to include data in beans, etc.protected voidLegacyVelocityNavigation. doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context)Deprecated.Adapter methodprotected abstract voidTemplateNavigation. doBuildTemplate(PipelineData pipelineData)WebMacro Navigations extending this class should override this method to perform any particular business logic and add information to the context.protected voidVelocityNavigation. doBuildTemplate(PipelineData pipelineData)Needs to be implemented to make TemplateNavigation like us.protected voidVelocityNavigation. doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context)Velocity Navigations extending this class should override this method to perform any particular business logic and add information to the context. -
Uses of PipelineData in org.apache.turbine.modules.pages
Methods in org.apache.turbine.modules.pages with parameters of type PipelineData Modifier and Type Method Description voidDefaultPage. doBuild(PipelineData pipelineData)Builds the Page.protected voidDefaultPage. doBuildAfterAction(PipelineData pipelineData)Can be overridden by template Pages to set up data needed to process a template.protected voidTemplatePage. doBuildAfterAction(PipelineData pipelineData)Works with TemplateService to set up default templates and corresponding class modules.protected voidDefaultPage. doBuildBeforeAction(PipelineData pipelineData)Can be used by template Pages to stuff the Context into the PipelineData so that it is available to the Action module and the Screen module via getContext().protected voidJspPage. doBuildBeforeAction(PipelineData pipelineData)Stuffs some useful objects into the request so that it is available to the Action module and the Screen moduleprotected voidVelocityPage. doBuildBeforeAction(PipelineData pipelineData)Stuffs the Context into the PipelineData so that it is available to the Action module and the Screen module via getContext().protected voidDefaultPage. doPostBuild(PipelineData pipelineData)Can be overridden to perform actions when the request is fully processed.protected voidVelocityPage. doPostBuild(PipelineData pipelineData)Allows the VelocityService to perform post-request actions. -
Uses of PipelineData in org.apache.turbine.modules.screens
Methods in org.apache.turbine.modules.screens with parameters of type PipelineData Modifier and Type Method Description StringBaseJspScreen. buildTemplate(PipelineData pipelineData)Method that sets up beans and forward the request to the JSP.abstract StringTemplateScreen. buildTemplate(PipelineData pipelineData)This method should be implemented by Base template classes.StringVelocityCachedScreen. buildTemplate(PipelineData pipelineData)This builds the Velocity template.StringVelocityDirectScreen. buildTemplate(PipelineData pipelineData)This builds the Velocity template.StringVelocityScreen. buildTemplate(PipelineData pipelineData)This builds the Velocity template.StringRawScreen. doBuild(PipelineData pipelineData)Build the Screen.StringTemplateScreen. doBuild(PipelineData pipelineData)This method is called by the Screenloader to construct the Screen.protected voidBaseJspScreen. doBuildTemplate(PipelineData pipelineData)Method to be overridden by subclasses to include data in beans, etc.protected voidJspErrorScreen. doBuildTemplate(PipelineData pipelineData)protected voidLegacyVelocityScreen. doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context)Deprecated.Adapter methodprotected voidLegacyVelocitySecureScreen. doBuildTemplate(PipelineData pipelineData)Deprecated.This method overrides the method in VelocityScreen to perform a security check first.protected abstract voidTemplateScreen. doBuildTemplate(PipelineData pipelineData)This method should be overridden by subclasses that wish to add specific business logic.protected voidVelocityErrorScreen. doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context)Implement this to add information to the context.protected voidVelocityScreen. doBuildTemplate(PipelineData pipelineData)Needs to be implemented to make TemplateScreen like us.protected voidVelocityScreen. doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context)Velocity Screens extending this class should override this method to perform any particular business logic and add information to the context.protected voidVelocitySecureScreen. doBuildTemplate(PipelineData pipelineData)This method overrides the method in VelocityScreen to perform a security check first.protected abstract voidVelocitySecureScreen. doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context)Implement this to add information to the context.protected voidJSONScreen. doOutput(PipelineData pipelineData)Output the dynamic content.protected voidJSONSecureScreen. doOutput(PipelineData pipelineData)This method overrides the method in JSONScreen to perform a security check prior to producing the output.protected voidPlainJSONScreen. doOutput(PipelineData pipelineData)Output JSON content set intoRunData.getMessage().voidPlainJSONSecureAnnotatedScreen. doOutput(PipelineData pipelineData)This method overrides the method in JSONScreen to perform a security check prior to producing the output.protected abstract voidRawScreen. doOutput(PipelineData pipelineData)Actually output the dynamic content.protected voidTemplateScreen. doPostBuildTemplate(PipelineData pipelineData)This method can be overridden to write code that executes when the template has been built (called from a finally clause, so executes regardless of whether an exception is thrown or not)voidTemplateScreen. doRedirect(PipelineData pipelineData, String template)You can call this within a Screen to cause an internal redirect to happen.voidTemplateScreen. doRedirect(PipelineData pipelineData, String screen, String template)You can call this within a Screen to cause an internal redirect to happen.protected StringJSONScreen. getContentType(PipelineData pipelineData)protected StringPlainJSONScreen. getContentType(PipelineData pipelineData)protected abstract StringRawScreen. getContentType(PipelineData pipelineData)Set the content type.StringRawScreen. getLayout(PipelineData pipelineData)The layout must be set to null.protected abstract booleanJSONSecureScreen. isAuthorized(PipelineData pipelineData)Override this method to perform the necessary security checks.protected booleanPlainJSONSecureAnnotatedScreen. isAuthorized(PipelineData pipelineData)Use this method to perform the necessary security check with Turbine annotationsTurbineRequiredRolein a newly overriddenPlainJSONSecureAnnotatedScreen.doOutput(PipelineData)method.protected abstract booleanVelocitySecureScreen. isAuthorized(PipelineData pipelineData)Implement this method to perform the security check needed.static voidTemplateScreen. setTemplate(PipelineData pipelineData, String template)This method is used when you want to short circuit a Screen and change the template that will be executed next. -
Uses of PipelineData in org.apache.turbine.modules.screens.error
Methods in org.apache.turbine.modules.screens.error with parameters of type PipelineData Modifier and Type Method Description StringInvalidState. doBuild(PipelineData pipelineData)Build the Screen. -
Uses of PipelineData in org.apache.turbine.pipeline
Classes in org.apache.turbine.pipeline that implement PipelineData Modifier and Type Class Description classDefaultPipelineDataA PipelineData is a holder for data being passed from one Valve to the next.Methods in org.apache.turbine.pipeline with parameters of type PipelineData Modifier and Type Method Description protected voidCleanUpValve. cleanUp(PipelineData pipelineData)Perform clean up after processing the request.protected voidExecutePageValve. executePage(PipelineData pipelineData)execute the page generation.voidCleanUpValve. invoke(PipelineData pipelineData, ValveContext context)voidDefaultACLCreationValve. invoke(PipelineData pipelineData, ValveContext context)voidDefaultLoginValve. invoke(PipelineData pipelineData, ValveContext context)voidDefaultSessionTimeoutValve. invoke(PipelineData pipelineData, ValveContext context)Deprecated.voidDefaultSessionValidationValve. invoke(PipelineData pipelineData, ValveContext context)voidDefaultSetEncodingValve. invoke(PipelineData pipelineData, ValveContext context)voidDetermineActionValve. invoke(PipelineData pipelineData, ValveContext context)voidDetermineRedirectRequestedValve. invoke(PipelineData pipelineData, ValveContext context)voidDetermineTargetValve. invoke(PipelineData pipelineData, ValveContext context)voidExecutePageValve. invoke(PipelineData pipelineData, ValveContext context)voidPipeline. invoke(PipelineData pipelineData)Cause the specified request and response to be processed by the sequence of Valves associated with this pipeline, until one of these Valves decides to end the processing.voidTurbinePipeline. invoke(PipelineData pipelineData)voidValve. invoke(PipelineData pipelineData, ValveContext context)Perform request processing as required by this Valve.voidTurbinePipeline. invokeNext(PipelineData pipelineData)voidValveContext. invokeNext(PipelineData pipelineData)Cause theinvoke()method of the next Valve that is part of the Pipeline currently being processed (if any) to be executed, passing on the specified request and response objects plus thisValveContextinstance.protected voidDefaultLoginValve. process(PipelineData pipelineData)Handles user sessions, parsing of the action from the query string, and access control.protected voidDetermineRedirectRequestedValve. redirectRequested(PipelineData pipelineData)Perform clean up after processing the request. -
Uses of PipelineData in org.apache.turbine.services
Methods in org.apache.turbine.services with parameters of type PipelineData Modifier and Type Method Description voidTurbineBaseService. init(PipelineData pipelineData)Performs early initialization. -
Uses of PipelineData in org.apache.turbine.services.jsp
Methods in org.apache.turbine.services.jsp with parameters of type PipelineData Modifier and Type Method Description voidJspService. addDefaultObjects(PipelineData pipelineData)Adds some convenience objects to the request.voidTurbineJspService. addDefaultObjects(PipelineData pipelineData)Adds some convenience objects to the request.voidJspService. handleRequest(PipelineData pipelineData, String templateName)executes the JSP given by templateName.voidJspService. handleRequest(PipelineData pipelineData, String templateName, boolean isForward)executes the JSP given by templateName.voidTurbineJspService. handleRequest(PipelineData pipelineData, String templateName)executes the JSP given by templateName.voidTurbineJspService. handleRequest(PipelineData pipelineData, String templateName, boolean isForward)executes the JSP given by templateName. -
Uses of PipelineData in org.apache.turbine.services.pull
Methods in org.apache.turbine.services.pull with parameters of type PipelineData Modifier and Type Method Description voidPullService. populateContext(org.apache.velocity.context.Context context, PipelineData pipelineData)Populate the given context with all request, session, authorized and persistent scope tools (it is assumed that the context already wraps the global context, and thus already contains the global tools).voidTurbinePullService. populateContext(org.apache.velocity.context.Context context, PipelineData pipelineData)Populate the given context with all request, session, authorized and persistent scope tools (it is assumed that the context already wraps the global context, and thus already contains the global tools).voidPipelineDataApplicationTool. refresh(PipelineData data)Refresh the application tool. -
Uses of PipelineData in org.apache.turbine.services.rundata
Subinterfaces of PipelineData in org.apache.turbine.services.rundata Modifier and Type Interface Description interfaceTurbineRunDataTurbineRunData is an extension to the RunData interface to be implemented by RunData implementations to be distributed by the Turbine RunData Service.Classes in org.apache.turbine.services.rundata that implement PipelineData Modifier and Type Class Description classDefaultTurbineRunDataDefaultTurbineRunData is the default implementation of the TurbineRunData interface, which is distributed by the Turbine RunData service, if another implementation is not defined in the default or specified RunData configuration. -
Uses of PipelineData in org.apache.turbine.services.template
Methods in org.apache.turbine.services.template with parameters of type PipelineData Modifier and Type Method Description StringTemplateService. getDefaultLayoutName(PipelineData pipelineData)Find the default layout module name for the given request.StringTurbineTemplateService. getDefaultLayoutName(PipelineData pipelineData)Find the default layout module name for the given request.StringTemplateService. getDefaultPageName(PipelineData pipelineData)Find the default page module name for the given request.StringTurbineTemplateService. getDefaultPageName(PipelineData pipelineData)Find the default page module name for the given request. -
Uses of PipelineData in org.apache.turbine.services.urlmapper
Methods in org.apache.turbine.services.urlmapper with parameters of type PipelineData Modifier and Type Method Description voidURLMapperValve. invoke(PipelineData pipelineData, ValveContext context) -
Uses of PipelineData in org.apache.turbine.services.velocity
Methods in org.apache.turbine.services.velocity with parameters of type PipelineData Modifier and Type Method Description org.apache.velocity.context.ContextTurbineVelocityService. getContext(PipelineData pipelineData)Create a Context from the PipelineData object.org.apache.velocity.context.ContextVelocityService. getContext(PipelineData pipelineData)Create a Context from the PipelineData object. -
Uses of PipelineData in org.apache.turbine.util
Subinterfaces of PipelineData in org.apache.turbine.util Modifier and Type Interface Description interfaceRunDataRunData is an interface to run-time information that is passed within Turbine.Methods in org.apache.turbine.util with parameters of type PipelineData Modifier and Type Method Description static voidHttpUtils. setCacheHeaders(PipelineData pipelineData, int expiry)This method sets the required expiration headers in the response for a givenPipelineDataobject. -
Uses of PipelineData in org.apache.turbine.util.template
Constructors in org.apache.turbine.util.template with parameters of type PipelineData Constructor Description TemplateNavigation(PipelineData pipelineData)ConstructorTemplateScreen(PipelineData pipelineData)ConstructorTemplateSecurityCheck(PipelineData pipelineData)Generic Constructor.TemplateSecurityCheck(PipelineData pipelineData, String message)Constructor. -
Uses of PipelineData in org.apache.turbine.util.velocity
Methods in org.apache.turbine.util.velocity with parameters of type PipelineData Modifier and Type Method Description voidVelocityActionEvent. doPerform(PipelineData pipelineData)This overrides the default Action.doPerform() to execute the doEvent() method.
-