public class UpgradeDocumentLibrary
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
| Constructor and Description |
|---|
UpgradeDocumentLibrary() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClassName(long classNameId,
String className) |
protected void |
addDDMStructureLink(long ddmStructureLinkId,
long classNameId,
long classPK,
long ddmStructureId) |
protected void |
doUpgrade() |
protected boolean |
hasFileEntry(long groupId,
long folderId,
long fileEntryId,
String title,
String fileName) |
protected void |
updateFileEntryFileNames() |
protected void |
updateFileEntryTypeDDMStructureLinks() |
protected void |
updateFileEntryTypeNamesAndDescriptions() |
protected void |
updateFileEntryTypeNamesAndDescriptions(long companyId,
long groupId) |
protected void |
updateFileEntryTypeNamesAndDescriptions(long companyId,
long groupId,
String dlFileEntryTypeKey,
String nameLanguageKey) |
protected void |
updateFileEntryTypeNamesAndDescriptions(long companyId,
long dlFileEntryTypeId,
String nameLanguageKey,
String nameXML,
String descriptionXML) |
protected void |
updateFileEntryTypeNamesAndDescriptions(long fileEntryTypeId,
String nameXML,
String descriptionXML,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
Locale defaultLocale) |
protected void |
updateFileVersionFileName(long fileVersionId,
String fileName) |
protected void |
updateFileVersionFileNames() |
protected void |
updateRepositoryClassNameIds() |
addTempIndex, clearIndexesCache, ensureTableExists, getConnection, getIndexesSQL, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgrade, upgradeaddIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, doHasTable, dropIndexes, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateStringprotected void addClassName(long classNameId,
String className)
throws Exception
Exceptionprotected void addDDMStructureLink(long ddmStructureLinkId,
long classNameId,
long classPK,
long ddmStructureId)
throws Exception
Exceptionprotected void doUpgrade()
throws Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessExceptionprotected boolean hasFileEntry(long groupId,
long folderId,
long fileEntryId,
String title,
String fileName)
throws Exception
Exceptionprotected void updateFileEntryFileNames()
throws Exception
Exceptionprotected void updateFileEntryTypeDDMStructureLinks()
throws Exception
Exceptionprotected void updateFileEntryTypeNamesAndDescriptions()
throws Exception
Exceptionprotected void updateFileEntryTypeNamesAndDescriptions(long companyId,
long groupId)
throws Exception
Exceptionprotected void updateFileEntryTypeNamesAndDescriptions(long companyId,
long groupId,
String dlFileEntryTypeKey,
String nameLanguageKey)
throws Exception
Exceptionprotected void updateFileEntryTypeNamesAndDescriptions(long companyId,
long dlFileEntryTypeId,
String nameLanguageKey,
String nameXML,
String descriptionXML)
throws Exception
Exceptionprotected void updateFileEntryTypeNamesAndDescriptions(long fileEntryTypeId,
String nameXML,
String descriptionXML,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
Locale defaultLocale)
throws Exception
Exceptionprotected void updateFileVersionFileName(long fileVersionId,
String fileName)
throws Exception
Exceptionprotected void updateFileVersionFileNames()
throws Exception
Exceptionprotected void updateRepositoryClassNameIds()
throws Exception
Exception