public abstract class AbstractReplicationWebscript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
Modifier and Type | Field and Description |
---|---|
protected org.alfresco.service.cmr.action.ActionTrackingService |
actionTrackingService |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected org.alfresco.service.cmr.replication.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(org.alfresco.service.cmr.action.ActionTrackingService actionTrackingService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setReplicationService(org.alfresco.service.cmr.replication.ReplicationService replicationService) |
protected void |
updateDefinitionProperties(org.alfresco.service.cmr.replication.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 org.alfresco.service.cmr.replication.ReplicationService replicationService
protected org.alfresco.service.cmr.action.ActionTrackingService actionTrackingService
public void setReplicationService(org.alfresco.service.cmr.replication.ReplicationService replicationService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setActionTrackingService(org.alfresco.service.cmr.action.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(org.alfresco.service.cmr.replication.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.