Package com.liferay.portal.kernel.db
Class DBResourceUtil
java.lang.Object
com.liferay.portal.kernel.db.DBResourceUtil
- Author:
- Mariano Álvaro Sáiz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLiferayTableNames(Connection connection) static StringgetModuleIndexesSQL(org.osgi.framework.Bundle bundle) static StringgetModuleSequencesSQL(org.osgi.framework.Bundle bundle) getModuleTablesPrimaryKeyColumnNames(org.osgi.framework.Bundle bundle) static StringgetModuleTablesSQL(org.osgi.framework.Bundle bundle) getNonserviceBuilderPrimaryKeyColumnNames(long companyId) getNonserviceBuilderTableNames(long companyId) static Stringstatic StringgetServiceComponentModuleTableNames(Connection connection) getServiceComponentPortalTableNames(Connection connection) parseCreateTableSQL(String createTableSQL)
-
Constructor Details
-
DBResourceUtil
public DBResourceUtil()
-
-
Method Details
-
getLiferayTableNames
- Throws:
Exception
-
getModuleIndexesSQL
-
getModuleSequencesSQL
-
getModuleTableNames
-
getModuleTablesPrimaryKeyColumnNames
-
getModuleTablesSQL
-
getNonserviceBuilderPrimaryKeyColumnNames
public static Map<String,String[]> getNonserviceBuilderPrimaryKeyColumnNames(long companyId) throws PortalException - Throws:
PortalException
-
getNonserviceBuilderTableNames
- Throws:
PortalException
-
getPortalIndexesSQL
-
getPortalTableNames
-
getPortalTablesPrimaryKeyColumnNames
-
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
-