Class PurgeNodesWebscript

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
fr.becpg.repo.web.scripts.admin.PurgeNodesWebscript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript

@Deprecated(since="26.1", forRemoval=false) public class PurgeNodesWebscript extends org.springframework.extensions.webscripts.AbstractWebScript
Deprecated.
since 26.1
Purge all nodes in specific folderNodeRef
Version:
$Id: $Id
Author:
matthieu
  • Nested Class Summary

    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
    private static final int
    Deprecated.
    Constant BATCH_SIZE=40
    private static final int
    Deprecated.
    Constant BATCH_THREADS=3
    Deprecated.
     
    private static final org.apache.commons.logging.Log
    Deprecated.
    Constant logger
    private org.alfresco.service.cmr.repository.NodeService
    Deprecated.
     
    private static final String
    Deprecated.
    Constant PARAM_FOLDER_NODEREF="folderNodeRef"
    private org.alfresco.repo.policy.BehaviourFilter
    Deprecated.
     
    private org.alfresco.service.cmr.rule.RuleService
    Deprecated.
     
    private org.alfresco.repo.tenant.TenantService
    Deprecated.
     
    private org.alfresco.service.transaction.TransactionService
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
    Deprecated.
    void
    Deprecated.
    void
    setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
    Deprecated.
    void
    setPolicyBehaviourFilter(org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter)
    Deprecated.
    void
    setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService)
    Deprecated.
    void
    setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
    Deprecated.
    void
    setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
    Deprecated.

    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

      private static final org.apache.commons.logging.Log logger
      Deprecated.
      Constant logger
    • PARAM_FOLDER_NODEREF

      private static final String PARAM_FOLDER_NODEREF
      Deprecated.
      Constant PARAM_FOLDER_NODEREF="folderNodeRef"
      See Also:
    • transactionService

      private org.alfresco.service.transaction.TransactionService transactionService
      Deprecated.
    • ruleService

      private org.alfresco.service.cmr.rule.RuleService ruleService
      Deprecated.
    • policyBehaviourFilter

      private org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter
      Deprecated.
    • entityDictionaryService

      private EntityDictionaryService entityDictionaryService
      Deprecated.
    • tenantService

      private org.alfresco.repo.tenant.TenantService tenantService
      Deprecated.
    • nodeService

      private org.alfresco.service.cmr.repository.NodeService nodeService
      Deprecated.
    • BATCH_THREADS

      private static final int BATCH_THREADS
      Deprecated.
      Constant BATCH_THREADS=3
      See Also:
    • BATCH_SIZE

      private static final int BATCH_SIZE
      Deprecated.
      Constant BATCH_SIZE=40
      See Also:
  • Constructor Details

    • PurgeNodesWebscript

      public PurgeNodesWebscript()
      Deprecated.
  • Method Details

    • setEntityDictionaryService

      @Deprecated public void setEntityDictionaryService(EntityDictionaryService entityDictionaryService)
      Deprecated.

      Setter for the field entityDictionaryService.

      Parameters:
      entityDictionaryService - a EntityDictionaryService object.
    • setTransactionService

      @Deprecated public void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
      Deprecated.

      Setter for the field transactionService.

      Parameters:
      transactionService - a TransactionService object.
    • setRuleService

      @Deprecated public void setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService)
      Deprecated.

      Setter for the field ruleService.

      Parameters:
      ruleService - a RuleService object.
    • setPolicyBehaviourFilter

      @Deprecated public void setPolicyBehaviourFilter(org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter)
      Deprecated.

      Setter for the field policyBehaviourFilter.

      Parameters:
      policyBehaviourFilter - a BehaviourFilter object.
    • setNodeService

      @Deprecated public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
      Deprecated.

      Setter for the field nodeService.

      Parameters:
      nodeService - a NodeService object.
    • setTenantService

      @Deprecated public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
      Deprecated.

      Setter for the field tenantService.

      Parameters:
      tenantService - a TenantService object.
    • execute

      @Deprecated public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
      Deprecated.
      Throws:
      IOException