From b1fce8d6587818db43fa8ef2bb53e4c9c604ddb0 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sat, 24 Apr 2010 04:58:31 +0000 Subject: [PATCH] FR [2990358] - Extend Initial Tenant setup - fix MOrgInfo, add deprecated getter, restore comments Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2990358 --- base/src/org/compiere/model/MOrgInfo.java | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/base/src/org/compiere/model/MOrgInfo.java b/base/src/org/compiere/model/MOrgInfo.java index f96f8c81f0..23293be168 100644 --- a/base/src/org/compiere/model/MOrgInfo.java +++ b/base/src/org/compiere/model/MOrgInfo.java @@ -35,14 +35,26 @@ public class MOrgInfo extends X_AD_OrgInfo /** * */ - private static final long serialVersionUID = 2079223595471129816L; - + private static final long serialVersionUID = 2496591466841600079L; /** * Load Constructor * @param ctx context * @param AD_Org_ID id * @return Org Info + * @deprecated + */ + public static MOrgInfo get (Properties ctx, int AD_Org_ID) + { + return get(ctx, AD_Org_ID, null); + } // get + + /** + * Load Constructor + * @param ctx context + * @param AD_Org_ID id + * @param trxName + * @return Org Info */ public static MOrgInfo get (Properties ctx, int AD_Org_ID, String trxName) { @@ -74,7 +86,7 @@ public class MOrgInfo extends X_AD_OrgInfo public MOrgInfo (Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); - } + } // MOrgInfo /** * Organization constructor @@ -86,6 +98,6 @@ public class MOrgInfo extends X_AD_OrgInfo setClientOrg(org); setDUNS ("?"); setTaxID ("?"); - } + } // MOrgInfo }