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,
java.lang.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,
java.lang.String title,
java.lang.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,
java.lang.String dlFileEntryTypeKey,
java.lang.String nameLanguageKey) |
protected void |
updateFileEntryTypeNamesAndDescriptions(long companyId,
long dlFileEntryTypeId,
java.lang.String nameLanguageKey,
java.lang.String nameXML,
java.lang.String descriptionXML) |
protected void |
updateFileEntryTypeNamesAndDescriptions(long fileEntryTypeId,
java.lang.String nameXML,
java.lang.String descriptionXML,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale) |
protected void |
updateFileVersionFileName(long fileVersionId,
java.lang.String fileName) |
protected void |
updateFileVersionFileNames() |
protected void |
updateRepositoryClassNameIds() |
addTemporaryIndex, clearIndexesCache, ensureTableExists, getIndexesSQL, getPostUpgradeSteps, getPreUpgradeSteps, getTableColumnsMap, getTableName, getThreshold, getUpgradeSteps, 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, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateStringprotected void addClassName(long classNameId,
java.lang.String className)
throws java.lang.Exception
java.lang.Exceptionprotected void addDDMStructureLink(long ddmStructureLinkId,
long classNameId,
long classPK,
long ddmStructureId)
throws java.lang.Exception
java.lang.Exceptionprotected void doUpgrade()
throws java.lang.Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessjava.lang.Exceptionprotected boolean hasFileEntry(long groupId,
long folderId,
long fileEntryId,
java.lang.String title,
java.lang.String fileName)
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileEntryFileNames()
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileEntryTypeDDMStructureLinks()
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileEntryTypeNamesAndDescriptions()
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileEntryTypeNamesAndDescriptions(long companyId,
long groupId)
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileEntryTypeNamesAndDescriptions(long companyId,
long groupId,
java.lang.String dlFileEntryTypeKey,
java.lang.String nameLanguageKey)
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileEntryTypeNamesAndDescriptions(long companyId,
long dlFileEntryTypeId,
java.lang.String nameLanguageKey,
java.lang.String nameXML,
java.lang.String descriptionXML)
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileEntryTypeNamesAndDescriptions(long fileEntryTypeId,
java.lang.String nameXML,
java.lang.String descriptionXML,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileVersionFileName(long fileVersionId,
java.lang.String fileName)
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileVersionFileNames()
throws java.lang.Exception
java.lang.Exceptionprotected void updateRepositoryClassNameIds()
throws java.lang.Exception
java.lang.Exception