Liferay 7.0-ce-a3

com.liferay.portal.repository.util
Class RepositoryTrashImpl

java.lang.Object
  extended by com.liferay.portal.repository.util.RepositoryTrashImpl
All Implemented Interfaces:
RepositoryTrash

public class RepositoryTrashImpl
extends Object
implements RepositoryTrash


Constructor Summary
RepositoryTrashImpl()
           
 
Method Summary
 FileEntry moveFileEntryFromTrash(long userId, long repositoryId, long fileEntryId, long newFolderId, ServiceContext serviceContext)
           
 FileEntry moveFileEntryToTrash(long userId, long repositoryId, long fileEntryId)
           
 void restoreFileEntryFromTrash(long userId, long repositoryId, long fileEntryId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryTrashImpl

public RepositoryTrashImpl()
Method Detail

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

Liferay 7.0-ce-a3