Class DeleteFileService

  • All Implemented Interfaces:
    IService

    public class DeleteFileService
    extends Object
    implements IService
    This DeleteFileService is used to provide a service to delete files and folders from the file system.
    Since:
    9.3
    Author:
    M. Naberink, T. Middeldorp
    • Constructor Detail

      • DeleteFileService

        public DeleteFileService()
    • Method Detail

      • handle

        public IServiceResult handle​(IServiceContext context)
                              throws ServiceException
        Delete a file based on a connectionName and fileID
        Specified by:
        handle in interface IService
        Parameters:
        context - the context in which the service is called and allowed to make changes.
        Returns:
        The result of this service, may be null.
        Throws:
        ServiceException - When an expected exception occurs and the portal should display certain messages.