Package org.apache.turbine.util

Examples of org.apache.turbine.util.RunData


     * @param pipelineData
     * @return
     */
    private RunData getRunData(PipelineData pipelineData)
    {
        RunData data = null;
        data = (RunData)pipelineData;
        return data;
    }
View Full Code Here


     * @exception Exception a generic exception.
     */
    protected ConcreteElement doBuild(PipelineData pipelineData)
        throws Exception
    {
        RunData data = getRunData(pipelineData);
        return doBuild(data);
    }
View Full Code Here

     * @param data Turbine information.
     * @exception Exception a generic exception.
     */
    protected void doBuild(PipelineData pipelineData) throws Exception
    {
        RunData data = getRunData(pipelineData);
        doBuild(data);
    }
View Full Code Here

     * @exception Exception a generic exception.
     */
    protected ConcreteElement doBuild(PipelineData pipelineData)
        throws Exception
    {
        RunData data = getRunData(pipelineData);
        return doBuild(data);
    }
View Full Code Here

     * @param pipelineData Turbine information.
     * @return A String with the Layout.
     */
    public String getLayout(PipelineData pipelineData)
    {
        RunData data = getRunData(pipelineData);
        return data.getLayout();
    }
View Full Code Here

     * @param data Turbine information.
     * @param layout The layout name.
     */
    public void setLayout(PipelineData pipelineData, String layout)
    {
        RunData data = getRunData(pipelineData);
        data.setLayout(layout);
    }
View Full Code Here

     * @exception Exception a generic exception.
     */
    protected void doBuild(PipelineData pipelineData)
      throws Exception
    {
        RunData data = getRunData(pipelineData);
        doBuild(data);
    }
View Full Code Here

     * @param data Turbine information.
     * @exception Exception a generic exception.
     */
    public void doPerform(PipelineData pipelineData) throws Exception
    {
        RunData data = getRunData(pipelineData);
        doPerform(data);
    }
View Full Code Here

     * @exception Exception a generic exception.
     */
    public void exec(PipelineData pipelineData, String name)
            throws Exception
    {
        RunData data = getRunData(pipelineData);
        exec(data, name);
    }
View Full Code Here

     */
    public void populateContext(Context context, PipelineData pipelineData)
    {
       // Map runDataMap = (Map) pipelineData.get(RunData.class);
       // RunData data = (RunData)runDataMap.get(RunData.class);
        RunData data = (RunData)pipelineData;

        populateWithRequestTools(context, pipelineData);
        // session tools (whether session-only or persistent are
        // very similar, so the same method is used - the
        // boolean parameter indicates whether get/setPerm is to be used
        // rather than get/setTemp)

        //
        // Session Tool start right at the session once the user has been set
        // while persistent and authorized Tools are started when the user has
        // logged in
        //
        User user = data.getUser();

        // Note: Session tools are currently lost after the login action
        // because the anonymous user is replaced the the real user object.
        // We should either store the session pull tools in the session or
        // make Turbine.loginAction() copy the session pull tools into the
View Full Code Here

TOP

Related Classes of org.apache.turbine.util.RunData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.