Skip navigation links

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

E17273-03


oracle.stellent.wcm.server.request.placeholder
Class ContributorMarkupListener

java.lang.Object
  extended by oracle.stellent.wcm.server.request.placeholder.ContributorMarkupListener

All Implemented Interfaces:
SiteRequestListener

public class ContributorMarkupListener
extends java.lang.Object
implements SiteRequestListener

Filter class that adds in the contributor javascript includes


Constructor Summary
ContributorMarkupListener(ClientApplication clientApplication)
           

 

Method Summary
protected  java.lang.String[] generateContributorMarkup(PlaceholderRequest siteRequest, Placeholder placeholder)
          Generate the javascript code to put before a region
 PlaceholderLogic getLogic()
           
protected  java.lang.String getPlaceholderDefinitionAsXml(Placeholder placeholder, PlaceholderRequest siteRequest)
          Serialize the placeholder definition to XML
 void postExecuteSiteRequest(SiteRequest siteRequest, SiteResponse siteResponse)
          Called after the command is executed
 void preExecuteSiteRequest(SiteRequest request)
          Called before command is executed

 

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

 

Constructor Detail

ContributorMarkupListener

public ContributorMarkupListener(ClientApplication clientApplication)

Method Detail

getLogic

public PlaceholderLogic getLogic()

preExecuteSiteRequest

public void preExecuteSiteRequest(SiteRequest request)
Called before command is executed
Specified by:
preExecuteSiteRequest in interface SiteRequestListener
Parameters:
request - the request

postExecuteSiteRequest

public void postExecuteSiteRequest(SiteRequest siteRequest,
                                   SiteResponse siteResponse)
Called after the command is executed
Specified by:
postExecuteSiteRequest in interface SiteRequestListener
Parameters:
siteRequest - the command
siteResponse - the response from the command

generateContributorMarkup

protected java.lang.String[] generateContributorMarkup(PlaceholderRequest siteRequest,
                                                       Placeholder placeholder)
                                                throws SiteRequestException
Generate the javascript code to put before a region
Parameters:
siteRequest - the placeholder command
placeholder - the placeholder
Returns:
a 2 node string containing the pre and post fixes for the JSON
Throws:
SiteRequestException

getPlaceholderDefinitionAsXml

protected java.lang.String getPlaceholderDefinitionAsXml(Placeholder placeholder,
                                                         PlaceholderRequest siteRequest)
                                                  throws SiteRequestException
Serialize the placeholder definition to XML
Parameters:
placeholder - the placeholder
siteRequest - the placeholder command
Returns:
the serialized placeholder definition as XML
Throws:
SiteRequestException

Skip navigation links

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

E17273-03


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