com.sap.portal.admin.editor

Class AbstractEditorComponent

java.lang.Object
  extended by com.sapportals.portal.prt.component.AbstractPortalComponent
      extended by com.sap.portal.admin.editor.AbstractEditorComponent
All Implemented Interfaces:
IEditorBuilder, IEventListenerComponent, IPortalComponent, IPortalComponentInit

public abstract class AbstractEditorComponent
extends AbstractPortalComponent
implements IEditorBuilder

A base class that represents the editor component template. Each editor must extend this class.
This class implements the doContent method of AbstractPortalComponent, and is responsible for creating and running the editor framework. It also implements the IEditorBuilder interface.


Constructor Summary
AbstractEditorComponent()
           
 
Method Summary
protected  void doContent(IPortalComponentRequest aRequest, IPortalComponentResponse aResponse)
          Generates the content of the component.
 void init(IPortalComponentInitContext context)
          Invoked when this Portal Component is loaded for the first time in memory.
 
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, service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sap.portal.admin.editor.IEditorBuilder
setupEditor
 

Constructor Detail

AbstractEditorComponent

public AbstractEditorComponent()
Method Detail

init

public void init(IPortalComponentInitContext context)
          throws PortalComponentException
Description copied from class: AbstractPortalComponent
Invoked when this Portal Component is loaded for the first time in memory. The container calls the init method each time this Portal Component is loaded in memory.

Specified by:
init in interface IPortalComponentInit
Overrides:
init in class AbstractPortalComponent
Parameters:
context - an instance of IPortalComponentInitContext providing initialization data
Throws:
PortalComponentException

doContent

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

Specified by:
doContent in class AbstractPortalComponent
Parameters:
aRequest - the PortalComponentRequest object that contains the client's request
aResponse - 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/admin/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice