merged 1.1 branch into head
[mir.git] / source / mircoders / localizer / MirOpenPostingLocalizer.java
index fccebe3..875309d 100755 (executable)
@@ -53,11 +53,19 @@ public interface MirOpenPostingLocalizer {
   /**
    * This method will be called after an article is posted via the open posting interface.
    */
-  public void afterContentPosting(EntityContent aContent) throws MirLocalizerExc, MirLocalizerFailure;
+  public void afterArticlePosting(EntityContent anArticle) throws MirLocalizerExc, MirLocalizerFailure;
 
   /**
    *
    */
 
   public List getAntiAbuseFilterTypes() throws MirLocalizerExc, MirLocalizerFailure;
+
+  /**
+   * This method should return <code>true</code> if the article should be visible
+   * to "open posting" users. This method is used to determine whether the request
+   * for a pdf, or an email for the article should be allowed. It is however
+   * <emph>not</emph> used by default by the production subsystem
+   */
+  public boolean allowArticlePublication(EntityContent anArticle);
 }