pub = PublicationUtil.getPublication(this.manager, request);
} catch (Exception e) {
throw new AccessControlException(e);
}
Session session = RepositoryUtil.getSession(this.manager, request);
DocumentFactory map = DocumentUtil.createDocumentFactory(this.manager, session);
Document document = map.get(pub, area, documentId, language);
if (getLogger().isDebugEnabled()) {
getLogger().debug(" Invoking workflow event");
}
WorkflowUtil.invoke(this.manager, session, getLogger(), document, eventName);