Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)

75082: Merged WAT2 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      73269: Renamed ContentReadEvent to ContentEventImpl


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@75410 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Will Abson
2014-07-01 15:31:01 +00:00
parent 3bd6b5aedc
commit 6fd997a096
2 changed files with 7 additions and 6 deletions

View File

@@ -49,7 +49,8 @@ import javax.xml.datatype.DatatypeFactory;
import org.alfresco.cmis.CMISDictionaryModel;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.events.types.ContentReadEvent;
import org.alfresco.events.types.ContentEvent;
import org.alfresco.events.types.ContentEventImpl;
import org.alfresco.events.types.ContentReadRangeEvent;
import org.alfresco.events.types.Event;
import org.alfresco.model.ContentModel;
@@ -1725,7 +1726,7 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
}
else
{
return new ContentReadEvent(ContentReadEvent.DOWNLOAD, user, networkId, transactionId,
return new ContentEventImpl(ContentEvent.DOWNLOAD, user, networkId, transactionId,
nodeRef.getId(), null, nodeType.toString(), Client.cmis, mimeType, contentSize, encoding);
}
}