Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service
Class DLTrashLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLTrashLocalServiceUtil

@ProviderType
public class DLTrashLocalServiceUtil
extends Object

Provides the local service utility for DLTrash. This utility wraps DLTrashLocalServiceImpl and is the primary 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.

See Also:
DLTrashLocalService, DLTrashLocalServiceBaseImpl, DLTrashLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
DLTrashLocalServiceUtil()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLTrashLocalServiceUtil

public DLTrashLocalServiceUtil()
Method Detail

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

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

getService

public static DLTrashLocalService getService()

Liferay 7.0-ce-b4