com.liferay.portal.upgrade.v7_0_0
Class UpgradeDocumentLibrary
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v7_0_0.UpgradeDocumentLibrary
- All Implemented Interfaces:
- DBProcess, UpgradeStep
public class UpgradeDocumentLibrary
- extends UpgradeProcess
|
Method Summary |
protected void |
addDDMStructureLink(long ddmStructureLinkId,
long classNameId,
long classPK,
long ddmStructureId)
|
protected void |
doUpgrade()
|
protected boolean |
hasFileEntry(long groupId,
long folderId,
String fileName)
|
protected void |
updateFileEntryFileName(long fileEntryId,
String fileName)
|
protected void |
updateFileEntryFileNames()
|
protected void |
updateFileEntryTitle(long fileEntryId,
String title,
String version)
|
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()
|
| Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
getThreshold, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeDocumentLibrary
public UpgradeDocumentLibrary()
addDDMStructureLink
protected void addDDMStructureLink(long ddmStructureLinkId,
long classNameId,
long classPK,
long ddmStructureId)
throws Exception
- Throws:
Exception
doUpgrade
protected void doUpgrade()
throws Exception
- Specified by:
doUpgrade in class UpgradeProcess
- Throws:
Exception
hasFileEntry
protected boolean hasFileEntry(long groupId,
long folderId,
String fileName)
throws Exception
- Throws:
Exception
updateFileEntryFileName
protected void updateFileEntryFileName(long fileEntryId,
String fileName)
throws Exception
- Throws:
Exception
updateFileEntryFileNames
protected void updateFileEntryFileNames()
throws Exception
- Throws:
Exception
updateFileEntryTitle
protected void updateFileEntryTitle(long fileEntryId,
String title,
String version)
throws Exception
- Throws:
Exception
updateFileEntryTypeDDMStructureLinks
protected void updateFileEntryTypeDDMStructureLinks()
throws Exception
- Throws:
Exception
updateFileEntryTypeNamesAndDescriptions
protected void updateFileEntryTypeNamesAndDescriptions()
throws Exception
- Throws:
Exception
updateFileEntryTypeNamesAndDescriptions
protected void updateFileEntryTypeNamesAndDescriptions(long companyId,
long groupId)
throws Exception
- Throws:
Exception
updateFileEntryTypeNamesAndDescriptions
protected void updateFileEntryTypeNamesAndDescriptions(long companyId,
long groupId,
String dlFileEntryTypeKey,
String nameLanguageKey)
throws Exception
- Throws:
Exception
updateFileEntryTypeNamesAndDescriptions
protected void updateFileEntryTypeNamesAndDescriptions(long companyId,
long dlFileEntryTypeId,
String nameLanguageKey,
String nameXML,
String descriptionXML)
throws Exception
- Throws:
Exception
updateFileEntryTypeNamesAndDescriptions
protected void updateFileEntryTypeNamesAndDescriptions(long fileEntryTypeId,
String nameXML,
String descriptionXML,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
Locale defaultLocale)
throws Exception
- Throws:
Exception
updateFileVersionFileName
protected void updateFileVersionFileName(long fileVersionId,
String fileName)
throws Exception
- Throws:
Exception
updateFileVersionFileNames
protected void updateFileVersionFileNames()
throws Exception
- Throws:
Exception
updateRepositoryClassNameIds
protected void updateRepositoryClassNameIds()
throws Exception
- Throws:
Exception