public class DLTrashLocalServiceUtil
extends Object
com.liferay.portlet.documentlibrary.service.impl.DLTrashLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.DLTrashLocalService
Constructor and Description |
---|
DLTrashLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static DLTrashLocalService |
getService() |
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) |
public static String getOSGiServiceIdentifier()
public static FileEntry moveFileEntryFromTrash(long userId, long repositoryId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException
PortalException
public static FileEntry moveFileEntryToTrash(long userId, long repositoryId, long fileEntryId) throws PortalException
PortalException
public static void restoreFileEntryFromTrash(long userId, long repositoryId, long fileEntryId) throws PortalException
PortalException
public static DLTrashLocalService getService()