Added TODOs around initialization of ScheduledPersistedActionService

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31309 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2011-10-18 11:23:06 +00:00
parent fc258f3e00
commit 4f9a0bd812

View File

@@ -76,6 +76,7 @@ public class ScheduledPersistedActionServiceImpl implements ScheduledPersistedAc
protected static final String JOB_SCHEDULE_NODEREF = "ScheduleNodeRef"; protected static final String JOB_SCHEDULE_NODEREF = "ScheduleNodeRef";
protected static final String JOB_ACTION_NODEREF = "ActionNodeRef"; protected static final String JOB_ACTION_NODEREF = "ActionNodeRef";
// TODO: Should be private NodeRef scheduledActionRootNodeRef;
protected static NodeRef SCHEDULED_ACTION_ROOT_NODE_REF; protected static NodeRef SCHEDULED_ACTION_ROOT_NODE_REF;
protected static final Set<QName> ACTION_TYPES = new HashSet<QName>(Arrays protected static final Set<QName> ACTION_TYPES = new HashSet<QName>(Arrays
@@ -123,6 +124,9 @@ public class ScheduledPersistedActionServiceImpl implements ScheduledPersistedAc
protected void locatePersistanceFolder() protected void locatePersistanceFolder()
{ {
// TODO: Use SearchService.selectNodes(repositoryHelper.getCompanyHome(), "/app:dictionary/Scheduled Actions");
// Log error if result not found
// Log warning if multiple results found
List<ChildAssociationRef> dictionaryAssocs = startupNodeService.getChildAssocs( List<ChildAssociationRef> dictionaryAssocs = startupNodeService.getChildAssocs(
repositoryHelper.getCompanyHome(), repositoryHelper.getCompanyHome(),
ContentModel.ASSOC_CONTAINS, ContentModel.ASSOC_CONTAINS,