public PublishedDocument publish(
     DocumentModel doc, PublicationNode targetNode, Map<String, String> params) {
   return factory.publishDocument(doc, targetNode, params);
 }
 public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode) {
   return factory.publishDocument(doc, targetNode);
 }