mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user