public void saveIdentityCardType(IdentityCardTypeWs cardTypeWs) throws ExceptionDAO {
if (cardTypeWs == null) {
return;
}
FacadeDB.getInstance().startTransaction();
IdentityCardType cardType = FacadeDB.getInstance().getIdentityCardBroker().getIdentityCardTypeByName(cardTypeWs.getName());
if (cardType == null) {
cardType = new IdentityCardType();
cardType.setDescription(cardTypeWs.getName());
FacadeDB.getInstance().getIdentityCardBroker().save(cardType);
IdentityCardTypeRemote cardTypeRemote = new IdentityCardTypeRemote(cardType);
cardTypeRemote.setRemoteId(cardTypeWs.getId());
FacadeDB.getInstance().getIdentityCardTypeSyncBroker().saveIdentityCardTypeRemote(cardTypeRemote);
} else {