Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service
Interface DLTrashLocalService

All Superinterfaces:
BaseLocalService
All Known Implementing Classes:
DLTrashLocalServiceWrapper

@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface DLTrashLocalService
extends BaseLocalService

Provides the local service interface for DLTrash. 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:
DLTrashLocalServiceUtil, com.liferay.portlet.documentlibrary.service.base.DLTrashLocalServiceBaseImpl, com.liferay.portlet.documentlibrary.service.impl.DLTrashLocalServiceImpl

Method Summary
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 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)
           
 

Method Detail

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

moveFileEntryFromTrash

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

moveFileEntryToTrash

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

restoreFileEntryFromTrash

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

Liferay 7.0-ce-b4