public class UpgradeDocumentLibrary
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess.Alterable, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterColumnName, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterColumnType, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterTableAddColumn, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterTableDropColumn| 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 boolean |
hasFileEntry(long groupId,
long folderId,
String fileName)
Deprecated.
As of Wilberforce (7.0.x), replaced by
hasFileEntry(long, long, long, String, String) |
protected void |
updateFileEntryFileNames() |
protected void |
updateFileEntryTypeDDMStructureLinks() |
protected void |
updateFileEntryTypeFileEntryTypeKeys()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
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() |
alter, clearIndexesCache, getIndexesSQL, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTableprotected 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
Exception@Deprecated
protected boolean hasFileEntry(long groupId,
long folderId,
String fileName)
throws Exception
hasFileEntry(long, long, long, String, String)Exceptionprotected void updateFileEntryFileNames()
throws Exception
Exceptionprotected void updateFileEntryTypeDDMStructureLinks()
throws Exception
Exception@Deprecated
protected void updateFileEntryTypeFileEntryTypeKeys()
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