Class DBResourceUtil

java.lang.Object
com.liferay.portal.kernel.db.DBResourceUtil

public class DBResourceUtil extends Object
Author:
Mariano Álvaro Sáiz
  • Constructor Details

    • DBResourceUtil

      public DBResourceUtil()
  • Method Details

    • getLiferayTableNames

      public static Set<String> getLiferayTableNames(Connection connection) throws Exception
      Throws:
      Exception
    • getModuleIndexesSQL

      public static String getModuleIndexesSQL(org.osgi.framework.Bundle bundle)
    • getModuleSequencesSQL

      public static String getModuleSequencesSQL(org.osgi.framework.Bundle bundle)
    • getModuleTableNames

      public static Set<String> getModuleTableNames()
    • getModuleTablesPrimaryKeyColumnNames

      public static Map<String,String[]> getModuleTablesPrimaryKeyColumnNames(org.osgi.framework.Bundle bundle)
    • getModuleTablesSQL

      public static String getModuleTablesSQL(org.osgi.framework.Bundle bundle)
    • getNonserviceBuilderPrimaryKeyColumnNames

      public static Map<String,String[]> getNonserviceBuilderPrimaryKeyColumnNames(long companyId) throws PortalException
      Throws:
      PortalException
    • getNonserviceBuilderTableNames

      public static List<String> getNonserviceBuilderTableNames(long companyId) throws PortalException
      Throws:
      PortalException
    • getPortalIndexesSQL

      public static String getPortalIndexesSQL()
    • getPortalTableNames

      public static Set<String> getPortalTableNames()
    • getPortalTablesPrimaryKeyColumnNames

      public static Map<String,String[]> getPortalTablesPrimaryKeyColumnNames()
    • getPortalTablesSQL

      public static String getPortalTablesSQL()
    • getServiceComponentModuleColumnDefinitionsMap

      public static Map<String,List<String>> getServiceComponentModuleColumnDefinitionsMap(Connection connection) throws Exception
      Throws:
      Exception
    • getServiceComponentModuleTableNames

      public static Set<String> getServiceComponentModuleTableNames(Connection connection) throws Exception
      Throws:
      Exception
    • getServiceComponentPortalColumnDefinitionsMap

      public static Map<String,List<String>> getServiceComponentPortalColumnDefinitionsMap(Connection connection) throws Exception
      Throws:
      Exception
    • getServiceComponentPortalTableNames

      public static Set<String> getServiceComponentPortalTableNames(Connection connection) throws Exception
      Throws:
      Exception
    • parseCreateTableSQL

      public static Set<String> parseCreateTableSQL(String createTableSQL)