Uses of Class
com.raphaelsalles.backend.domain.model.TermsOfService
Packages that use TermsOfService
Package
Description
-
Uses of TermsOfService in com.raphaelsalles.backend.api.controller
Methods in com.raphaelsalles.backend.api.controller that return types with arguments of type TermsOfServiceModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<TermsOfService> TermsController.getCurrentTerm()Retorna os Termos de Serviço atualmente ativos.org.springframework.http.ResponseEntity<TermsOfService> AdminController.publishNewTerms(TermsOfService newTerm) Publica uma nova versão dos Termos de Serviço, desativando a anterior.Methods in com.raphaelsalles.backend.api.controller with parameters of type TermsOfServiceModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<TermsOfService> AdminController.publishNewTerms(TermsOfService newTerm) Publica uma nova versão dos Termos de Serviço, desativando a anterior. -
Uses of TermsOfService in com.raphaelsalles.backend.domain.model
Fields in com.raphaelsalles.backend.domain.model declared as TermsOfServiceMethods in com.raphaelsalles.backend.domain.model that return TermsOfServiceModifier and TypeMethodDescriptionTermsOfService.TermsOfServiceBuilder.build()User.getAcceptedTerm()Methods in com.raphaelsalles.backend.domain.model with parameters of type TermsOfServiceConstructors in com.raphaelsalles.backend.domain.model with parameters of type TermsOfServiceModifierConstructorDescriptionUser(Long id, String login, String password, UserRole role, String name, LocalDateTime termsAcceptedAt, TermsOfService acceptedTerm) -
Uses of TermsOfService in com.raphaelsalles.backend.domain.repository
Subinterfaces with type arguments of type TermsOfService in com.raphaelsalles.backend.domain.repositoryModifier and TypeInterfaceDescriptioninterfaceRepositório para Termos de Serviço.Methods in com.raphaelsalles.backend.domain.repository that return types with arguments of type TermsOfServiceModifier and TypeMethodDescriptionTermsRepository.findByIsActiveTrue()Busca o termo de serviço atualmente ativo.TermsRepository.findByVersion(String version) Busca um termo de serviço por versão específica. -
Uses of TermsOfService in com.raphaelsalles.backend.domain.service.user
Methods in com.raphaelsalles.backend.domain.service.user that return TermsOfServiceModifier and TypeMethodDescriptionUserTermsService.getOrCreateInitialTerm()Obtém o termo ativo ou cria um padrão inicial se não existir.