activity.setPublishedDate(now.plusHours(4).toDate());
activityStreamService.addActivity(activity);
}
protected void createDocumentsWithBender() throws ClientException {
DocumentModel workspacesDocument = session.getDocument(new PathRef(
"/default-domain/workspaces"));
ACP acp = workspacesDocument.getACP();
ACL acl = acp.getOrCreateACL();
acl.add(new ACE("Bender", EVERYTHING, true));
acl.add(new ACE("Leela", READ, true));