public class SamplePatch extends AbstractPatch
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MSG_FAILURE |
static java.lang.String |
MSG_SUCCESS |
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, searchService, tenantAdminService, transactionHelper, transactionService
Constructor and Description |
---|
SamplePatch()
Default constructor for Spring config
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
applyInternal()
Does nothing
|
void |
init()
Overrides the base class version to do nothing, i.e.
|
applies, apply, checkProperties, checkPropertyNotNull, getAlternatives, getDependsOn, getDescription, getFixesFromSchema, getFixesToSchema, getId, getTargetSchema, isForce, reportProgress, requiresTransaction, setAlternatives, setApplicationEventPublisher, setApplyToTenants, setAuthenticationContext, setDependsOn, setDescription, setFixesFromSchema, setFixesToSchema, setForce, setId, setNamespaceService, setNodeService, setPatchService, setRequiresTransaction, setSearchService, setTargetSchema, setTenantAdminService, setTransactionService, toString
public static final java.lang.String MSG_SUCCESS
public static final java.lang.String MSG_FAILURE
public void init()
init
in class AbstractPatch
protected java.lang.String applyInternal() throws java.lang.Exception
applyInternal
in class AbstractPatch
java.lang.Exception
- anything can be thrown. This must be used for all failures.AbstractPatch.apply()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.