public class SamplePatch extends AbstractPatch
Modifier and Type | Field and Description |
---|---|
static String |
MSG_FAILURE |
static String |
MSG_SUCCESS |
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService
Constructor and Description |
---|
SamplePatch()
Default constructor for Spring config
|
Modifier and Type | Method and Description |
---|---|
protected String |
applyInternal()
Does nothing
|
void |
init()
Overrides the base class version to do nothing, i.e.
|
applies, apply, applyAsync, checkProperties, checkPropertyNotNull, getAlternatives, getDependsOn, getDescription, getFixesFromSchema, getFixesToSchema, getId, getTargetSchema, 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
public static final String MSG_SUCCESS
public static final String MSG_FAILURE
public void init()
init
in class AbstractPatch
protected String applyInternal() throws Exception
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.