public abstract class AbstractReplicationWebscript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
| Modifier and Type | Field and Description |
|---|---|
protected ActionTrackingService |
actionTrackingService |
protected 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(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, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringprotected NodeService nodeService
protected ReplicationService replicationService
protected ActionTrackingService actionTrackingService
public void setReplicationService(ReplicationService replicationService)
public void setNodeService(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.DeclarativeWebScriptprotected void updateDefinitionProperties(ReplicationDefinition replicationDefinition, org.json.JSONObject json) throws org.json.JSONException
org.json.JSONExceptionprotected 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–2014 Alfresco Software. All rights reserved.