public abstract class AbstractReplicationWebscript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
Modifier and Type | Field and Description |
---|---|
protected ActionTrackingService |
actionTrackingService |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected ReplicationService |
replicationService |
Constructor and Description |
---|
AbstractReplicationWebscript() |
Modifier and Type | Method and Description |
---|---|
protected abstract Map<String,Object> |
buildModel(ReplicationModelBuilder modelBuilder,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected Map<String,Object> |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
void |
setActionTrackingService(ActionTrackingService actionTrackingService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setReplicationService(ReplicationService replicationService) |
protected void |
updateDefinitionProperties(ReplicationDefinition replicationDefinition,
org.json.JSONObject json)
Updates properties on the definition, based on the JSON.
|
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected ReplicationService replicationService
protected ActionTrackingService actionTrackingService
public void setReplicationService(ReplicationService replicationService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setActionTrackingService(ActionTrackingService actionTrackingService)
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
executeImpl
in class org.springframework.extensions.webscripts.DeclarativeWebScript
protected void updateDefinitionProperties(ReplicationDefinition replicationDefinition, org.json.JSONObject json) throws org.json.JSONException
org.json.JSONException
protected abstract Map<String,Object> buildModel(ReplicationModelBuilder modelBuilder, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
Copyright © 2005–2017 Alfresco Software. All rights reserved.