Skip navigation links

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

E17273-01


oracle.stellent.wcm.server.request.logic.contributor
Class ContributorJSLogic

java.lang.Object
  extended by oracle.stellent.wcm.server.request.logic.RequestLogic<ContributorJSRequest>
      extended by oracle.stellent.wcm.server.request.logic.contributor.ContributorJSLogic


public class ContributorJSLogic
extends RequestLogic<ContributorJSRequest>

Constructor Summary
ContributorJSLogic(ServerContext serverContext)
           

 

Method Summary
 java.lang.String createLocationJS(ContributorJSRequest request)
          Create some custom javascript to include in the output of this request
 java.lang.String getLocalContributorJS(ContributorJSRequest request)
          Returns Contributor specific file paths to be included before rendering
 java.lang.String getRemoteContributorJS(ContributorJSRequest siteRequest)
          Generate the JavaScript code/includes to
protected  oracle.stellent.ridc.model.impl.DataResultSetRow getRowMatchingOrder(oracle.stellent.ridc.model.DataResultSet markup, java.lang.String position, int order)
          Return the row that matches the field value for "order"

 

Methods inherited from class oracle.stellent.wcm.server.request.logic.RequestLogic
checkSecurity, checkSecurity, getProject, getProject, getSection, getSection, getServerContext, getStructure, isSectionAvailable, setRequestSiteID, validateRequest

 

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

 

Constructor Detail

ContributorJSLogic

public ContributorJSLogic(ServerContext serverContext)

Method Detail

getLocalContributorJS

public java.lang.String getLocalContributorJS(ContributorJSRequest request)
Returns Contributor specific file paths to be included before rendering
Parameters:
request - the site command
Returns:
the paths to the contributor files

createLocationJS

public java.lang.String createLocationJS(ContributorJSRequest request)
Create some custom javascript to include in the output of this request
Parameters:
request - the request
Returns:
the javascript to write back to the client

getRemoteContributorJS

public java.lang.String getRemoteContributorJS(ContributorJSRequest siteRequest)
                                        throws RequestException
Generate the JavaScript code/includes to
Parameters:
siteRequest - the placeholder command
Returns:
a 2 node string containing the pre and post fixes for the JSON
Throws:
RequestException

getRowMatchingOrder

protected oracle.stellent.ridc.model.impl.DataResultSetRow getRowMatchingOrder(oracle.stellent.ridc.model.DataResultSet markup,
                                                                               java.lang.String position,
                                                                               int order)
Return the row that matches the field value for "order"
Parameters:
markup - DataResultSet. This has a field named "order"
position - String. Used to find the row that matches position field
order - int. Used to find the row that has this value in the order field
Returns:
DataResultSetRow that matches or null

Skip navigation links

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

E17273-01


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