public class UpgradeDocumentLibrary
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
| Constructor and Description |
|---|
UpgradeDocumentLibrary() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doUpgrade() |
protected String |
getUserName(long userId) |
protected String |
localize(long companyId,
String content,
String key) |
protected void |
rebuildTree(long companyId,
PreparedStatement folderPreparedStatement,
PreparedStatement fileEntryPreparedStatement,
PreparedStatement fileShortcutPreparedStatement,
PreparedStatement fileVersionPreparedStatement) |
protected void |
updateDLFolderUserName() |
protected void |
updateFileEntryType(long fileEntryTypeId,
long companyId,
String fileEntryTypeKey,
String name,
String description) |
protected void |
updateFileEntryTypes() |
protected void |
updateTreePath() |
addTemporaryIndex, clearIndexesCache, ensureTableExists, getIndexesSQL, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgrade, upgradeaddIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, doHasTable, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateStringprotected void doUpgrade()
throws Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessExceptionprotected String getUserName(long userId)
throws Exception
Exceptionprotected String localize(long companyId,
String content,
String key)
throws Exception
Exceptionprotected void rebuildTree(long companyId,
PreparedStatement folderPreparedStatement,
PreparedStatement fileEntryPreparedStatement,
PreparedStatement fileShortcutPreparedStatement,
PreparedStatement fileVersionPreparedStatement)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void updateDLFolderUserName()
throws Exception
Exceptionprotected void updateFileEntryType(long fileEntryTypeId,
long companyId,
String fileEntryTypeKey,
String name,
String description)
throws Exception
Exceptionprotected void updateFileEntryTypes()
throws Exception
Exceptionprotected void updateTreePath()