-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.0 EE (6.0.10)
-
Fix Version/s: 6.0 EE SP1 (6.0.11)
-
Component/s: DM, Performance
-
Labels:None
The mechanism used to keep track of recent documents is not accurate when the system is under heavy load.
To fix this issue, DLFileRank/DLFileRankLocalService has been refactored to be based on a fileEntryId instead of a folderId and name.
API CHANGES:
Class: com.liferay.portlet.documentlibrary.model.DLFileRankModel
Method: getFolderId()
Status: Deleted
New method: getFileEntryId()
Method: setFolderId(long folderId)
Status: Deleted
New method: setFileEntryId(long fileEntryId)
Method: getName()
Status: Deleted
New method: getFileEntryId()
Method: setName(String name)
Status: Deleted
New method: setFileEntryId(long fileEntryId)
Class: com.liferay.portlet.documentlibrary.model.DLFileRankSoap
Method: getFolderId()
Status: Deleted
New method: getFileEntryId()
Method: setFolderId(long folderId)
Status: Deleted
New method: setFileEntryId(long fileEntryId)
Method: getName()
Status: Deleted
New method: getFileEntryId()
Method: setName(String name)
Status: Deleted
New method: setFileEntryId(long fileEntryId)
Class: com.liferay.portlet.documentlibrary.model.DLFileRankWrapper
Method: getFolderId()
Status: Deleted
New method: getFileEntryId()
Method: setFolderId(long folderId)
Status: Deleted
New method: setFileEntryId(long fileEntryId)
Method: getName()
Status: Deleted
New method: getFileEntryId()
Method: setName(String name)
Status: Deleted
New method: setFileEntryId(long fileEntryId)
Class: com.liferay.portlet.documentlibrary.service.DLFileRankLocalService
Method: addFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext)
Status: Deprecated
New method: addFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
Method: deleteFileRanks(long userId)
Status: Deleted
New method: deleteFileRanksByUserId(long userId)
Method: deleteFileRanks(long folderId, String name)
Status: Deleted
New method: deleteFileRanksByFileEntryId(long fileEntryId)
Method: updateFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext)
Status: Deprecated
New method: updateFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
Class: com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceUtil
Method: addFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext)
Status: Deprecated
New method: addFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
Method: deleteFileRanks(long userId)
Status: Deleted
New method: deleteFileRanksByUserId(long userId)
Method: deleteFileRanks(long folderId, String name)
Status: Deleted
New method: deleteFileRanksByFileEntryId(long fileEntryId)
Method: updateFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext)
Status: Deprecated
New method: updateFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
Class: com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceWrapper
Method: addFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext)
Status: Deprecated
New method: addFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
Method: deleteFileRanks(long userId)
Status: Deleted
New method: deleteFileRanksByUserId(long userId)
Method: deleteFileRanks(long folderId, String name)
Status: Deleted
New method: deleteFileRanksByFileEntryId(long fileEntryId)
Method: updateFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext)
Status: Deprecated
New method: updateFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
- is related to
-
LPS-14030 DLFileRank to be based on fileEntryId
-
- Closed
-