List of usage examples for com.liferay.portal.kernel.repository LocalRepository deleteFolder
public void deleteFolder(long folderId) throws PortalException;
From source file:com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.java
License:Open Source License
/** * Deletes the folder and all of its subfolders and file entries. * * @param folderId the primary key of the folder * @throws PortalException if the folder could not be found * @throws SystemException if a system exception occurred *//* w ww . j a v a 2 s . co m*/ public void deleteFolder(long folderId) throws PortalException, SystemException { LocalRepository localRepository = getLocalRepository(folderId, 0, 0); localRepository.deleteFolder(folderId); }