class EcmFileServiceImpl implements ApplicationEventPublisherAware, EcmFileService {

    @Override
    @AcmAcquireAndReleaseObjectLock(objectIdArgIndex = 0, objectType = "FILE", lockType = "DELETE")
    public void deleteFile(Long objectId) throws AcmUserActionFailedException, AcmObjectNotFoundException
    {
        deleteFile(objectId, true);
    }

}