Package fr.becpg.repo.web.scripts.admin
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
public class PurgeNodesWebscript
extends org.springframework.extensions.webscripts.AbstractWebScript
Deprecated.
Purge all nodes in specific folderNodeRef
- Version:
- $Id: $Id TODO use batch Service
- Author:
- matthieu
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intDeprecated.private static final intDeprecated.private EntityDictionaryServiceDeprecated.private static final org.apache.commons.logging.LogDeprecated.private org.alfresco.service.cmr.repository.NodeServiceDeprecated.private static final StringDeprecated.private org.alfresco.repo.policy.BehaviourFilterDeprecated.private org.alfresco.service.cmr.rule.RuleServiceDeprecated.private org.alfresco.repo.tenant.TenantServiceDeprecated.private org.alfresco.service.transaction.TransactionServiceDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) Deprecated.voidsetEntityDictionaryService(EntityDictionaryService entityDictionaryService) Deprecated.Setter for the fieldentityDictionaryService.voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) Deprecated.Setter for the fieldnodeService.voidsetPolicyBehaviourFilter(org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter) Deprecated.Setter for the fieldpolicyBehaviourFilter.voidsetRuleService(org.alfresco.service.cmr.rule.RuleService ruleService) Deprecated.Setter for the fieldruleService.voidsetTenantService(org.alfresco.repo.tenant.TenantService tenantService) Deprecated.Setter for the fieldtenantService.voidsetTransactionService(org.alfresco.service.transaction.TransactionService transactionService) Deprecated.Setter for the fieldtransactionService.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
-
Field Details
-
logger
private static final org.apache.commons.logging.Log loggerDeprecated. -
PARAM_FOLDER_NODEREF
Deprecated.- See Also:
-
transactionService
private org.alfresco.service.transaction.TransactionService transactionServiceDeprecated. -
ruleService
private org.alfresco.service.cmr.rule.RuleService ruleServiceDeprecated. -
policyBehaviourFilter
private org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilterDeprecated. -
entityDictionaryService
Deprecated. -
tenantService
private org.alfresco.repo.tenant.TenantService tenantServiceDeprecated. -
nodeService
private org.alfresco.service.cmr.repository.NodeService nodeServiceDeprecated. -
BATCH_THREADS
private static final int BATCH_THREADSDeprecated.- See Also:
-
BATCH_SIZE
private static final int BATCH_SIZEDeprecated.- See Also:
-
-
Constructor Details
-
PurgeNodesWebscript
public PurgeNodesWebscript()Deprecated.
-
-
Method Details
-
setEntityDictionaryService
Deprecated.Setter for the field
entityDictionaryService.- Parameters:
entityDictionaryService- aEntityDictionaryServiceobject.
-
setTransactionService
public void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService) Deprecated.Setter for the field
transactionService.- Parameters:
transactionService- aTransactionServiceobject.
-
setRuleService
public void setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService) Deprecated.Setter for the field
ruleService.- Parameters:
ruleService- aRuleServiceobject.
-
setPolicyBehaviourFilter
public void setPolicyBehaviourFilter(org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter) Deprecated.Setter for the field
policyBehaviourFilter.- Parameters:
policyBehaviourFilter- aBehaviourFilterobject.
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) Deprecated.Setter for the field
nodeService.- Parameters:
nodeService- aNodeServiceobject.
-
setTenantService
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService) Deprecated.Setter for the field
tenantService.- Parameters:
tenantService- aTenantServiceobject.
-
execute
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException Deprecated.- Throws:
IOException
-