com.sap.portal.navigation.json.list

Class AbstractJSONListComponent

java.lang.Object
  extended by com.sapportals.portal.prt.component.AbstractPortalComponent
      extended by com.sap.portal.navigation.json.list.AbstractJSONListComponent
All Implemented Interfaces:
IEventListenerComponent, IPortalComponent, IPortalComponentInit

public abstract class AbstractJSONListComponent
extends AbstractPortalComponent

Base class for JSON list applications.


Constructor Summary
AbstractJSONListComponent()
           
 
Method Summary
protected  void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
          Generates the content of the component.
abstract  JSONList getJSONList(IPortalComponentRequest request, IPortalComponentResponse response)
          Returns a JSONList
 void service(IPortalComponentRequest request, IPortalComponentResponse response)
          Called by the PortalSessionManager to allow the component to respond to a request.
 
Methods inherited from class com.sapportals.portal.prt.component.AbstractPortalComponent
destroy, doAbout, doAfterContent, doBeforeContent, doComponentEvent, doEdit, doHandleEditData, doHelp, doOnNodeReady, doOnNodeRemove, doOnPOMReady, doPreview, doRefresh, doRequestEvent, getCacheDiscriminant, getCachingLevel, handleEvent, hasExpired, init, init, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJSONListComponent

public AbstractJSONListComponent()
Method Detail

getJSONList

public abstract JSONList getJSONList(IPortalComponentRequest request,
                                     IPortalComponentResponse response)
Returns a JSONList

Parameters:
request - Object that contains the client request
response - Object that contains the server response
Returns:
JSONList

service

public void service(IPortalComponentRequest request,
                    IPortalComponentResponse response)
             throws PortalComponentException
Description copied from class: AbstractPortalComponent
Called by the PortalSessionManager to allow the component to respond to a request. It inspects the request type of the request, and dispatch the godd method.

Specified by:
service in interface IPortalComponent
Overrides:
service in class AbstractPortalComponent
Parameters:
request - the PortalComponentRequest object that contains the client's request
response - the PortalComponentResponse object that contains the server's response
Throws:
PortalComponentException

doContent

protected void doContent(IPortalComponentRequest request,
                         IPortalComponentResponse response)
Description copied from class: AbstractPortalComponent
Generates the content of the component.

Specified by:
doContent in class AbstractPortalComponent
Parameters:
request - the PortalComponentRequest object that contains the client's request
response - the PortalComponentResponse object that contains the server's response
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/navigation/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice