Uses of Class
diegosneves.github.conectardoacoes.core.exception.ShelterServiceFailureException
Packages that use ShelterServiceFailureException
-
Uses of ShelterServiceFailureException in diegosneves.github.conectardoacoes.core.service
Methods in diegosneves.github.conectardoacoes.core.service that throw ShelterServiceFailureExceptionModifier and TypeMethodDescriptionvoidShelterService.addDonation(String shelterId, Donation donation) Este método é responsável por adicionar umaDonationa umShelterContractespecífico, identificado por seu id.voidShelterServiceContract.addDonation(String shelterId, Donation donation) Adiciona uma nova doação ao abrigo.voidShelterService.changeAddress(String shelterId, Address address) Este método é usado para alterar o endereço do abrigo identificado pelo ID fornecido.voidShelterServiceContract.changeAddress(String shelterId, Address address) Muda o endereço de um abrigo existente.voidShelterService.changeShelterName(String shelterId, String newName) Este método é usado para alterar o nome do abrigo identificado pelo ID fornecido.voidShelterServiceContract.changeShelterName(String shelterId, String newName) Muda o nome de um abrigo existente.ShelterService.getDonations(String shelterId) Este método é responsável por recuperar a lista deDonationde umShelterContractespecífico, identificado por seu id.ShelterServiceContract.getDonations(String shelterId) Busca a lista de todas asDonationde um determinado abrigo.ShelterService.getShelter(String shelterId) Retorna um objetoShelterContractbaseado no ID do abrigo fornecido.ShelterServiceContract.getShelter(String shelterId) Obtém os detalhes de um abrigo existente.private static voidShelterService.validateShelterId(String shelterId) Valida o ID do abrigo fornecido.