Package mops.businesslogic.directory
Class DeleteServiceImpl
- java.lang.Object
-
- mops.businesslogic.directory.DeleteServiceImpl
-
- All Implemented Interfaces:
DeleteService
@Service public class DeleteServiceImpl extends java.lang.Object implements DeleteService
Handles directory and file deletion.
-
-
Constructor Summary
Constructors Constructor Description DeleteServiceImpl(FileService fileService, FileInfoService fileInfoService, DirectoryService directoryService, PermissionService permissionService, SecurityService securityService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Directory
deleteFolder(Account account, long dirId)
Deletes folder recursively.
-
-
-
Constructor Detail
-
DeleteServiceImpl
public DeleteServiceImpl(FileService fileService, FileInfoService fileInfoService, DirectoryService directoryService, PermissionService permissionService, SecurityService securityService)
-
-
Method Detail
-
deleteFolder
@Transactional public Directory deleteFolder(Account account, long dirId) throws MopsException
Deletes folder recursively.- Specified by:
deleteFolder
in interfaceDeleteService
- Parameters:
account
- user credentialsdirId
- id of the folder- Returns:
- parent directory
- Throws:
MopsException
-
-