public class CreateTable
extends java.lang.Object
| Constructor and Description | 
|---|
| CreateTable() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | checkTbExistance(java.sql.Connection conn,
                java.lang.String tbname)This method is called from outside of this class (from Field
 validation of Craete Table GUI - End point field) | 
| java.lang.String | createChosenInterfaceTables(UserInfo userInfo,
                           java.util.List<java.lang.String> ifaceTbNames,
                           java.util.List<java.lang.String> chosenEndPoints,
                           java.util.List<java.lang.String> chosenBackup)Deprecated. 
 Create interface tables per list at specified destinations (end points) | 
| java.lang.String | createChosenInterfaceTables(UserInfo userInfo,
                           java.util.List<java.lang.String> ifaceTbNames,
                           java.util.List<java.lang.String> chosenEndPoints,
                           java.util.List<java.lang.String> chosenBackup,
                           MboSetRemote mboSetRemote)Create interface tables per list at specified destinations (end points) | 
| static CreateTable | getInstance()Get Instance of this singleton object | 
public static CreateTable getInstance()
public java.lang.String createChosenInterfaceTables(UserInfo userInfo, java.util.List<java.lang.String> ifaceTbNames, java.util.List<java.lang.String> chosenEndPoints, java.util.List<java.lang.String> chosenBackup, MboSetRemote mboSetRemote) throws java.lang.Exception
userInfo - User Information (typically coming in that of UI user)ifaceTbNames - List of interface tables to be createdchosenEndPoints - End points or Destinations for table creationchosenBackup - back up (rename) option before creating already existing tablejava.lang.Exceptionpublic boolean checkTbExistance(java.sql.Connection conn,
                                java.lang.String tbname)
                         throws java.lang.Exception
conn - Connection to the database on which table needs to get checkedtbname - table name to be checkedjava.lang.Exceptionpublic java.lang.String createChosenInterfaceTables(UserInfo userInfo, java.util.List<java.lang.String> ifaceTbNames, java.util.List<java.lang.String> chosenEndPoints, java.util.List<java.lang.String> chosenBackup) throws java.lang.Exception
userInfo - User Information (typically coming in that of UI user)ifaceTbNames - List of interface tables to be createdchosenEndPoints - End points or Destinations for table creationchosenBackup - back up (rename) option before creating already existing tablejava.lang.Exception