Author: michiel
Date: 2010-03-16 10:13:37 +0100 (Tue, 16 Mar 2010)
New Revision: 41394
Modified:
mmbase/trunk/core/src/main/java/org/mmbase/bridge/implementation/BasicTransaction.java
Log:
I made getAccount public, because I needed the unique name. That is not very
clear. I added 'getId' with javadoc, which is better.
Modified:
mmbase/trunk/core/src/main/java/org/mmbase/bridge/implementation/BasicTransaction.java
===================================================================
---
mmbase/trunk/core/src/main/java/org/mmbase/bridge/implementation/BasicTransaction.java
2010-03-16 09:12:40 UTC (rev 41393)
+++
mmbase/trunk/core/src/main/java/org/mmbase/bridge/implementation/BasicTransaction.java
2010-03-16 09:13:37 UTC (rev 41394)
@@ -97,15 +97,23 @@
}
}
- /**
- */
+
@Override
- public String getAccount() {
+ String getAccount() {
// should be something different than for normal clouds, so use the
transaction-name
return transactionName;
}
/**
+ * Returns the unique ID used for this transaction. The {...@link #getName
transaction name} may not be unique, because different users,
+ * may have transactions with the same name.
+ * @since MMBase-1.9.3
+ */
+ public String getId() {
+ return transactionName;
+ }
+
+ /**
* @since MMBase-1.9
*/
public NodeList getNodes() {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs