com.liferay.portlet.documentlibrary.lar
Class FileEntryUtil
java.lang.Object
com.liferay.portal.repository.liferayrepository.util.LiferayBase
com.liferay.portlet.documentlibrary.lar.FileEntryUtil
public class FileEntryUtil
- extends LiferayBase
- Author:
- Alexander Chow
|
Method Summary |
static com.liferay.portal.kernel.repository.model.FileEntry |
fetchByPrimaryKey(long fileEntryId)
|
static com.liferay.portal.kernel.repository.model.FileEntry |
fetchByR_F_T(long repositoryId,
long folderId,
java.lang.String title)
|
static com.liferay.portal.kernel.repository.model.FileEntry |
fetchByUUID_R(java.lang.String uuid,
long repositoryId)
|
static com.liferay.portal.kernel.repository.model.FileEntry |
findByR_F_T(long repositoryId,
long folderId,
java.lang.String title)
|
static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
findByR_F(long repositoryId,
long folderId)
|
static java.io.InputStream |
getContentStream(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileEntryUtil
public FileEntryUtil()
fetchByPrimaryKey
public static com.liferay.portal.kernel.repository.model.FileEntry fetchByPrimaryKey(long fileEntryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByR_F_T
public static com.liferay.portal.kernel.repository.model.FileEntry fetchByR_F_T(long repositoryId,
long folderId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByUUID_R
public static com.liferay.portal.kernel.repository.model.FileEntry fetchByUUID_R(java.lang.String uuid,
long repositoryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByR_F
public static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> findByR_F(long repositoryId,
long folderId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByR_F_T
public static com.liferay.portal.kernel.repository.model.FileEntry findByR_F_T(long repositoryId,
long folderId,
java.lang.String title)
throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
com.liferay.portal.kernel.exception.SystemException
getContentStream
public static java.io.InputStream getContentStream(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException