Interface DLTrashLocalService
- All Superinterfaces:
BaseLocalService
- All Known Implementing Classes:
DLTrashLocalServiceWrapper
@CTAware
@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.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionReturns the OSGi service identifier.moveFileEntryFromTrash
(long userId, long repositoryId, long fileEntryId, long newFolderId, ServiceContext serviceContext) moveFileEntryToTrash
(long userId, long repositoryId, long fileEntryId) void
restoreFileEntryFromTrash
(long userId, long repositoryId, long fileEntryId)
-
Method Details
-
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
-