Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.lar
Class FileEntryUtil

java.lang.Object
  extended by com.liferay.portal.repository.liferayrepository.util.LiferayBase
      extended by com.liferay.portlet.documentlibrary.lar.FileEntryUtil

public class FileEntryUtil
extends LiferayBase


Constructor Summary
FileEntryUtil()
           
 
Method Summary
static FileEntry fetchByPrimaryKey(long fileEntryId)
           
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)
           
static List<FileEntry> findByR_F(long repositoryId, long folderId)
           
static InputStream getContentStream(FileEntry fileEntry)
           
 
Methods inherited from class com.liferay.portal.repository.liferayrepository.util.LiferayBase
toFileEntries, toFileEntriesAndFolders, toFileVersions, toFolders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileEntryUtil

public FileEntryUtil()
Method Detail

fetchByPrimaryKey

public static FileEntry fetchByPrimaryKey(long fileEntryId)
                                   throws SystemException
Throws:
SystemException

fetchByR_F_T

public static FileEntry fetchByR_F_T(long repositoryId,
                                     long folderId,
                                     String title)
                              throws SystemException
Throws:
SystemException

fetchByUUID_R

public static FileEntry fetchByUUID_R(String uuid,
                                      long repositoryId)
                               throws SystemException
Throws:
SystemException

findByR_F

public static List<FileEntry> findByR_F(long repositoryId,
                                        long folderId)
                                 throws SystemException
Throws:
SystemException

findByR_F_T

public static FileEntry findByR_F_T(long repositoryId,
                                    long folderId,
                                    String title)
                             throws NoSuchFileEntryException,
                                    SystemException
Throws:
NoSuchFileEntryException
SystemException

getContentStream

public static InputStream getContentStream(FileEntry fileEntry)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3