com.safeidentity.adminservice.dao.rdb
Class DeployUtil

java.lang.Object
  extended bycom.safeidentity.adminservice.dao.rdb.DeployUtil

public class DeployUtil
extends java.lang.Object


Field Summary
static java.lang.String DEPLOY_LEN_COL
           
static java.lang.String DEPLOY_LEN_DATE
           
static java.lang.String DEPLOY_LEN_DESCR
           
static java.lang.String DEPLOY_LEN_HOST
           
static java.lang.String DEPLOY_LEN_ID
           
static java.lang.String DEPLOY_LEN_KEY
           
static java.lang.String DEPLOY_LEN_MAX
           
static java.lang.String DEPLOY_LEN_PWD
           
static java.lang.String DEPLOYFILE_EXEC_SQL
           
static java.lang.String DEPLOYFILE_MODIFY_TABLE
           
static java.lang.String DEPLOYFILE_REPOSITORY_TYPE
           
static java.lang.String DEPLOYFILE_UNEXEC_SQL
           
static java.lang.String REPOSITORY_TYPE_POLICY_REPOSITORY
           
static java.lang.String REPOSITORY_TYPE_USER_REPOSITORY
           
static java.lang.String SQL_CHAR
           
static java.lang.String SQL_CONSTRAINT
           
static java.lang.String SQL_DEFAULT
           
static java.lang.String SQL_INTEGER
           
static java.lang.String SQL_NOT_NULL
           
static java.lang.String SQL_PRIMARY_KEY
           
static java.lang.String SQL_UNIQUE
           
static java.lang.String SQL_VARCHAR
           
 
Constructor Summary
DeployUtil()
           
 
Method Summary
static void DeploySchema(java.sql.Connection con, int productType, Display m_displayResult, java.util.Locale locale, boolean isPR, java.lang.String strRootValue)
           
static int diffSchema(java.sql.Connection con, int productType, Display display, java.util.Locale locale, boolean isPR)
           
static java.lang.String getDeployScript(int productType, boolean isPR)
           
static boolean isUnDeployable(java.util.Vector tableNameList, int productType, boolean isPR)
           
static void unDeploySchema(java.sql.Connection con, int productType, Display m_displayResult, java.util.Locale locale, boolean isPR)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPOSITORY_TYPE_USER_REPOSITORY

public static final java.lang.String REPOSITORY_TYPE_USER_REPOSITORY
See Also:
Constant Field Values

REPOSITORY_TYPE_POLICY_REPOSITORY

public static final java.lang.String REPOSITORY_TYPE_POLICY_REPOSITORY
See Also:
Constant Field Values

DEPLOYFILE_REPOSITORY_TYPE

public static final java.lang.String DEPLOYFILE_REPOSITORY_TYPE
See Also:
Constant Field Values

DEPLOYFILE_MODIFY_TABLE

public static final java.lang.String DEPLOYFILE_MODIFY_TABLE
See Also:
Constant Field Values

DEPLOYFILE_EXEC_SQL

public static final java.lang.String DEPLOYFILE_EXEC_SQL
See Also:
Constant Field Values

DEPLOYFILE_UNEXEC_SQL

public static final java.lang.String DEPLOYFILE_UNEXEC_SQL
See Also:
Constant Field Values

SQL_NOT_NULL

public static final java.lang.String SQL_NOT_NULL
See Also:
Constant Field Values

SQL_CONSTRAINT

public static final java.lang.String SQL_CONSTRAINT
See Also:
Constant Field Values

SQL_PRIMARY_KEY

public static final java.lang.String SQL_PRIMARY_KEY
See Also:
Constant Field Values

SQL_UNIQUE

public static final java.lang.String SQL_UNIQUE
See Also:
Constant Field Values

SQL_DEFAULT

public static final java.lang.String SQL_DEFAULT
See Also:
Constant Field Values

SQL_VARCHAR

public static final java.lang.String SQL_VARCHAR
See Also:
Constant Field Values

SQL_INTEGER

public static final java.lang.String SQL_INTEGER
See Also:
Constant Field Values

SQL_CHAR

public static final java.lang.String SQL_CHAR
See Also:
Constant Field Values

DEPLOY_LEN_ID

public static final java.lang.String DEPLOY_LEN_ID
See Also:
Constant Field Values

DEPLOY_LEN_PWD

public static final java.lang.String DEPLOY_LEN_PWD
See Also:
Constant Field Values

DEPLOY_LEN_DATE

public static final java.lang.String DEPLOY_LEN_DATE
See Also:
Constant Field Values

DEPLOY_LEN_COL

public static final java.lang.String DEPLOY_LEN_COL
See Also:
Constant Field Values

DEPLOY_LEN_DESCR

public static final java.lang.String DEPLOY_LEN_DESCR
See Also:
Constant Field Values

DEPLOY_LEN_HOST

public static final java.lang.String DEPLOY_LEN_HOST
See Also:
Constant Field Values

DEPLOY_LEN_KEY

public static final java.lang.String DEPLOY_LEN_KEY
See Also:
Constant Field Values

DEPLOY_LEN_MAX

public static final java.lang.String DEPLOY_LEN_MAX
See Also:
Constant Field Values
Constructor Detail

DeployUtil

public DeployUtil()
Method Detail

getDeployScript

public static final java.lang.String getDeployScript(int productType,
                                                     boolean isPR)
                                              throws java.io.FileNotFoundException,
                                                     java.io.IOException,
                                                     SFDeployException
Throws:
java.io.FileNotFoundException
java.io.IOException
SFDeployException

DeploySchema

public static final void DeploySchema(java.sql.Connection con,
                                      int productType,
                                      Display m_displayResult,
                                      java.util.Locale locale,
                                      boolean isPR,
                                      java.lang.String strRootValue)
                               throws java.sql.SQLException,
                                      java.io.FileNotFoundException,
                                      java.io.IOException,
                                      SFDeployException
Throws:
java.sql.SQLException
java.io.FileNotFoundException
java.io.IOException
SFDeployException

unDeploySchema

public static final void unDeploySchema(java.sql.Connection con,
                                        int productType,
                                        Display m_displayResult,
                                        java.util.Locale locale,
                                        boolean isPR)
                                 throws java.sql.SQLException,
                                        java.io.FileNotFoundException,
                                        java.io.IOException,
                                        SFDeployException
Throws:
java.sql.SQLException
java.io.FileNotFoundException
java.io.IOException
SFDeployException

diffSchema

public static int diffSchema(java.sql.Connection con,
                             int productType,
                             Display display,
                             java.util.Locale locale,
                             boolean isPR)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

isUnDeployable

public static boolean isUnDeployable(java.util.Vector tableNameList,
                                     int productType,
                                     boolean isPR)


Copyright © 2004 SoftForum Corp. All Rights Reserved.