Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-3856

Refactored DLFileVersion to be based on fileEntryId

    Details

      Description

      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.DLFileVersionModel

      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.DLFileVersionSoap

      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.DLFileVersionWrapper

      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.DLFileVersionLocalService

      Method: getFileVersion(long groupId, long folderId, String name, String version)
      Status: Deprecated
      New method: getFileVersion(long fileEntryId, String version)

      Method: getFileVersions(long groupId, long folderId, String name, int status)
      Status: Deprecated
      New method: getFileVersions(long fileEntryId, int status)

      Method: getLatestFileVersion(long groupId, long folderId, String name)
      Status: Deprecated
      New method: getLatestFileVersion(long fileEntryId)

      Class: com.liferay.portlet.documentlibrary.service.DLFileVersionLocalServiceUtil

      Method: getFileVersion(long groupId, long folderId, String name, String version)
      Status: Deprecated
      New method: getFileVersion(long fileEntryId, String version)

      Method: getFileVersions(long groupId, long folderId, String name, int status)
      Status: Deprecated
      New method: getFileVersions(long fileEntryId, int status)

      Method: getLatestFileVersion(long groupId, long folderId, String name)
      Status: Deprecated
      New method: getLatestFileVersion(long fileEntryId)

      Class: com.liferay.portlet.documentlibrary.service.DLFileVersionLocalServiceWrapper

      Method: getFileVersion(long groupId, long folderId, String name, String version)
      Status: Deprecated
      New method: getFileVersion(long fileEntryId, String version)

      Method: getFileVersions(long groupId, long folderId, String name, int status)
      Status: Deprecated
      New method: getFileVersions(long fileEntryId, int status)

      Method: getLatestFileVersion(long groupId, long folderId, String name)
      Status: Deprecated
      New method: getLatestFileVersion(long fileEntryId)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samuel.kong Samuel Kong
              Reporter:
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  6.0 EE SP1 (6.0.11)