Allow Context Aware quartz jobs, and start to implement scheduled persisted actions using this (ALF-4346)

Also update ScheduledPersistedActionService to fetch the persisted folder in a cleaner way, and start on tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21844 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-08-17 15:13:56 +00:00
parent e0372702d3
commit 177d2f46da
7 changed files with 217 additions and 43 deletions

View File

@@ -21,6 +21,7 @@ package org.alfresco.service.cmr.action.scheduled;
import java.util.Date;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
/**
* The scheduling wrapper around a persisted
@@ -35,6 +36,9 @@ public interface ScheduledPersistedAction
/** Get the action which the schedule applies to */
public Action getAction();
/** Get the persisted {@link NodeRef} of the action this applies to */
public NodeRef getActionNodeRef();
/**
* Get the first date that the action should be run
* on or after, or null if it should start shortly