ACE-1447: Added 'cm:indexControl' aspect to surf-config folder and its children so they wouldn’t be indexed. Also added an asynchronous patch.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@72733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2014-06-02 04:03:57 +00:00
parent 33e6e44d4a
commit 5a021b2565
16 changed files with 1113 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2005-2010 Alfresco Software Limited.
* Copyright (C) 2005-2014 Alfresco Software Limited.
*
* This file is part of Alfresco
*
@@ -99,9 +99,26 @@ public interface Patch
*/
public String apply() throws PatchException;
/**
* Apply the patch, regardless of the deferred flag. So if the patch has not
* run due to it being deferred earlier then this will run it now. Also
* ignores the "applied" lock. So the patch can be executed many times.
*
* @return the patch report
* @throws PatchException if the patch failed to be applied
*/
public String applyAsync() throws PatchException;
/**
* Is this patch just ignored - never considered for application
* @return
*/
public boolean isIgnored();
/**
* Indicates whether the patch must be deferred (not to be executed in bootstrap) or not
*
* @return true if the patch must be deferred, false otherwise
*/
public boolean isDeferred();
}