mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-4346 - Start on the scheduled persisted actions service implementation
Tests are only stubbed out for now git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -86,14 +86,14 @@ public class ReplicationDefinitionPersisterImpl implements ReplicationDefinition
|
||||
|
||||
List<ChildAssociationRef> childAssocs = nodeService.getChildAssocs(REPLICATION_ACTION_ROOT_NODE_REF, ACTION_TYPES);
|
||||
|
||||
List<ReplicationDefinition> renderingActions = new ArrayList<ReplicationDefinition>(childAssocs.size());
|
||||
List<ReplicationDefinition> replicationActions = new ArrayList<ReplicationDefinition>(childAssocs.size());
|
||||
for (ChildAssociationRef actionAssoc : childAssocs)
|
||||
{
|
||||
Action nextAction = runtimeActionService.createAction(actionAssoc.getChildRef());
|
||||
renderingActions.add(new ReplicationDefinitionImpl(nextAction));
|
||||
replicationActions.add(new ReplicationDefinitionImpl(nextAction));
|
||||
}
|
||||
|
||||
return renderingActions;
|
||||
return replicationActions;
|
||||
}
|
||||
|
||||
public List<ReplicationDefinition> loadReplicationDefinitions(String targetName)
|
||||
|
Reference in New Issue
Block a user