Add support to the HTML Rendering Engine for outputting the embedded images to the same folder as the html file, rather than the default of a subfolder, and tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23017 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-10-11 13:37:04 +00:00
parent 4a320906ca
commit 0fe90a6d1a
3 changed files with 190 additions and 29 deletions

View File

@@ -149,6 +149,14 @@ public class RenditionDefinitionPersisterImpl implements RenditionDefinitionPers
runtimeActionService.saveActionImpl(actionNodeRef, renderingAction);
}
public void deleteRenditionDefinition(RenditionDefinition renderingAction)
{
NodeRef actionNodeRef = findOrCreateActionNode(renderingAction);
if(actionNodeRef != null) {
nodeService.deleteNode(actionNodeRef);
}
}
private NodeRef findActionNode(QName renditionDefinitionName)
{
checkRenderingActionRootNodeExists();