public class UpgradeDocumentLibrary
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
| Constructor and Description |
|---|
UpgradeDocumentLibrary() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDDMStructureLink(long ddmStructureLinkId,
long classNameId,
long classPK,
long ddmStructureId) |
protected void |
doUpgrade() |
protected boolean |
hasFileEntry(long groupId,
long folderId,
java.lang.String fileName) |
protected void |
updateFileEntryFileName(long fileEntryId,
java.lang.String fileName) |
protected void |
updateFileEntryFileNames() |
protected void |
updateFileEntryTitle(long fileEntryId,
java.lang.String title,
java.lang.String version) |
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() |
doHasTable, getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTableprotected 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,
java.lang.String fileName)
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileEntryFileName(long fileEntryId,
java.lang.String fileName)
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileEntryFileNames()
throws java.lang.Exception
java.lang.Exceptionprotected void updateFileEntryTitle(long fileEntryId,
java.lang.String title,
java.lang.String version)
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