Comments for TenantService.deleteTenant
This commit is contained in:
		
							parent
							
								
									d27b4ecf8a
								
							
						
					
					
						commit
						4e3f456a4b
					
				@ -170,6 +170,11 @@ public class TenantServiceImpl extends AbstractCachedEntityService<TenantId, Ten
 | 
			
		||||
        return savedTenant;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * We intentionally leave this method without "Transactional" annotation due to complexity of the method.
 | 
			
		||||
     * Ideally we should delete related entites without "paginatedRemover" logic. But in such a case we can't clear cache and send events.
 | 
			
		||||
     * We will create separate task to make "deleteTenant" transactional.
 | 
			
		||||
     */
 | 
			
		||||
    @Override
 | 
			
		||||
    public void deleteTenant(TenantId tenantId) {
 | 
			
		||||
        log.trace("Executing deleteTenant [{}]", tenantId);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user