Liferay 7.0-ce-m6

com.liferay.portal.kernel.repository.util
Class RepositoryTrashUtil

java.lang.Object
  extended by com.liferay.portal.kernel.repository.util.RepositoryTrashUtil

public class RepositoryTrashUtil
extends Object


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

Constructor Detail

RepositoryTrashUtil

public RepositoryTrashUtil()
Method Detail

getRepositoryTrash

public static RepositoryTrash getRepositoryTrash()

moveFileEntryFromTrash

public static FileEntry moveFileEntryFromTrash(long userId,
                                               long repositoryId,
                                               long fileEntryId,
                                               long newFolderId,
                                               ServiceContext serviceContext)
                                        throws PortalException
Throws:
PortalException

moveFileEntryToTrash

public static FileEntry moveFileEntryToTrash(long userId,
                                             long repositoryId,
                                             long fileEntryId)
                                      throws PortalException
Throws:
PortalException

restoreFileEntryFromTrash

public static void restoreFileEntryFromTrash(long userId,
                                             long repositoryId,
                                             long fileEntryId)
                                      throws PortalException
Throws:
PortalException

setRepositoryTrash

public void setRepositoryTrash(RepositoryTrash repositoryTrash)

Liferay 7.0-ce-m6