Class NodesGet

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.solr.NodesGet
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript

public class NodesGet extends org.springframework.extensions.webscripts.DeclarativeWebScript
Support for SOLR: Get a list of nodes in the given transactions.

Supports fromNodeId, toNodeId, count (all optional) to control the number of nodes returned
e.g. (null, null, 1000) will return at most 1000 nodes starting from the first node in the first transaction.
e.g. (1234, null, 1000) will return at most 1000 nodes starting from the node id 1234.

Since:
4.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript

    org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.apache.commons.logging.Log
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Map<String,Object>
    executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status)
     
    void
     
    void
     
    void
     

    Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript

    execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate

    Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript

    addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • logger

      protected static final org.apache.commons.logging.Log logger
  • Constructor Details

    • NodesGet

      public NodesGet()
  • Method Details

    • setSearchTrackingComponent

      public void setSearchTrackingComponent(SearchTrackingComponent searchTrackingComponent)
    • setTenantService

      public void setTenantService(TenantService tenantService)
    • setQnameDAO

      public void setQnameDAO(QNameDAO qnameDAO)
    • executeImpl

      protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status)
      Overrides:
      executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScript