com.liferay.portlet.documentlibrary.lar
Class FolderUtil

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

public class FolderUtil
extends LiferayBase

Author:
Alexander Chow

Constructor Summary
FolderUtil()
           
 
Method Summary
static com.liferay.portal.kernel.repository.model.Folder fetchByR_P_N(long groupId, long parentFolderId, java.lang.String name)
           
static com.liferay.portal.kernel.repository.model.Folder fetchByUUID_R(java.lang.String uuid, long repositoryId)
           
static com.liferay.portal.kernel.repository.model.Folder findByPrimaryKey(long folderId)
           
static java.util.List<com.liferay.portal.kernel.repository.model.Folder> findByR_P(long repositoryId, long parentFolderId)
           
static java.util.List<com.liferay.portal.kernel.repository.model.Folder> findByRepositoryId(long repositoryId)
           
 
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

FolderUtil

public FolderUtil()
Method Detail

fetchByR_P_N

public static com.liferay.portal.kernel.repository.model.Folder fetchByR_P_N(long groupId,
                                                                             long parentFolderId,
                                                                             java.lang.String name)
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByUUID_R

public static com.liferay.portal.kernel.repository.model.Folder fetchByUUID_R(java.lang.String uuid,
                                                                              long repositoryId)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

public static com.liferay.portal.kernel.repository.model.Folder findByPrimaryKey(long folderId)
                                                                          throws com.liferay.portal.kernel.exception.SystemException,
                                                                                 com.liferay.portlet.documentlibrary.NoSuchFolderException
Throws:
com.liferay.portal.kernel.exception.SystemException
com.liferay.portlet.documentlibrary.NoSuchFolderException

findByR_P

public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> findByR_P(long repositoryId,
                                                                                          long parentFolderId)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByRepositoryId

public static java.util.List<com.liferay.portal.kernel.repository.model.Folder> findByRepositoryId(long repositoryId)
                                                                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException