Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


oracle.stellent.wcm.server.request.impl
Class RequestLogicHandlerSupport<T extends SiteRequest,U extends RequestLogic<T>>

java.lang.Object
  extended by oracle.stellent.wcm.server.request.impl.RequestHandlerSupport<T>
      extended by oracle.stellent.wcm.server.request.impl.RequestLogicHandlerSupport<T,U>

All Implemented Interfaces:
RequestHandler<T>
Direct Known Subclasses:
ContributorJSHandler, DataFileHandler, DynamicListHandler, IdcServiceHandler, PageHandler, PlaceholderHandler, UrlHandler

public abstract class RequestLogicHandlerSupport<T extends SiteRequest,U extends RequestLogic<T>>
extends RequestHandlerSupport<T>

Field Summary

 

Fields inherited from class oracle.stellent.wcm.server.request.impl.RequestHandlerSupport
log

 

Constructor Summary
RequestLogicHandlerSupport(ServerContext serverContext, U commandLogic)
           

 

Method Summary
 U getLogic()
           
protected abstract  SiteResponse handleLogicCommand(T siteCommand)
          Handle this command
protected  SiteResponse handleLogicError(T siteCommand, RequestException exp)
          Handle an error occurring while processing the command
 SiteResponse handleRequest(T command)
          Invoke the WCM command to generate a corresponding WCM response

 

Methods inherited from class oracle.stellent.wcm.server.request.impl.RequestHandlerSupport
getServerContext

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

RequestLogicHandlerSupport

public RequestLogicHandlerSupport(ServerContext serverContext,
                                  U commandLogic)

Method Detail

getLogic

public U getLogic()
Returns:
the associated command logic

handleRequest

public final SiteResponse handleRequest(T command)
Invoke the WCM command to generate a corresponding WCM response
Parameters:
command - the command object
Returns:
a wcm response

handleLogicCommand

protected abstract SiteResponse handleLogicCommand(T siteCommand)
                                            throws RequestException
Handle this command
Parameters:
siteCommand - the site command
Returns:
the response for this command
Throws:
RequestException

handleLogicError

protected SiteResponse handleLogicError(T siteCommand,
                                        RequestException exp)
Handle an error occurring while processing the command
Parameters:
siteCommand - the site command
exp - the error
Returns:
the error response

Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.