public class FixTemplatePatch extends AbstractPatch
Modifier and Type | Field and Description |
---|---|
protected ContentService |
contentService |
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService
Constructor and Description |
---|
FixTemplatePatch() |
Modifier and Type | Method and Description |
---|---|
protected String |
applyInternal()
This method does the work.
|
void |
setContentService(ContentService contentService) |
void |
setRepository(Repository repository) |
void |
setSource(String source) |
void |
setTarget(String target) |
applies, apply, applyAsync, checkProperties, checkPropertyNotNull, getAlternatives, getDependsOn, getDescription, getFixesFromSchema, getFixesToSchema, getId, getTargetSchema, init, isDeferred, isForce, isIgnored, reportProgress, requiresTransaction, setAlternatives, setApplicationEventPublisher, setApplyToTenants, setAuthenticationContext, setDeferred, setDependsOn, setDescription, setFixesFromSchema, setFixesToSchema, setForce, setId, setIgnored, setNamespaceService, setNodeService, setPatchService, setRequiresTransaction, setSearchService, setTargetSchema, setTenantAdminService, setTransactionService, toString
protected ContentService contentService
public void setRepository(Repository repository)
public void setContentService(ContentService contentService)
public void setTarget(String target)
public void setSource(String source)
protected String applyInternal() throws Exception
AbstractPatch
applyInternal
in class AbstractPatch
Exception
- anything can be thrown. This must be used for all failures.AbstractPatch.apply()
Copyright © 2005–2017 Alfresco Software. All rights reserved.