com.liferay.portlet.documentlibrary.lar
Class FileEntryUtil
java.lang.Object
com.liferay.portlet.documentlibrary.lar.FileEntryUtil
public class FileEntryUtil
- extends Object
|
Method Summary |
static FileEntry |
fetchByPrimaryKey(long fileEntryId)
|
static FileEntry |
fetchByR_F_FN(long repositoryId,
long folderId,
String fileName)
|
static FileEntry |
fetchByR_F_T(long repositoryId,
long folderId,
String title)
|
static FileEntry |
fetchByUUID_R(String uuid,
long repositoryId)
|
static FileEntry |
findByR_F_T(long repositoryId,
long folderId,
String title)
Deprecated. As of 7.0.0, with no direct replacement |
static List<FileEntry> |
findByR_F(long repositoryId,
long folderId)
Deprecated. As of 7.0.0, with no direct replacement |
static InputStream |
getContentStream(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 FileEntry fetchByPrimaryKey(long fileEntryId)
fetchByR_F_FN
public static FileEntry fetchByR_F_FN(long repositoryId,
long folderId,
String fileName)
fetchByR_F_T
public static FileEntry fetchByR_F_T(long repositoryId,
long folderId,
String title)
fetchByUUID_R
public static FileEntry fetchByUUID_R(String uuid,
long repositoryId)
findByR_F
@Deprecated
public static List<FileEntry> findByR_F(long repositoryId,
long folderId)
- Deprecated. As of 7.0.0, with no direct replacement
findByR_F_T
@Deprecated
public static FileEntry findByR_F_T(long repositoryId,
long folderId,
String title)
throws NoSuchFileEntryException
- Deprecated. As of 7.0.0, with no direct replacement
- Throws:
NoSuchFileEntryException
getContentStream
public static InputStream getContentStream(FileEntry fileEntry)
throws PortalException
- Throws:
PortalException