com.liferay.portal.repository.util
Class RepositoryTrashImpl
java.lang.Object
com.liferay.portal.repository.util.RepositoryTrashImpl
- All Implemented Interfaces:
- RepositoryTrash
public class RepositoryTrashImpl
- extends Object
- implements RepositoryTrash
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryTrashImpl
public RepositoryTrashImpl()
moveFileEntryFromTrash
public FileEntry moveFileEntryFromTrash(long userId,
long repositoryId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
- Specified by:
moveFileEntryFromTrash in interface RepositoryTrash
- Throws:
PortalException
moveFileEntryToTrash
public FileEntry moveFileEntryToTrash(long userId,
long repositoryId,
long fileEntryId)
throws PortalException
- Specified by:
moveFileEntryToTrash in interface RepositoryTrash
- Throws:
PortalException
restoreFileEntryFromTrash
public void restoreFileEntryFromTrash(long userId,
long repositoryId,
long fileEntryId)
throws PortalException
- Specified by:
restoreFileEntryFromTrash in interface RepositoryTrash
- Throws:
PortalException
validateCapability
protected void validateCapability(LocalRepository localRepository)
throws InvalidRepositoryException
- Throws:
InvalidRepositoryException