com.fatwire.gst.foundation.controller
Class BaseController

java.lang.Object
  extended by com.fatwire.gst.foundation.controller.AbstractController
      extended by com.fatwire.gst.foundation.controller.BaseController
All Implemented Interfaces:
COM.FutureTense.XML.Template.Seed, COM.FutureTense.XML.Template.Seed2

public class BaseController
extends AbstractController

This is the controller (dispatcher) that dispatches the request to the correct asset/template combination based on the path field for a Web Referenceable Asset.

This controller should be called from an outer XML element via the CALLJAVA tag: <CALLJAVA CLASS="com.fatwire.gst.foundation.controller.BaseController" />

Since:
Jun 10, 2010
Author:
Tony Field, Dolf Dijkstra

Field Summary
 
Fields inherited from class com.fatwire.gst.foundation.controller.AbstractController
ics, LOG, STATUS_HEADER
 
Fields inherited from interface COM.FutureTense.XML.Template.Seed
returnString
 
Constructor Summary
BaseController()
           
 
Method Summary
protected  void doExecute()
          Executes the core business logic of the controller.
protected  void handleException(Exception e)
          Handles the exception, doing what is required
 void SetAppLogic(COM.FutureTense.Interfaces.IPS ips)
           
 
Methods inherited from class com.fatwire.gst.foundation.controller.AbstractController
Execute, getInputArgument, getInputArgumentAsString, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseController

public BaseController()
Method Detail

SetAppLogic

public void SetAppLogic(COM.FutureTense.Interfaces.IPS ips)
Specified by:
SetAppLogic in interface COM.FutureTense.XML.Template.Seed2
Overrides:
SetAppLogic in class AbstractController

doExecute

protected void doExecute()
Description copied from class: AbstractController
Executes the core business logic of the controller.

Specified by:
doExecute in class AbstractController

handleException

protected void handleException(Exception e)
Description copied from class: AbstractController
Handles the exception, doing what is required

Specified by:
handleException in class AbstractController
Parameters:
e - exception


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.