public interface AppliedPatchDAO
| Modifier and Type | Method and Description |
|---|---|
void |
createAppliedPatch(AppliedPatch appliedPatch)
Creates and saves a new instance of the patch.
|
AppliedPatch |
getAppliedPatch(java.lang.String id)
Retrieve an existing patch
|
java.util.List |
getAppliedPatches()
Get a list of all applied patches
|
java.util.List |
getAppliedPatches(java.util.Date from,
java.util.Date to)
Get a list of all patches applied between the given dates.
|
void |
setAppliedOnDate(java.lang.String id,
java.util.Date appliedOnDate)
Update the patch applied on date.
|
void |
updateAppliedPatch(AppliedPatch appliedPatch) |
void createAppliedPatch(AppliedPatch appliedPatch)
patchInfo - the patch ID and detailsvoid updateAppliedPatch(AppliedPatch appliedPatch)
AppliedPatch getAppliedPatch(java.lang.String id)
id - the patch unique IDjava.util.List getAppliedPatches()
java.util.List getAppliedPatches(java.util.Date from,
java.util.Date to)
from - the lower date limit or null to ignoreto - the upper date limit or null to ignorevoid setAppliedOnDate(java.lang.String id,
java.util.Date appliedOnDate)
id - the patch IDappliedOnDate - the date appliedCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.