diff --git a/interfaces/src/org/compiere/interfaces/Server.java b/interfaces/src/org/compiere/interfaces/Server.java index 7f0d2b17c1..124269f45d 100644 --- a/interfaces/src/org/compiere/interfaces/Server.java +++ b/interfaces/src/org/compiere/interfaces/Server.java @@ -159,4 +159,18 @@ public interface Server public java.lang.String getStatus( ) throws java.rmi.RemoteException; + /** + * Commit the named transaction on server + * @param trxName + * @return true if success, false otherwise */ + public boolean commit( java.lang.String trxName ) + throws java.rmi.RemoteException; + + /** + * Rollback the named transaction on server + * @param trxName + * @return true if success, false otherwise */ + public boolean rollback( java.lang.String trxName ) + throws java.rmi.RemoteException; + } diff --git a/interfaces/src/org/compiere/interfaces/ServerLocal.java b/interfaces/src/org/compiere/interfaces/ServerLocal.java index 3b6387e9eb..05682678bd 100644 --- a/interfaces/src/org/compiere/interfaces/ServerLocal.java +++ b/interfaces/src/org/compiere/interfaces/ServerLocal.java @@ -142,4 +142,16 @@ public interface ServerLocal * @return Debugging information about the instance and its content */ public java.lang.String getStatus( ) ; + /** + * Commit the named transaction on server + * @param trxName + * @return true if success, false otherwise */ + public boolean commit( java.lang.String trxName ) ; + + /** + * Rollback the named transaction on server + * @param trxName + * @return true if success, false otherwise */ + public boolean rollback( java.lang.String trxName ) ; + }