Fixed more nested transactionally wrapped call problems. I'm not happy with this

as a solution.  It should hold water for a while.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3741 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-09 00:43:05 +00:00
parent c8a0c38baf
commit 61394bda4e

View File

@@ -77,7 +77,7 @@ public class OutputUtil
nodeService.getProperty(caf.getParentRef(), ContentModel.PROP_NAME);
LOGGER.debug("computed avm path " + PARENT_AVM_PATH + "/" + parentName);
final String result = PARENT_AVM_PATH + "/" + parentName;
AVMService avmService = AVMContext.fgInstance.getAVMService();
AVMService avmService = (AVMService)AVMContext.fgInstance.fAppContext.getBean("avmService");
try
{
avmService.lookup(-1, result);
@@ -138,7 +138,7 @@ public class OutputUtil
fileNodeRef.toString());
}
AVMService avmService = AVMContext.fgInstance.getAVMService();
AVMService avmService = (AVMService)AVMContext.fgInstance.fAppContext.getBean("avmService");
final String parentAVMPath = getAVMParentPath(createdNode, nodeService);
try
{
@@ -204,7 +204,7 @@ public class OutputUtil
LOGGER.debug("generated " + fileName + " using " + tom);
AVMService avmService = AVMContext.fgInstance.getAVMService();
AVMService avmService = (AVMService)AVMContext.fgInstance.fAppContext.getBean("avmService");
final String parentAVMPath = getAVMParentPath(nodeRef, nodeService);
try
{