public interface PatchService
Patches are injected into this class and any attempted applications are recorded for later auditing.
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyOutstandingPatches()
Apply all outstanding patches that are relevant to the repo.
|
java.util.List |
getPatches(java.util.Date fromDate,
java.util.Date toDate)
Retrieves all applied patches between two specific times.
|
void |
registerPatch(Patch patch)
Registers a patch with the service that executes them.
|
boolean |
validatePatches()
Does some up-front validation on the patches, specifically to see if they all apply to the current server version
and not some future version.
|
void registerPatch(Patch patch)
patch - the patch to registerboolean validatePatches()
boolean applyOutstandingPatches()
java.util.List getPatches(java.util.Date fromDate,
java.util.Date toDate)
from - the start date of the search, or null to get all patches from the startto - the end date of the search, or null to gCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.