public boolean canManagePublishing(PublishedDocument publishedDocument) {
   if (!accept(publishedDocument)) {
     return false;
   }
   return factory.canManagePublishing(publishedDocument);
 }
 public PublishedDocument wrapToPublishedDocument(DocumentModel documentModel) {
   return factory.wrapDocumentModel(documentModel);
 }
 public boolean hasValidationTask(PublishedDocument publishedDocument) {
   if (!accept(publishedDocument)) {
     return false;
   }
   return factory.hasValidationTask(publishedDocument);
 }
 public void validatorRejectPublication(PublishedDocument publishedDocument, String comment) {
   if (!accept(publishedDocument)) {
     return;
   }
   factory.validatorRejectPublication(publishedDocument, comment);
 }
 public void validatorPublishDocument(PublishedDocument publishedDocument, String comment) {
   if (!accept(publishedDocument)) {
     return;
   }
   factory.validatorPublishDocument(publishedDocument, comment);
 }
 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);
 }