public class RepositoryTrashImpl
extends java.lang.Object
implements com.liferay.portal.kernel.repository.util.RepositoryTrash
| Constructor and Description |
|---|
RepositoryTrashImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portal.kernel.repository.model.FileEntry |
moveFileEntryFromTrash(long userId,
long repositoryId,
long fileEntryId,
long newFolderId,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.repository.model.FileEntry |
moveFileEntryToTrash(long userId,
long repositoryId,
long fileEntryId) |
void |
restoreFileEntryFromTrash(long userId,
long repositoryId,
long fileEntryId) |
public com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryFromTrash(long userId,
long repositoryId,
long fileEntryId,
long newFolderId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
moveFileEntryFromTrash in interface com.liferay.portal.kernel.repository.util.RepositoryTrashcom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryToTrash(long userId,
long repositoryId,
long fileEntryId)
throws com.liferay.portal.kernel.exception.PortalException
moveFileEntryToTrash in interface com.liferay.portal.kernel.repository.util.RepositoryTrashcom.liferay.portal.kernel.exception.PortalExceptionpublic void restoreFileEntryFromTrash(long userId,
long repositoryId,
long fileEntryId)
throws com.liferay.portal.kernel.exception.PortalException
restoreFileEntryFromTrash in interface com.liferay.portal.kernel.repository.util.RepositoryTrashcom.liferay.portal.kernel.exception.PortalException