Package org.alfresco.repo.admin.patch
Class SimplePatch
- java.lang.Object
-
- org.alfresco.repo.admin.patch.AbstractPatch
-
- org.alfresco.repo.admin.patch.SimplePatch
-
- All Implemented Interfaces:
Patch,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisherAware
public class SimplePatch extends AbstractPatch
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMSG_SUCCESS-
Fields inherited from class org.alfresco.repo.admin.patch.AbstractPatch
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService
-
-
Constructor Summary
Constructors Constructor Description SimplePatch()Default constructor for Spring config
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringapplyInternal()Does nothingvoidinit()Overrides the base class version to do nothing, i.e.-
Methods inherited from class org.alfresco.repo.admin.patch.AbstractPatch
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
-
-
-
-
Field Detail
-
MSG_SUCCESS
public static final java.lang.String MSG_SUCCESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init()
Overrides the base class version to do nothing, i.e. it does not self-register- Overrides:
initin classAbstractPatch
-
applyInternal
protected java.lang.String applyInternal() throws java.lang.ExceptionDoes nothing- Specified by:
applyInternalin classAbstractPatch- Returns:
- Returns a success or failure message dependent on the constructor used
- Throws:
java.lang.Exception- anything can be thrown. This must be used for all failures.- See Also:
AbstractPatch.apply()
-
-