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 |
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, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
protected void addClassName(long classNameId, String className) throws Exception
Exception
protected void addDDMStructureLink(long ddmStructureLinkId, long classNameId, long classPK, long ddmStructureId) throws Exception
Exception
protected void doUpgrade() throws Exception
doUpgrade
in class com.liferay.portal.kernel.upgrade.UpgradeProcess
Exception
protected 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)
Exception
protected void updateFileEntryFileNames() throws Exception
Exception
protected void updateFileEntryTypeDDMStructureLinks() throws Exception
Exception
protected void updateFileEntryTypeNamesAndDescriptions() throws Exception
Exception
protected void updateFileEntryTypeNamesAndDescriptions(long companyId, long groupId) throws Exception
Exception
protected void updateFileEntryTypeNamesAndDescriptions(long companyId, long groupId, String dlFileEntryTypeKey, String nameLanguageKey) throws Exception
Exception
protected void updateFileEntryTypeNamesAndDescriptions(long companyId, long dlFileEntryTypeId, String nameLanguageKey, String nameXML, String descriptionXML) throws Exception
Exception
protected void updateFileEntryTypeNamesAndDescriptions(long fileEntryTypeId, String nameXML, String descriptionXML, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, Locale defaultLocale) throws Exception
Exception
protected void updateFileVersionFileName(long fileVersionId, String fileName) throws Exception
Exception
protected void updateFileVersionFileNames() throws Exception
Exception
protected void updateRepositoryClassNameIds() throws Exception
Exception