SipgateDeleteContactService.ktAnnotations : author, Autowired, Service, micromata
Classes : SipgateDeleteContactService
Fonctions (1) : deleteContact
Propriétés (1) : persistenceService
Importations : 3 paquetages
Paquetage : org.projectforge.business.sipgate
package org.projectforge.business.sipgate
import org.projectforge.framework.persistence.jpa.PfPersistenceService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service
/**
* Utilisé par AddressDao si les adresses sont forcées d'être supprimées.
* @author K. Reinhard (k.reinhard@micromata.de)
*/
@Service
class SipgateDeleteContactService {
@Autowired
private lateinit var persistenceService: PfPersistenceService
fun deleteContact(addressId: Long) {
persistenceService.runInTransaction { ctx ->
ctx.executeNamedUpdate(
SipgateContactSyncDO.DELETE_BY_ADDRESS_ID,
Pair("addressId", addressId),
)
}
}
}
868d6abb7 2025 -> 2026 b7861b2ff Adresses : suppression forcée corrigée (après migration mgc) : entrées et attributs sipgate-contacts et historique.