Package org.alfresco.repo.admin.patch
Class AsynchronousPatch
java.lang.Object
org.alfresco.repo.admin.patch.AbstractPatch
org.alfresco.repo.admin.patch.AsynchronousPatch
- All Implemented Interfaces:
Patch,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisherAware
- Direct Known Subclasses:
AddUnmovableAspectToSitesPatch,SurfConfigFolderPatch
Base implementation of the asynchronous patch.
- Author:
- Jamal Kaabi-Mofrad
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJob to initiate theAsynchronousPatchif it has been deferred -
Field Summary
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCheck that the schema version properties have been set appropriately.voidvoidsetJobLockService(JobLockService jobLockService) Methods inherited from class org.alfresco.repo.admin.patch.AbstractPatch
applies, apply, applyAsync, applyInternal, 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
-
Constructor Details
-
AsynchronousPatch
public AsynchronousPatch()
-
-
Method Details
-
setJobLockService
- Parameters:
jobLockService- the jobLockService to set
-
checkProperties
protected void checkProperties()Description copied from class:AbstractPatchCheck that the schema version properties have been set appropriately. Derived classes can override this method to perform their own validation provided that this method is called by the derived class.- Overrides:
checkPropertiesin classAbstractPatch
-
executeAsynchronously
public void executeAsynchronously()
-