IDEMPIERE-462 Ticket #1001503: Credit Cards Online - make the payment processor fields configurable - revert the use of IGridTab
This commit is contained in:
parent
fcce5918dd
commit
baa32c9952
|
@ -45,7 +45,7 @@ public interface Callout
|
||||||
* @return Error message or ""
|
* @return Error message or ""
|
||||||
*/
|
*/
|
||||||
public String start (Properties ctx, String method, int WindowNo,
|
public String start (Properties ctx, String method, int WindowNo,
|
||||||
IGridTab mTab, GridField mField, Object value, Object oldValue);
|
GridTab mTab, GridField mField, Object value, Object oldValue);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Conversion Rules.
|
* Conversion Rules.
|
||||||
|
|
|
@ -49,7 +49,7 @@ public class CalloutEngine implements Callout
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
protected CLogger log = CLogger.getCLogger(getClass());
|
protected CLogger log = CLogger.getCLogger(getClass());
|
||||||
private IGridTab m_mTab;
|
private GridTab m_mTab;
|
||||||
private GridField m_mField;
|
private GridField m_mField;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -70,7 +70,7 @@ public class CalloutEngine implements Callout
|
||||||
* @return Error message or ""
|
* @return Error message or ""
|
||||||
*/
|
*/
|
||||||
public String start (Properties ctx, String methodName, int WindowNo,
|
public String start (Properties ctx, String methodName, int WindowNo,
|
||||||
IGridTab mTab, GridField mField, Object value, Object oldValue)
|
GridTab mTab, GridField mField, Object value, Object oldValue)
|
||||||
{
|
{
|
||||||
if (methodName == null || methodName.length() == 0)
|
if (methodName == null || methodName.length() == 0)
|
||||||
throw new IllegalArgumentException ("No Method Name");
|
throw new IllegalArgumentException ("No Method Name");
|
||||||
|
@ -267,7 +267,7 @@ public class CalloutEngine implements Callout
|
||||||
*
|
*
|
||||||
* @return gridTab
|
* @return gridTab
|
||||||
*/
|
*/
|
||||||
public IGridTab getGridTab()
|
public GridTab getGridTab()
|
||||||
{
|
{
|
||||||
return m_mTab;
|
return m_mTab;
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@ import org.compiere.util.ValueNamePair;
|
||||||
* @author Paul Bowden, phib BF 2900767 Zoom to child tab - inefficient queries
|
* @author Paul Bowden, phib BF 2900767 Zoom to child tab - inefficient queries
|
||||||
* @see https://sourceforge.net/tracker/?func=detail&aid=2900767&group_id=176962&atid=879332
|
* @see https://sourceforge.net/tracker/?func=detail&aid=2900767&group_id=176962&atid=879332
|
||||||
*/
|
*/
|
||||||
public class GridTab implements IGridTab, DataStatusListener, Evaluatee, Serializable
|
public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
/******************************************************************************
|
|
||||||
* Copyright (C) 2012 Elaine Tan *
|
|
||||||
* Copyright (C) 2012 Trek Global
|
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
|
||||||
* under the terms version 2 of the GNU General Public License as published *
|
|
||||||
* by the Free Software Foundation. This program is distributed in the hope *
|
|
||||||
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
|
|
||||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
|
||||||
* See the GNU General Public License for more details. *
|
|
||||||
* You should have received a copy of the GNU General Public License along *
|
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc., *
|
|
||||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
|
||||||
*****************************************************************************/
|
|
||||||
package org.compiere.model;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Elaine
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public interface IGridTab {
|
|
||||||
public String setValue(String columnName, Object value);
|
|
||||||
public String setValue(GridField field, Object value);
|
|
||||||
public Object getValue(String columnName);
|
|
||||||
public Object getValue(GridField field);
|
|
||||||
|
|
||||||
public String[] getActiveCallouts();
|
|
||||||
public Callout[] getActiveCalloutInstance();
|
|
||||||
|
|
||||||
public String processCallout(GridField field);
|
|
||||||
}
|
|
Loading…
Reference in New Issue