[Yanel-commits] rev 57562 - public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources
michi at wyona.com
michi at wyona.com
Tue Mar 29 11:38:33 CEST 2011
Author: michi
Date: 2011-03-29 11:38:32 +0200 (Tue, 29 Mar 2011)
New Revision: 57562
Modified:
public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
Log:
javadoc and note about getWorkflowState added
Modified: public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
===================================================================
--- public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java 2011-03-29 08:45:46 UTC (rev 57561)
+++ public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java 2011-03-29 09:38:32 UTC (rev 57562)
@@ -654,9 +654,13 @@
}
}
+ /**
+ * @see org.wyona.yanel.core.api.attributes.WorkflowableV1#getWorkflowState(String)
+ */
public String getWorkflowState(String revision) throws WorkflowException {
try {
return WorkflowHelper.getWorkflowState(getRepoNode(), revision);
+ //return WorkflowHelper.getWorkflowState(this, revision); // INFO: This method cannot be used in this particular case, because getRepoNode() does not return necessarily the same node as this method uses internally!
} catch (Exception e) {
log.error(e, e);
throw new WorkflowException(e.getMessage(), e);
More information about the Yanel-commits
mailing list