Class FileEntryUtil
Object
com.liferay.portlet.documentlibrary.lar.FileEntryUtil
- Author:
- Alexander Chow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.portal.kernel.repository.model.FileEntry
fetchByPrimaryKey
(long fileEntryId) static com.liferay.portal.kernel.repository.model.FileEntry
fetchByR_F_FN
(long repositoryId, long folderId, String fileName) static com.liferay.portal.kernel.repository.model.FileEntry
fetchByR_F_T
(long repositoryId, long folderId, String title) static com.liferay.portal.kernel.repository.model.FileEntry
fetchByUUID_R
(String uuid, long repositoryId) static InputStream
getContentStream
(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
-
Constructor Details
-
FileEntryUtil
public FileEntryUtil()
-
-
Method Details
-
fetchByPrimaryKey
public static com.liferay.portal.kernel.repository.model.FileEntry fetchByPrimaryKey(long fileEntryId) -
fetchByR_F_FN
public static com.liferay.portal.kernel.repository.model.FileEntry fetchByR_F_FN(long repositoryId, long folderId, String fileName) -
fetchByR_F_T
public static com.liferay.portal.kernel.repository.model.FileEntry fetchByR_F_T(long repositoryId, long folderId, String title) -
fetchByUUID_R
public static com.liferay.portal.kernel.repository.model.FileEntry fetchByUUID_R(String uuid, long repositoryId) -
getContentStream
public static InputStream getContentStream(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-