com.liferay.portal.upgrade.v6_1_0
Class UpgradeDocumentLibrary
java.lang.Object
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v6_1_0.UpgradeDocumentLibrary
public class UpgradeDocumentLibrary
- extends com.liferay.portal.kernel.upgrade.UpgradeProcess
- Author:
- Brian Wing Shun Chan, Douglas Wong, Alexander Chow, Minhchau Dang
|
Method Summary |
protected void |
addSync(long syncId,
long companyId,
java.sql.Date createDate,
java.sql.Date modifiedDate,
long fileId,
long repositoryId,
long parentFolderId,
java.lang.String event,
java.lang.String type)
|
protected void |
doUpgrade()
|
protected long |
getFileEntryId(long groupId,
long folderId,
java.lang.String name)
|
protected long |
getGroupId(long folderId)
|
protected void |
updateFileEntries()
|
protected void |
updateFileRanks()
|
protected void |
updateFileShortcuts()
|
protected void |
updateFileVersions()
|
protected void |
updateLocks()
|
protected void |
updateSyncs()
|
protected void |
updateThumbnails()
|
protected void |
updateThumbnails(long fileEntryId)
|
| Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, runSQL, runSQL, runSQLTemplate, runSQLTemplate, tableHasColumn, tableHasData, upgrade, upgrade, upgrade |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeDocumentLibrary
public UpgradeDocumentLibrary()
addSync
protected void addSync(long syncId,
long companyId,
java.sql.Date createDate,
java.sql.Date modifiedDate,
long fileId,
long repositoryId,
long parentFolderId,
java.lang.String event,
java.lang.String type)
throws java.lang.Exception
- Throws:
java.lang.Exception
doUpgrade
protected void doUpgrade()
throws java.lang.Exception
- Overrides:
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcess
- Throws:
java.lang.Exception
getFileEntryId
protected long getFileEntryId(long groupId,
long folderId,
java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
getGroupId
protected long getGroupId(long folderId)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateFileEntries
protected void updateFileEntries()
throws java.lang.Exception
- Throws:
java.lang.Exception
updateFileRanks
protected void updateFileRanks()
throws java.lang.Exception
- Throws:
java.lang.Exception
updateFileShortcuts
protected void updateFileShortcuts()
throws java.lang.Exception
- Throws:
java.lang.Exception
updateFileVersions
protected void updateFileVersions()
throws java.lang.Exception
- Throws:
java.lang.Exception
updateLocks
protected void updateLocks()
throws java.lang.Exception
- Throws:
java.lang.Exception
updateSyncs
protected void updateSyncs()
throws java.lang.Exception
- Throws:
java.lang.Exception
updateThumbnails
protected void updateThumbnails()
throws java.lang.Exception
- Throws:
java.lang.Exception
updateThumbnails
protected void updateThumbnails(long fileEntryId)
throws java.lang.Exception
- Throws:
java.lang.Exception