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
This commit is contained in:
Carlos Ruiz 2010-04-24 04:58:31 +00:00
parent 0ec48efce4
commit b1fce8d658
1 changed files with 16 additions and 4 deletions

View File

@ -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 * Load Constructor
* @param ctx context * @param ctx context
* @param AD_Org_ID id * @param AD_Org_ID id
* @return Org Info * @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) 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) public MOrgInfo (Properties ctx, ResultSet rs, String trxName)
{ {
super(ctx, rs, trxName); super(ctx, rs, trxName);
} } // MOrgInfo
/** /**
* Organization constructor * Organization constructor
@ -86,6 +98,6 @@ public class MOrgInfo extends X_AD_OrgInfo
setClientOrg(org); setClientOrg(org);
setDUNS ("?"); setDUNS ("?");
setTaxID ("?"); setTaxID ("?");
} } // MOrgInfo
} }