public class RepositoryTrashUtil
extends java.lang.Object
| Constructor and Description |
|---|
RepositoryTrashUtil() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static RepositoryTrash getRepositoryTrash()
public static FileEntry moveFileEntryFromTrash(long userId, long repositoryId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static FileEntry moveFileEntryToTrash(long userId, long repositoryId, long fileEntryId) throws PortalException
PortalExceptionpublic static void restoreFileEntryFromTrash(long userId,
long repositoryId,
long fileEntryId)
throws PortalException
PortalExceptionpublic void setRepositoryTrash(RepositoryTrash repositoryTrash)