protected Object getDefinitionSourceImpl(String pdvid, boolean fromCompilationVersion, boolean shouldBeObjectResult) throws Exception{
ProcessDefinitionVersionRepositoryHomeLocal pdvhr = GlobalContext.createProcessDefinitionVersionRepositoryHomeLocal(tc);
ProcessDefinitionVersionRepositoryLocal pdvr;
try{
pdvr = pdvhr.findByPrimaryKey(new Long(pdvid));
}catch(ObjectNotFoundException onfe){
throw new UEngineException("No such Process Definition version id [" + pdvid + "]", onfe);
}
String def = (String)pdvr.getFilePath();