You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2005/03/07 22:56:39 UTC

svn commit: r156452 - lenya/trunk/src/java/org/apache/lenya/cms/workflow/WorkflowManager.java

Author: andreas
Date: Mon Mar  7 13:56:38 2005
New Revision: 156452

URL: http://svn.apache.org/viewcvs?view=rev&rev=156452
Log:
simplified method names

Modified:
    lenya/trunk/src/java/org/apache/lenya/cms/workflow/WorkflowManager.java

Modified: lenya/trunk/src/java/org/apache/lenya/cms/workflow/WorkflowManager.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/workflow/WorkflowManager.java?view=diff&r1=156451&r2=156452
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/workflow/WorkflowManager.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/workflow/WorkflowManager.java Mon Mar  7 13:56:38 2005
@@ -17,7 +17,6 @@
 package org.apache.lenya.cms.workflow;
 
 import org.apache.lenya.cms.publication.Document;
-import org.apache.lenya.cms.publication.PublicationException;
 import org.apache.lenya.cms.publication.util.DocumentSet;
 import org.apache.lenya.workflow.WorkflowException;
 
@@ -70,7 +69,7 @@
      *             <code>true</code> and a document does not support the
      *             workflow event.
      */
-    void invokeOnAll(DocumentSet documentSet, String event, boolean force) throws WorkflowException;
+    void invoke(DocumentSet documentSet, String event, boolean force) throws WorkflowException;
 
     /**
      * Checks if an event can be invoked on a document.
@@ -86,7 +85,7 @@
      * @param event The event.
      * @return if an error occurs.
      */
-    boolean canInvokeOnAll(DocumentSet documents, String event);
+    boolean canInvoke(DocumentSet documents, String event);
 
     /**
      * Copies the workflow history from one document to another.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org