List of usage examples for com.liferay.portal.kernel.repository LocalRepository getFolder
public Folder getFolder(long folderId) throws PortalException;
From source file:com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.java
License:Open Source License
/** * Returns the folder with the primary key. * * @param folderId the primary key of the folder * @return the folder with the primary key * @throws PortalException if the folder could not be found * @throws SystemException if a system exception occurred */// www . j ava 2 s . c o m public Folder getFolder(long folderId) throws PortalException, SystemException { LocalRepository localRepository = getLocalRepository(folderId, 0, 0); return localRepository.getFolder(folderId); }