mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Patch application on startup reports progress
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
package org.alfresco.repo.admin.patch;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.repo.domain.AppliedPatch;
|
||||
@@ -45,10 +46,29 @@ public interface PatchDaoService
|
||||
*/
|
||||
public AppliedPatch getAppliedPatch(String id);
|
||||
|
||||
/**
|
||||
* Detaches the given instance from the persistence engine. This will
|
||||
* ensure that any changes made to the java object do not get persisted,
|
||||
* allowing the objects to be passed out to external clients without any
|
||||
* concern of their lifecycle.
|
||||
*
|
||||
* @param appliedPatch the object to detach from persistence
|
||||
*/
|
||||
public void detach(AppliedPatch appliedPatch);
|
||||
|
||||
/**
|
||||
* Get a list of all applied patches
|
||||
*
|
||||
* @return Returns a list of all applied patches
|
||||
*/
|
||||
public List<AppliedPatch> getAppliedPatches();
|
||||
|
||||
/**
|
||||
* Get a list of all patches applied between the given dates
|
||||
*
|
||||
* @param from the lower date limit or null to ignore
|
||||
* @param to the upper date limit or null to ignore
|
||||
* @return Returns all applied patches
|
||||
*/
|
||||
public List<AppliedPatch> getAppliedPatches(Date from, Date to);
|
||||
}
|
||||
|
Reference in New Issue
Block a user